Acontplus.Reports.Application
1.1.1
See the version list below for details.
dotnet add package Acontplus.Reports.Application --version 1.1.1
NuGet\Install-Package Acontplus.Reports.Application -Version 1.1.1
<PackageReference Include="Acontplus.Reports.Application" Version="1.1.1" />
paket add Acontplus.Reports.Application --version 1.1.1
#r "nuget: Acontplus.Reports.Application, 1.1.1"
// Install Acontplus.Reports.Application as a Cake Addin #addin nuget:?package=Acontplus.Reports.Application&version=1.1.1 // Install Acontplus.Reports.Application as a Cake Tool #tool nuget:?package=Acontplus.Reports.Application&version=1.1.1
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.2)
- BarcodeLib (>= 3.1.4)
- Microsoft.AspNetCore.Http.Features (>= 5.0.17)
- Microsoft.Data.SqlClient (>= 5.2.2)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.0)
- Microsoft.IdentityModel.Tokens (>= 8.2.0)
- Newtonsoft.Json (>= 13.0.3)
- ReportViewerCore.NETCore (>= 15.1.23)
- System.IdentityModel.Tokens.Jwt (>= 8.2.0)
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.5 | 57 | 11/25/2024 | |
1.1.4 | 64 | 11/18/2024 | |
1.1.3 | 67 | 11/18/2024 | |
1.1.2 | 73 | 11/17/2024 | |
1.1.1 | 71 | 11/14/2024 | |
1.1.0 | 69 | 11/14/2024 | |
1.0.9 | 73 | 11/13/2024 | |
1.0.8 | 67 | 11/13/2024 | |
1.0.7 | 78 | 11/4/2024 | |
1.0.6 | 89 | 11/4/2024 | |
1.0.5 | 89 | 11/4/2024 | |
1.0.4 | 91 | 8/29/2024 | |
1.0.3 | 135 | 6/21/2024 | |
1.0.2 | 117 | 6/18/2024 |