EngramaCoreStandar 1.0.9

dotnet add package EngramaCoreStandar --version 1.0.9
                    
NuGet\Install-Package EngramaCoreStandar -Version 1.0.9
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EngramaCoreStandar" Version="1.0.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EngramaCoreStandar" Version="1.0.9" />
                    
Directory.Packages.props
<PackageReference Include="EngramaCoreStandar" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EngramaCoreStandar --version 1.0.9
                    
#r "nuget: EngramaCoreStandar, 1.0.9"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package EngramaCoreStandar@1.0.9
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EngramaCoreStandar&version=1.0.9
                    
Install as a Cake Addin
#tool nuget:?package=EngramaCoreStandar&version=1.0.9
                    
Install as a Cake Tool

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.

linkedin

YouTube

🛠 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.9 60 6/27/2025
1.0.8 126 6/27/2025
1.0.7 129 6/27/2025
1.0.6 137 6/18/2025
1.0.5 163 6/14/2025
1.0.4 284 6/10/2025
1.0.3 141 6/2/2025
1.0.2 163 3/17/2025
1.0.1 143 3/17/2025
1.0.0 154 3/12/2025