Get the source code for this video for FREE → https://the-dotnet-weekly.kit.com/async-apis
Want to master Clean Architecture? Go here: https://bit.ly/3PupkOJ
Want to unlock Modular Monoliths? Go here: https://bit.ly/3SXlzSt
Join a community of 1000+ .NET developers: https://www.patreon.com/milanjovanovic
Learn how to properly implement asynchronous APIs in ASP.NET Core to maximize performance and efficiency. This video covers best practices for async APIs, common pitfalls to avoid, and proven techniques to make your APIs faster and more scalable. We'll dive into real-world examples demonstrating how to structure your async code correctly, with practical tips for handling concurrent requests and managing server resources effectively. Whether you're new to async programming or looking to optimize your existing APIs, you'll learn the right way to implement asynchronous operations in your ASP.NET Core APIs.
Building Async APIs in ASP.NET Core - The Right Way
https://www.milanjovanovic.tech/blog/building-async-apis-in-aspnetcore-the-right-way
Check out my courses:
https://www.milanjovanovic.tech/courses
Read my Blog here:
https://www.milanjovanovic.tech/blog
Join my weekly .NET newsletter:
https://www.milanjovanovic.tech
Chapters
0:00 The Problem
3:05 Background processing delay
4:25 Async APIs with Channel
7:55 Tracking background job status
8:51 Building Async APIs
10:54 Adding the status endpoint
13:43 Creating the background worker
16:38 Testing our Async API