ASP.NET Basics for Experts
summary
Live demos on .NET 7 show how the minimal hosting/top-level model gets organized into extension methods for IServiceCollection and WebApplication so the Program file stays small, with HTTP client factory usage replacing ad-hoc HttpClient creation, named/strongly-typed clients, and a policy wrap (retry + circuit breaker) wired via Polly (3 retries, 10s break in examples). Configuration order and the options pattern (IOptions, IOptionsMonitor, IOptionsSnapshot) matter, and lifecycle behavior is demonstrated for Singleton / Scoped / Transient with concrete numbers. Steeltoe OSS and resiliency patterns are included.
AI-written summary · about
chapters (8)
- 0:00Introduction and background
- 2:25Minimal hosting model
- 6:05Configuration and options
- 14:26Minimal APIs and DI
- 18:51Structuring dependencies
- 23:27Service lifetimes
- 31:23HTTP client and resilience
- 55:47API structuring and closing
related talks
47mASP. NET Basics For Experts
59mASP .NET Basics for Experts
01h 01mASP.NET Basics for Experts
01h 11mASP.NET Basics for Experts
01h 02mPatterns for application development with ASP.NET Core
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
