Bundling files into a zip archive for downloading via an API endpoint is a common requirement for many applications.
In this video, we’ll learn
• Bundle files into a ZIP archive
• Send ZIP files over an ASP NET API endpoint.
We’ll explore two approaches: the first is simple but inefficient, and the second, with only a few extra lines of code, dramatically enhances the download experience and overall application performance.
For the demo, I’ll store the files in Amazon S3, which I will retrieve, zip, and send back to the user. The same approach applies if you’re streaming files from a disk or any other cloud storage.
Thank you to AWS for sponsoring this video; it’s part of my ASP NET Series.
🔗 Blog - https://www.rahulpnath.com/blog/strea...
🔗Source Code - https://github.com/rahulpnath/youtube...
Additional Watching
📹 ASP Series - https://bit.ly/asp-net-core-series
📹AWS S3 • Amazon S3 (Simple Storage Service) - Getti...
📹AWS Series - https://bit.ly/aws-net-series
📹Azure Series - https://bit.ly/azure-series
📹RabbitMQ Series - https://bit.ly/rabbitmq-net-series
Come say hi! ✋
🎙️Uses - https://www.rahulpnath.com/uses
🌍Blog - https://www.rahulpnath.com/
✉ Subscribe to my Newsletter - https://www.rahulpnath.com/subscribe
🐦Twitter - / rahulpnath
📸Instagram - / rahulpnath
#dotnet #csharp #aspnetcore #aws