A library to extended Serenity Framework.
To install this module, run the following command in your computer terminal:
dotnet add package Idevs.Net.CoreLib
Add the following code to /Initialization/Startup.cs
public void ConfigureServices(IServiceCollection services)
{
--- ommited ---
services.AddScoped<IViewPageRenderer, ViewPageRenderer>();
services.AddScoped<IIdevsPdfExporter, IdevsPdfExporter>();
services.AddScoped<IIdevsExcelExporter, IdevsExcelExporter>();
}
--- ommited ---
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
StaticServiceProvider.Provider = app.ApplicationServices;
--- ommited ---
}