Reputation: 29
I require my Intranet-based project to start up in the following place with the URL: http://localhost:8082/CMWebApp
However when I run it in debug mode in Visual Studio 2015 via IIS Express or from within IIS itself it appears as: http://localhost:8082/
I then have to type the CMWebApp bit myself onto the end of the URL in the Browser. Not a complicated thing to do I wouldn’t have thought but I have not been able to configure the Project to do this. Can anyone advise how to do so please?
Many thanks
Upvotes: 0
Views: 1438
Reputation: 2427
On the server environment it is not a ASP.NET 5 issue, but more of a hosting environment change. In IIS, you need to define the folder you are hosting your app as a Virtual Application under the root site and deploy to it using the deployment tool of your choice, MSDeploy I presume.
Upvotes: 0
Reputation: 297
For asp.net-5 web project here it is:
Right click on the Project -> Properties -> Debug then set the "Launch URL"
Upvotes: 2