Create ZIP files on HTTP request without intermediate files using ASP.NET MVC Framework
The ZipArchive wraps any stream to read, create, and update ZIP archives. You can send the result to the client using ASP.NET MVC Framework.
How to deploy Blazor WebAssembly to DigitalOcean App Platform
Blazor WebAssembly can be served as static files. These files can be hosted in static hosting services such as DigitalOcean App Platform.
Don't use HttpContext.Current, especially when using async
Avoid using HttpContext.Current if possible, especially in asynchronous code. Use the properties provided on the Page or Controller instead and pass them on to the asynchronous code.