RSCG_WebAPIExports 2023.8.16.1958

dotnet add package RSCG_WebAPIExports --version 2023.8.16.1958                
NuGet\Install-Package RSCG_WebAPIExports -Version 2023.8.16.1958                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RSCG_WebAPIExports" Version="2023.8.16.1958" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RSCG_WebAPIExports --version 2023.8.16.1958                
#r "nuget: RSCG_WebAPIExports, 2023.8.16.1958"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install RSCG_WebAPIExports as a Cake Addin
#addin nuget:?package=RSCG_WebAPIExports&version=2023.8.16.1958

// Install RSCG_WebAPIExports as a Cake Tool
#tool nuget:?package=RSCG_WebAPIExports&version=2023.8.16.1958                

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="2023.8.16.1958" OutputItemType="Analyzer" ReferenceOutputAssembly="true"  />

or

<PackageReference Include="RSCG_WebAPIExports" Version="2023.8.16.1958" 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 ( 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

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

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
2023.8.16.1958 395 8/16/2023
2023.8.16.1258 237 8/16/2023
2023.8.16.1257 252 8/16/2023
2023.8.16.1256 265 8/16/2023
2023.8.16.1255 252 8/16/2023
2023.8.16.1254 263 8/15/2023
2023.8.16.1219 276 8/15/2023