OWIN cannot run multiple apps in isolation using webapp.start

Viewed 2132

When I try and start two apps on different url's, I get problems with attribute routing middleware. If I have two similar routes in seperate apps but with different http methods web.api seems find only one of the methods.

Microsoft.Owin.Hosting.WebApp.Start<Admin.Startup>("http://localhost:1000");
Microsoft.Owin.Hosting.WebApp.Start<Startup>("http://localhost:1001");

How can I isolate both apps so that attribute routing don't conflict?

2 Answers
Related