This project has moved. For the latest updates, please go here.

Owin Requests integration with the IIS Integrated Pipeline

Mar 24, 2014 at 4:28 AM
I am curious to know how is the integration with the IIS integrated pipeline happening via the Microsoft.Owin.Host.SystemWeb dll, because in the source code, I find a OwinHttpHandler and I am not able to find how it is registered.

Kindly let me know how the Owin requests are being transferred to the OWIN pipeline. When debugging, I find that the Owin Startup is being called after the registered http modules [web.config] are executed. If this being the case, I am not able to understand, how the modules that we use in the Owin pipeline will be triggered during the application events.
Mar 24, 2014 at 4:24 PM
It looks like this was answered on The short answer is to start here with the auto-registration:
Mar 25, 2014 at 3:41 AM
Thanks Tratcher, I got the reply from One quick question, will OwinHttpHandler be used when using SystemWeb for IIS integration, because I was able to debug and find that the OwinHttpModule being called during the application execution, other than that I was able to figure out by debugging the code
Mar 25, 2014 at 3:48 AM
OwinHttpHandler is not used in the auto-registration or integrated pipeline. It's only used if you register it as the handler for a route (in code or in the config).
Marked as answer by saravanand on 3/25/2014 at 9:26 PM