Hi Team,
When I try to download file using MVC controller I am always getting blank Excel file. Please let me know how to download file with the data. My requirement is to download or view the file from some path.
I have followed below Article but it is also downloading blank file. Any security issue?
https://www.c-sharpcorner.com/article/file-upload-and-download-using-asp-net-mvc-5-for-beginners/
Thanks in advance.
Regards,
SagarPallavi

Sachin SinghRank #66 · 26.2K reputationPosted Dec 15, 2020, 3:43 PM EST
Sagar Pallavi190 reputationPosted Dec 16, 2020, 3:33 AM EST