You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Martin Halliday edited this page Jul 14, 2016
·
11 revisions
In the context of the OWIN Framework middleware is a class that implements IMiddleware<T>.
When a class implementsIMiddleware<T> it is making a promise to store an implementation of interface T into the OWIN context during request processing. The OWIN Framework provides an extension method that adds a SetFeature<T>() method to IOwinContext. Middleware classes should use this extension method to store T in the OWIN context during rrequest processing. This is referred to as downstream communication.
See IMiddleware for more details about the IMiddleware<T> interface.