How to create and download a zip file in ASP.NET Core?
How to create and download a zip file in ASP.NET Core?
We need to bundle a multiple files in a Zip format and download it. Could you please suggest a way to do this in ASP.NET core without using any third party libraries.
In ASP.NET MVC we can achieve this using https://msdn.microsoft.com/en-us/library/system.io.packaging.aspx. Whether is it possible in ASP.NET core 2.0 ?
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
There are already multiple answers on this site about that very topic. Search for it and try some of the suggestions. If you get stuck then provide a Minimal, Complete, and Verifiable example of the issue.
– Nkosi
Jun 29 at 10:59