EngramaCoreStandar 1.0.9
dotnet add package EngramaCoreStandar --version 1.0.9
NuGet\Install-Package EngramaCoreStandar -Version 1.0.9
<PackageReference Include="EngramaCoreStandar" Version="1.0.9" />
<PackageVersion Include="EngramaCoreStandar" Version="1.0.9" />
<PackageReference Include="EngramaCoreStandar" />
paket add EngramaCoreStandar --version 1.0.9
#r "nuget: EngramaCoreStandar, 1.0.9"
#:package EngramaCoreStandar@1.0.9
#addin nuget:?package=EngramaCoreStandar&version=1.0.9
#tool nuget:?package=EngramaCoreStandar&version=1.0.9
Engrama Core
A comprehensive library of functions and processes designed to simplify software development. Access databases, integrate with APIs, generate documents, and handle JSON—everything required for day-to-day operations, conveniently available in a single NuGet package.
Installations
To install Engrama Core, you can use the following steps in your API .NET:
- On the Program.cs class se the next line
using EngramaCoreStandar.Extensions;
builder.Services.AddEngramaDependenciesAPI();
How to use it ?
- On your controller set the next parameter in the constructor:
[ApiController]
[Route("api/[controller]")]
public class QuickRequestController : ControllerBase
{
private readonly IDapperManagerHelper managerHelper;
public QuickRequestController(IDapperManagerHelper managerHelper)
{
this.managerHelper = managerHelper;
}
}
- In your appsettings.json file, add your connection string, or use the following one to test the code:
"ConnectionStrings": {
"EngramaCloudConnection": "Data Source=Engrama.mssql.somee.com;Initial Catalog=Engrama;User ID=MMartinez_SQLLogin_1;Password=95xodkhgxa;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False"
},
- On your endpoint set the next code to call the stored procedure in the database: This is only and exmple you use your own procedure and your own atributes.
[HttpPost("PostCallDB")]
public async Task<IActionResult> PostTestTable([FromBody] PostModelTestTable postModel)
{
//The tool need one class to send at the procedure and other class the one will receive the data. (Request and resutl)
var DAOmodel = new spGetTestTable.Request();
var result = await managerHelper.GetAllAsync<spGetTestTable.Result, spGetTestTable.Request>(DAOmodel, "");
if (result.Ok)
{
return Ok(result.Data);
}
return BadRequest(result);
}
public class PostModelTestTable
{
}
public class spGetTestTable
{
public class Request : SpRequest
{
public string StoredProcedure { get => "spGetTestTable"; }
}
public class Result : DbResult
{
public bool bResult { get; set; }
public string vchMessage { get; set; }
public int iIdTest_Table { get; set; }
public string vchName { get; set; }
public string vchEmail { get; set; }
public DateTime dtRegistered { get; set; }
}
}
Let’s get started
If you need a fully functional template, download it from our GitHub repository and start working right away.
To work with the template, follow this video: Tutorial on How to Use the Template
Documentation
Discover how Engrama Core and Engrama Tools work by following our YouTube channel. Watch our tutorials to make the most of these powerful tools Canal de Youtube Use our documentation to implement the NuGet package and take full advantage of all the tools Engrama Core offers. Engrama Documentacion
Characteristics
- Perform database queries efficiently
- Integrate with APIs seamlessly
- Send emails with ease
- Read and create Excel files effortlessly
- Implement JWT authentication securely
- Utilize robust logging mechanisms
- Read and generate PDF documents
- Use variable extensions to streamline validations and simplify functions
Engrama Tools
A web application built to fully leverage the capabilities of EngramaCore. By analyzing the database, it provides the essential code to facilitate database queries seamlessly from the service layer to the architecture layer, along with numerous additional tools and features.
🔗 Links
🛠 Skills
- C#
- SQL
- .NET Core
- Blazor (Opcional)
- Visual Studio 2022
Authors
Comments
For any questions or feedback, don't hesitate to reach out to us at engramahelper@gmail.com.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- AutoMapper (>= 12.0.1)
- Dapper (>= 2.1.66)
- Microsoft.Data.SqlClient (>= 5.2.2)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.6)
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.