EngramaCoreStandar 1.0.7
See the version list below for details.
dotnet add package EngramaCoreStandar --version 1.0.7
NuGet\Install-Package EngramaCoreStandar -Version 1.0.7
<PackageReference Include="EngramaCoreStandar" Version="1.0.7" />
<PackageVersion Include="EngramaCoreStandar" Version="1.0.7" />
<PackageReference Include="EngramaCoreStandar" />
paket add EngramaCoreStandar --version 1.0.7
#r "nuget: EngramaCoreStandar, 1.0.7"
#:package EngramaCoreStandar@1.0.7
#addin nuget:?package=EngramaCoreStandar&version=1.0.7
#tool nuget:?package=EngramaCoreStandar&version=1.0.7
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.
Instalations
To install Engrama Core in your .NET API, follow these steps
- In Program.cs, add the following line:
using EngramaCoreStandar.Extensions;
builder.Services.AddEngramaDependenciesAPI();
How to use it ?
- In your controller, add the following parameter to the constructor:
[ApiController]
[Route("api/[controller]")]
public class QuickRequestController : ControllerBase
{
private readonly IDapperManagerHelper managerHelper;
public QuickRequestController(IDapperManagerHelper managerHelper)
{
this.managerHelper = managerHelper;
}
}
- In your endpoint, add the following code to call the stored procedure in the database: This is only an example — use your own procedure and attributes.
[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; }
}
}
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.