Reputation: 7854
I am interested in knowing how IIS invokes the OWIN pipeline during the application lifecycle.
I tried to know this and found that the assembly Microsoft.Owin.Host.SystemWeb
is responsible for this, but a diagram explaining this will be very helpful for myself and others that are willing to learn about OWIN.
With respect to OWINHost, I was able to figure out how OwinHost sets up the host and then invokes the other OMC etc.
Additionally, I am interested in finding out how the HttpModules that we built in can be used with OWINHost and IIS hosting.
Having filtered through the web, I stand left puzzling and quizzing about these stuff. Suitable pointers or documents will be of great help.
Links referred :
Owin Spec Owin Request pipeline explanation ASP.Net Architecture
Upvotes: 6
Views: 2476
Reputation: 17281
The Microsoft.Owin.Host.SystemWeb
uses the PreApplicationStartMethodAttribute to bootstrap itself. The code for it can be seen here.
You can read more about the usage of the PreApplicationStartMethodAttribute
here.
Upvotes: 6