Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 895 Bytes

README.md

File metadata and controls

49 lines (28 loc) · 895 Bytes

Idevs.Net5.CoreLib

A library to extended Serenity Framework 5.

Installation

To install this module, run the following command in your computer terminal:

  dotnet add package Idevs.Net5.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 ---
  }

License

MIT

Authors

Usage