Reputation: 347
I currently have two C# Web APIs. (One is an older legacy version of OData, and I'm creating a new one to start using the newest version; but I need to support both for some time.)
When I launch the solution locally, I can access them both:
http://localhost:10013/odata3/Screen
http://localhost:10012/odata4/Screen
I want them to launch on the same port, how would I configure this?
Upvotes: 0
Views: 2069
Reputation: 3380
I guess you can manage this with help of virtual directories.
They are configured easily for full IIS.
For IIS Express you will need to dive into C:\Users\#username#\Documents\IISExpress\config\applicationhost.config and configure sites
element there.
Upvotes: 1