Skip to content

stormaref/Json2ExcelMiddleware

Repository files navigation

Json2ExcelMiddleware

This middleware convert your .net controller json result to excel file without adding anything to any controller

how to add package:

using pm>

Install-Package Json2ExcelMiddleware -Version 1.2.2

how to use:

  1. first add this line of code to your startup file configure section:
app.UseJson2Excel();
  • after app.UseRouting()
  1. add this header to your http request:
x-excel:1

that's it!

it works for every kind of http request (get,post,put,etc.)

About

Simple .net standard middleware for converting any controller json result to excel file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages