Inserting middleware between UseRouting() and UseEndpoints() as a library author - Part 1

added by DotNetKicks
1/28/2020 10:29:26 AM

354 Views

This post is in response to a question from a reader about how library authors can ensure consumers of their library insert the library's middleware at the right point in the app's middleware pipeline. Unfortunately there's not really a great solution to that (with a couple of exceptions), but this post highlights one possible approach.


0 comments