-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Example given for factory-based middleware could have been clearer #6833
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello and thanks for the feedback @5a7335h. The sample does show a real-world use case: the database context used in the sample is a scoped service. Can you elaborate on what you find confusing? |
Both topics don't focus on real-world middleware implementations ... they focus on middleware activation patterns. If you would like to see real-world middleware examples, your best bet is to search broadly for blog posts and GH repo examples.
Yes, that's possible. We'd probably do that in the main middleware topic. |
Thanks for your super fast response @guardrex. 👍 |
Personally I find the class name |
I'd like to change the name to "FactoryActivatedMiddleware." |
Thanks for contacting us. |
Uh oh!
There was an error while loading. Please reload this page.
The current example given in the documentation of factory-based middleware is not very clear. A real-time use case with more clear example would have been much helpful.
Same is the case with "Middleware activation with a third-party container".
Any link to other examples/documentation elsewhere will be much appreciated.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: