Acontplus.Reports.Application
1.1.7
dotnet add package Acontplus.Reports.Application --version 1.1.7
NuGet\Install-Package Acontplus.Reports.Application -Version 1.1.7
<PackageReference Include="Acontplus.Reports.Application" Version="1.1.7" />
paket add Acontplus.Reports.Application --version 1.1.7
#r "nuget: Acontplus.Reports.Application, 1.1.7"
// Install Acontplus.Reports.Application as a Cake Addin #addin nuget:?package=Acontplus.Reports.Application&version=1.1.7 // Install Acontplus.Reports.Application as a Cake Tool #tool nuget:?package=Acontplus.Reports.Application&version=1.1.7
Acontplus.Reports.Application
Acontplus.Reports.Application is a .NET library designed to simplify the generation of RDLC (Report Definition Language Client-side) reports. It includes features for creating, exporting, and managing reports using RDLC in your .NET applications.
Features
- RDLC Report Generation: Easily create and manage RDLC reports.
- Flexible Report Export: Export reports to PDF, Excel, or other formats supported by RDLC.
- Customizable Report Templates: Use your own report templates or modify existing ones.
- Integrated with .NET Core/8.0: Fully compatible with .NET Core and .NET 8.0 applications.
Installation
You can install the package via NuGet.
.NET CLI
dotnet add package Acontplus.Reports.Application
Package Manager Console
Install-Package Acontplus.Reports.Application
Usage
1. Configure Report Service
Inject the RdlcReportService into your .NET Core application to generate reports.
using Acontplus.Reports.Application.Services;
public class ReportController : Controller
{
private readonly IRdlcReportService _reportService;
public ReportController(IRdlcReportService reportService)
{
_reportService = reportService;
}
public IActionResult GenerateReport()
{
var report = _reportService.GenerateReport("ReportPath", reportData);
return File(report, "application/pdf");
}
}
2. Add Report Files
Make sure that your RDLC files are included in your project and set to be copied to the output directory.
<ItemGroup>
<None Update="Reports\MyReport.rdlc">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
3. Export Reports
You can export the generated reports to different formats such as PDF, Excel, etc.
Export to PDF
var pdfReport = _reportService.ExportReportToPdf("ReportPath", reportData);
Export to Excel
var excelReport = _reportService.ExportReportToExcel("ReportPath", reportData);
Dependencies
- .NET 8.0 or later: Make sure you're using .NET 8.0 or higher.
- RDLC ReportViewer: The RDLC ReportViewer is required to generate and display reports.
Contributing
We welcome contributions! Please submit any issues or feature requests via our GitHub repository, or feel free to fork the project and submit pull requests.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contact
If you have any questions or need support, please feel free to contact us.
- Author: Ivan Paz
- Company: Acontplus S.A.S.
- Email: ifer343@gmail.com
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
-
net9.0
- Acontplus.Common.Core (>= 1.1.17)
- BCrypt.Net-Next (>= 4.0.3)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.0)
- Newtonsoft.Json (>= 13.0.3)
- ReportViewerCore.NETCore (>= 15.1.25)
- System.Drawing.Common (>= 9.0.0)
- ZXing.Net (>= 0.16.9)
- ZXing.Net.Bindings.SkiaSharp (>= 0.16.20)
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.1.7 | 74 | 12/20/2024 | |
1.1.6 | 93 | 11/27/2024 | |
1.1.5 | 87 | 11/25/2024 | |
1.1.4 | 84 | 11/18/2024 | |
1.1.3 | 79 | 11/18/2024 | |
1.1.2 | 89 | 11/17/2024 | |
1.1.1 | 84 | 11/14/2024 | |
1.1.0 | 81 | 11/14/2024 | |
1.0.9 | 89 | 11/13/2024 | |
1.0.8 | 85 | 11/13/2024 | |
1.0.7 | 88 | 11/4/2024 | |
1.0.6 | 99 | 11/4/2024 | |
1.0.5 | 102 | 11/4/2024 | |
1.0.4 | 98 | 8/29/2024 | |
1.0.3 | 144 | 6/21/2024 | |
1.0.2 | 124 | 6/18/2024 |