Question

Owin/Katana could be hosted either with IIS or self hosting. When hosting over IIS, what happens to the ASP.NET Request Life cycle? Will it still run as before? (BeginRequest, etc ...). What basically happens?

Was it helpful?

Solution

Yes, it's the same and the OWIN/Katana middleware can be interleaved at the same stanges in IIS as needed. Check the UseStageMarker API to let IIS know when you want the middleware to run:

http://msdn.microsoft.com/en-us/library/microsoft.owin.extensions.integratedpipelineextensions.usestagemarker%28v=vs.111%29.aspx

Also, this goes into some details as well:

http://www.asp.net/aspnet/overview/owin-and-katana/owin-middleware-in-the-iis-integrated-pipeline

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top