ASP. NET Basics For Experts
summary
Live-coding builds a .NET 6 WebApplication that uses minimal APIs and top-level statements, moves common usings to a global file and namespaces to file-scoped form, and extracts registrations into IServiceCollection and WebApplication extension methods. Demo wires typed and named clients via the HTTP client factory, adds Polly policies (fallback, retry, Polly circuit breaker), points an ingredient API that fails 50% of requests, and shows retries and the circuit breaker opening after three failures.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 3:37From .NET 5 to .NET 6 templates
- 7:08Top-level statements
- 11:03Global using directives
- 13:52File-scoped namespaces
- 15:19Dependency injection
- 21:03Organizing services
- 26:03Minimal APIs
- 33:11HTTP clients with Polly
- 44:21Summary
related talks
01h 01mASP.NET Basics for Experts
59mASP .NET Basics for Experts
01h 01mASP.NET Basics for Experts
01h 11mASP.NET Basics for Experts
54mMinimal APIs in ASP.NET 6.0
58mMinimal APIs in ASP NET 6 0
46mLet’s Get Minimal: .NET 6 New APIs in ASP.NET Core
01h 02mPatterns for application development with ASP.NET Core
