Mvc actionresult download file
This tutorial explains, how to create and download pdf file from div in asp.net mvc5. This article uses simple c# programming example. Load Index Page >> 'Click Download Zip' >> Invoke Ajax post method >> Invoke MVC Controller Method (Which will be using DotNetZip library and Zip the files) >> save file. Let first add the DotNetZip library reference to our project. For that you need to navigate to Tools >> NuGet package Manager >> Package Manager Console