Relative Content

Tag Archive for .netasp.net-corefiledownloadrazor-pages

.Net Core Razor app file download fails on the server

I have a method to download an xlsx file. The code is in the attached image Code. This perfectly works on my local IIS. But when deploy this code on our organization’s test server, I get an HTTP ERROR 400 (image attached). How can I resolve this issue? HTTP ERROR