Skip to content

Commit

Permalink
Update filters.md (dotnet#4238)
Browse files Browse the repository at this point in the history
Fixed typo
  • Loading branch information
DanielSSilva authored and scottaddie committed Sep 8, 2017
1 parent 498ce50 commit 4693cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aspnetcore/mvc/controllers/filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ A filter can be added to the pipeline at one of three *scopes*. You can add a fi

When there are multiple filters for a particular stage of the pipeline, scope determines the default order of filter execution. Global filters surround class filters, which in turn surround method filters. This is sometimes referred to as "Russian doll" nesting, as each increase in scope is wrapped around the previous scope, like a [nesting doll](https://en.wikipedia.org/wiki/Matryoshka_doll). You generally get the desired overriding behavior without having to explicitly determine ordering.

Asa result of this nesting, the *after* code of filters runs in the reverse order of the *before* code. The sequence looks like this:
As a result of this nesting, the *after* code of filters runs in the reverse order of the *before* code. The sequence looks like this:

* The *before* code of filters applied globally
* The *before* code of filters applied to controllers
Expand Down

0 comments on commit 4693cb0

Please sign in to comment.