What is a Middleware and how to use it in ASP.NET Core? #48
Replies: 1 comment 1 reply
-
|
We have IMiddleware nowadays (since 3.0). Apart from getting the signature right, it also requires DI registration which means it can be scoped. Side note. This comment required consent to “Know which resources you can access” and “Act on your behalf”. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What is a Middleware and how to use it in ASP.NET Core?
Did you ever ask yourself: What is a middleware, and why should I use it?
If so, this blog post is exactly for you. We will see where we could use a middleware and also how we can use the Dependecy Injection container of ASP.NET Core.
https://steven-giesel.com/blogPost/16535182-1fb0-4fa9-8ffa-7b90e1355e5b?utm_source=csharpdigest&utm_medium=&utm_campaign=1526
Beta Was this translation helpful? Give feedback.
All reactions