6

I am interested in knowing how IIS invokes the OWIN pipeline during the application lifecycle.

  1. I tried to know this and found that the Microsoft.Owin.Hosting.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.

  2. With respect to OWINHost, I was able to figure out how OwinHost sets up the host and then invokes the other OMC etc.

  3. 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

4

1 回答 1

5

The Microsft.Owin.SystemWeb host uses the PreApplicationStartMethodAttribute to bootstrap itself. The code for it can be seen here.

于 2014-03-21T03:31:20.550 回答