The library facilitates the generation of Excel and Json based results from different providers.
Install-Package Easify.Reports
or
dotnet add package Easify.Reports
Then you can add the following code to your startup to enable reporting support in ServiceCollection
services.AddReporting();
The following interfaces should be implemented and registered with ServiceCollection
The excel output renderer expects a template to be filled in by different providers. The excel rendered tries to map a named region in the excel to a simple or composite entity. The following interfaces should be provided to enable the end to end process:
- **ITemplateProvider": This is purely for the Excel output rendering and provides the empty template for Excel containing named regions. Multiple templates can be defined to cover each report type
As each section of the report can be provided from different data source, A series of interfaces need to be implemented for each entity
- SingleSnapshotDataRenderer or CompositeSnapshotDataRenderer: Abstract classes to define how rendering needs to be done for a specific entity (T). Single is applying only one formatter and composite is required when multiple formatting is the target.
- ExcelFormatter or GroupExcelFormatter: Formatting the output including headers and rows. Group formatter is when single header is required with multiple grouped rows.
Description of the steps or process to be a contributor to the project.
Some of the best ways to contribute are to try things out, file issues, join in design conversations, and make pull-requests.
- Be an active contributor: Check out the contributing page to see the best places to log issues and start discussions.
- Roadmap: The schedule and milestone themes for project.
Security issues and bugs should be reported by creating the relevant features and bugs in issues sections