문제

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