# Request Pipeline

The ordered chain of middleware every request passes through.

## What is **Request Pipeline**?

The **request pipeline** is the chain of middleware each request passes through. Order matters: authentication must come before authorization, and exception handling first of all.

```csharp
app.UseExceptionHandler();
app.UseHttpsRedirection();
app.UseAuthentication();
app.UseAuthorization();
app.MapRecipes();
```

Level: Journeyman · [More ASP.NET Core terms at this level](https://www.ask-codey.com/glossary?category=aspnet-core&level=3)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/request-pipeline
