Version 2.4
This version 2.4 brings code improvements, essential infrastructure and updated dependencies. Here are three new services added to infrastructure
- Excel Exporting (EPPlus)
- PDF Generation (QuestPDF)
- File Storage (Azure Blob Storage)
Excel & PDF Export
Excel and PDF exports can be seen in the online demo. The file storage service is implemented in the boilerplate even though its not set up in the demo. The ExcelExportService uses the EPPlus NuGet library to export table data. The PdfExportService uses the QuestPDF NuGet library to generate PDF files. The front-end UI projects provide samples on how to handle Excel /PDF exports.
Azure Blob Storage
The AzureBlobFileStorageService makes use of the Azure Blob Storage SDK to store files. Azure Blob Storage is one way to handle files within your application and store them in a cloud service separate from your web app. The service is set up for one storage account, with different folders for each tenant. There are methods for upload, download, list, delete, and download all files.
Other Code Improvements
Repository and application services now register with scoped lifetimes since the consensus has changed on whether to use scoped or transient is better for CRUD operations. Pagination methods retrieve data with no tracking to improve performance. By the way, if working with complex queries, I found that AsSplitQuery can greatly benefit performance.
Other minor code improvements include refactored configuration for fluent validation and the Ardalis specification extension. All of the NuGet dependencies have been updated to their latest versions.
Side Note: SaaS Project Experience
For the last few months, Nano has been getting put to the test. Here is some screenshots from a SaaS tool we're using Nano to build with. It has made development a lot easier. Get your license today and build projects faster than ever before:



