RSCG_WebAPIExports 2025.8.310.2000
dotnet add package RSCG_WebAPIExports --version 2025.8.310.2000
NuGet\Install-Package RSCG_WebAPIExports -Version 2025.8.310.2000
<PackageReference Include="RSCG_WebAPIExports" Version="2025.8.310.2000" />
<PackageVersion Include="RSCG_WebAPIExports" Version="2025.8.310.2000" />
<PackageReference Include="RSCG_WebAPIExports" />
paket add RSCG_WebAPIExports --version 2025.8.310.2000
#r "nuget: RSCG_WebAPIExports, 2025.8.310.2000"
#addin nuget:?package=RSCG_WebAPIExports&version=2025.8.310.2000
#tool nuget:?package=RSCG_WebAPIExports&version=2025.8.310.2000
RSCG_WebAPIExports
Add exports to file to WebAPI ( for the moment, just Excel / xlsx)
How to use in WebAPI project
Add reference to the package in the .csproj
<PackageReference Include="RSCG_WebAPIExports" Version="2025.8.310.2000" OutputItemType="Analyzer" ReferenceOutputAssembly="true" />
or
<PackageReference Include="RSCG_WebAPIExports" Version="2025.8.310.2000" OutputItemType="Analyzer" ReferenceOutputAssembly="true" />
Then in the WebAPI add
using WebApiExportToFile;
//code
// Add services to the container.
//WebApiExportToFile.AddExport(builder.Services);
builder.Services.AddExport();
var app = builder.Build();
app.UseExport();
Add to any url : .xlsx or .csv ( e.g.
for /WeatherForecast put /WeatherForecast.xlsx
for /WeatherForecast/GetPerson?id=23 put /WeatherForecast/GetPerson.xlsx?id=23
)
and the excel will be downloaded
Examples
JSON value type array: https://tiltwebapp.azurewebsites.net/api/PublicTILTs/PublicTiltsURL
Excel: https://tiltwebapp.azurewebsites.net/api/PublicTILTs/PublicTiltsURL.xlsx
JSON object array: https://tiltwebapp.azurewebsites.net/api/PublicTILTs/LatestTILTs/ignatandrei/10
Excel: https://tiltwebapp.azurewebsites.net/api/PublicTILTs/LatestTILTs/ignatandrei/10.xlsx
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- ArrayToExcel (>= 2.2.2)
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 |
---|---|---|
2025.8.310.2000 | 184 | 3/10/2025 |
2023.8.16.1958 | 415 | 8/16/2023 |
2023.8.16.1258 | 242 | 8/16/2023 |
2023.8.16.1257 | 256 | 8/16/2023 |
2023.8.16.1256 | 269 | 8/16/2023 |
2023.8.16.1255 | 256 | 8/16/2023 |
2023.8.16.1254 | 267 | 8/15/2023 |
2023.8.16.1219 | 282 | 8/15/2023 |