Reputation: 1334
I have around 5 API projects in one Solution which built by .NET Core Visual Studio 2019.
I want to publish to IIS Manager with single port. Let say, Project1 - 8081, Project2 - 8081, ff.
Currently, each projects have a different port.
So Front-End access with some url like, https://<ipadd:portno>/Project1/API_Action
How can I do that? Because when I tried with same port. It shows me a warning say that duplicate binding.
Thank you.
Upvotes: 0
Views: 628
Reputation: 3974
Normally, a port number can only be used by one application. If you want to share a port number with more applications, I think you can add sub-applications under the main application:
UPDATE:
The URL of the sub application is the URL of the main application + Alias.
Upvotes: 1