Against The MSFT Rules! - Refactor Large File Downloads in C#
June 3, 2024
• 688 views
c#dotnet.netstream in .netdownload video in C#download file in C#c# webclient download filec# download file from urlhow to download a file from internet using c#download file c#how to download files in c#download files in C#streams in C#async streamsfiles and streams in c#c# streamsc# streams explained.net corestreams in c#memorystream in c#C# tutorialC# for beginnersmicrosoftweb developmentpaktcoding tutorialdotnet tutorial
You folks asked for it, and I delivered! When I put together content about challenges downloading large files in C#, you wanted to see how we could take this a bit further and make helper classes out of it.
The benefit of doing this is that we can encapsulate some of the challenging behavior with downloading large files. Namely:
- We're not getting a stream with a length
- We don't want to pull the whole file into memory
In this video, I walk you through my design decisions between two different APIs we could explore. If you want to see a more in-depth view of this, make sure to check out my livestreams where I explain how I am putting this content together for YouTube!
