ASP .NET Basics for Experts
summary
Demonstrates .NET 6 features by building a waffle API with code on GitHub (Layla-hyphen-P): adoption of Minimal APIs, top‑level statements and global usings, refactoring registrations into IServiceCollection extension methods, and explicit use of dependency injection. Shows HTTPClientFactory patterns (generic, named, strongly typed), adds Polly policies — retry, fallback and a Polly circuit breaker set to three failures — and observes the circuit open and block calls. Mentions Steeltoe OSS for discovery and that the demo runs live.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 1:02ASP.NET basics overview
- 2:08.NET 5 to .NET 6 evolution
- 3:53Top-level statements
- 6:29Global and implicit usings
- 7:52Configuration in .NET 6
- 9:19Dependency injection
- 12:11Decoupling services
- 14:41Organizing dependencies
- 17:09Scoped lifecycles
- 20:41Database context setup
- 22:06HTTP client factory
- 26:01Strongly typed clients
- 27:04Resiliency with Polly
- 30:13Circuit breaker pattern
- 32:21Policies for HTTP clients
- 34:09Live circuit breaker demo
- 36:18Minimal APIs deep dive
- 37:43Extending minimal APIs
- 38:48POST requests handling
- 41:16Minimal APIs vs controllers
- 41:58Q&A








