---
title: "Swimburger - Blog - ASP.NET Razor Pages"
description: "Swimburger.net is a blog about .NET, cloud, web development, and whatever comes across Swimburger's plate. Swimburger.net is run by Niels Swimberghe."
canonical: "https://swimburger.net/blog/aspnet-razor-pages"
---

[

<picture><img class="blog-post-card__image" src="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.5002501250625312/media/krafsxcd/aspdotnet-zip-square.png" srcset="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.5002501250625312/media/krafsxcd/aspdotnet-zip-square.png 250w, /cdn-cgi/image/width=375,format=auto,quality=90,height=375,fit=cover,gravity=0.5x0.5002501250625312/media/krafsxcd/aspdotnet-zip-square.png 375w, /cdn-cgi/image/width=500,format=auto,quality=90,height=500,fit=cover,gravity=0.5x0.5002501250625312/media/krafsxcd/aspdotnet-zip-square.png 500w" sizes="250px" width="250" height="250" alt=".NET Bot holding a package with &quot;ZIP&quot; on it. " decoding="async" loading="lazy" style="background-color:#fff"></picture>

## Create ZIP files on HTTP request without intermediate files using ASP.NET Core MVC, Razor Pages, and endpoints

3/21/2021 - .NET

The ZipArchive wraps any stream to read, create, and update ZIP archives. You can send the result to the client using ASP.NET MVC, Razor Pages, and endpoints.



](/blog/dotnet/create-zip-files-on-http-request-without-intermediate-files-using-aspdotnet-mvc-razor-pages-and-endpoints)
