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?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top