简体   繁体   中英

'Skipping' the IIS pipeline on A WCF web service

I've read an article that states the following:

IIS tacks on a significant amount of performance overhead due to things like session state management, forms authentication, the process model, request lifecycle events, etc. These are not bad things to have and use, but if you don't need IIS, session state, forms auth, request lifecycle events, or the process model, then don't use them!

Now it says to simply 'skip' these features, however i failed to find that information online and was hoping someone here could shed some light on the matter.

Thank you

Skipping IIS would involve OWIN/Katana project. There's no real template for this, but the idea would be to have the web application 'self-host' wcf, with the resolution going through OWIN's IDictionary<string,object> state dictionary instead of the normal IIS HttpContext object.

Here's some more on this.

And here's a starting point for coding . Note that the WebOperationContext is still being used there, though.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM