© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
97 replies
Verdant

❔ ✅ Writing to response body is slow in .net core 7 web api?

Hey guys, I have a stack overflow thread about the issue, but basically, I'm getting significant performance degradation when writing directly to the response body stream, as opposed to just another stream. It's seriously affecting my download times, lowering them to 16-20 mb/s (I am serving files). Can anyone help me with this please?

https://stackoverflow.com/questions/76318014/asp-net-core-web-api-writing-to-response-body-is-insanely-slow
Stack Overflow
ASP.NET Core Web API : writing to response body is insanely slow?
I have an ASP.NET Core 7.0 Web API hosted on a server 2016 bare metal box. I'm creating dynamic ZipArchives and returning them when I receive API calls.
Generating a 300 MB ZipArchive from 800MB of
ASP.NET Core Web API : writing to response body is insanely slow?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

✅ ASP.Net Core Web API
C#CC# / help
6mo ago
✅ Testing in ASP.NET Core Web Api
C#CC# / help
9mo ago
✅ ASP.NET Core Web Api + SignalR
C#CC# / help
2y ago
Interview questions - .NET Core Web API
C#CC# / help
2y ago