Acontplus.Reports.Application
1.0.6
See the version list below for details.
dotnet add package Acontplus.Reports.Application --version 1.0.6
NuGet\Install-Package Acontplus.Reports.Application -Version 1.0.6
<PackageReference Include="Acontplus.Reports.Application" Version="1.0.6" />
paket add Acontplus.Reports.Application --version 1.0.6
#r "nuget: Acontplus.Reports.Application, 1.0.6"
// Install Acontplus.Reports.Application as a Cake Addin #addin nuget:?package=Acontplus.Reports.Application&version=1.0.6 // Install Acontplus.Reports.Application as a Cake Tool #tool nuget:?package=Acontplus.Reports.Application&version=1.0.6
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 --version 1.0.6
Package Manager Console
Install-Package Acontplus.Reports.Application -Version 1.0.6
Or update your .csproj file manually:
<PackageReference Include="Acontplus.Reports.Application" Version="1.0.5" />
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 | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Acontplus.Common.Core (>= 1.0.13)
- BarcodeLib (>= 3.1.4)
- Microsoft.Data.SqlClient (>= 5.2.2)
- Microsoft.IdentityModel.Tokens (>= 7.6.1)
- Newtonsoft.Json (>= 13.0.3)
- ReportViewerCore.NETCore (>= 15.1.23)
- System.IdentityModel.Tokens.Jwt (>= 7.6.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.