dotnet / dotnet/AspNetCore.Docs

The description about when filters run is not accurate.

Open
#26,570 2 comments 0 reactions 0 assignees View on GitHub
doc-enhancement re-Safia Source - Docs.ms
Dominant language
C#
Stars
13.1k
Forks
24.6k
Avg merge
1d 3h
Merged PRs (30d)
97

Description

[Enter feedback here]

"Filters run within the ASP.NET Core action invocation pipeline, sometimes referred to as the filter pipeline. "
This description seems to be conflict with the diagram (copied from the official [site](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/middleware/?view=aspnetcore-6.0)):

Filters seems to run inside the Endpoint middleware.

![mvc-endpoint](https://user-images.githubusercontent.com/8342412/181409451-dd4fe4d1-263d-4354-acb2-17c365e13f92.svg)

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: a70a955f-dd5a-c46b-dfe8-21521e619320
* Version Independent ID: ebb299e0-6c1c-7077-689d-ac711352e418
* Content: [Filters in ASP.NET Core](https://docs.microsoft.com/en-us/aspnet/core/mvc/controllers/filters?view=aspnetcore-6.0)
* Content Source: [aspnetcore/mvc/controllers/filters.md](https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/mvc/controllers/filters.md)
* Product: **aspnet-core**
* Technology: **aspnetcore-mvc**
* GitHub Login: @Rick-Anderson
* Microsoft Alias: **riande**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.