The Request Pipeline
Middleware are components that handle HTTP requests and responses. They are executed in a sequence (the pipeline).
Common Middleware:
- Authentication / Authorization
- Logging
- Error handling
- Static files (HTML, CSS)
.NET Zero to Hero: Master C# and Modern App Development
Middleware are components that handle HTTP requests and responses. They are executed in a sequence (the pipeline).