Back to course

Middleware in ASP.NET Core

.NET Zero to Hero: Master C# and Modern App Development

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)