I'm working on an application that uses Katana to expose self-hosted WebAPI services. I'd like to manage content similarly to the way IIS allows multiple applications under a single web site.
For example, I may have three folders containing web api content:
- C:\SelfHost\App1
- C:\SelfHost\App2
- C:\SelfHost\App3
Each of these folders will be a stand-alone application, with web.config, controllers, routing, etc.
I can spawn a new Owin instance for each of these, but that would require separate ports. With IIS, I can configure separate applications so that http://localhost:8080/App1 will route to the first app, http://localhost:8080/App2 will route to the second, and so forth. Is anything similar possible with Owin/Katana?