My impression of one of the big benefits of Owin is that it makes it easy to run different web frameworks side-by-side without IIS's IHttpHandler
. (This would be huge for distributing vertical functionality slices as nuget features.)
However every tutorial and article I find talks of things like self-host and a single framework. This is not what I'm interested in, I'm interested in running mvc, nancy, web api, maybe even webforms in the same application.
Am I wrong about OWIN enabling this? Say I want
- Mvc to handle most requests
- Webforms to handle requests which have a version=legacy header
- Nancy to handle requests to /Nancy/...
How would I configure my Startup
class to enable this?