VS2017: debugging multiple core asp.net projects

We are migrating our www.SampleProject.com project from VS2013 to VS2017, also considering an upgrade to ASP.NET Core. The project has the following structure:

  • some class library projects (BLL and DAL)
  • API (WebAPI2 project)
  • UI (asp.net project using NG 1.4)

While debugging:

  • Primary startup is an interface starting at localhost: 52000
  • The second starter project is API starting at localhost: 52000 / API /

This configuration allows us to debug both projects at the same time, which is convenient.

In addition, this separation allows us to deploy the API as a separate REST API service (api.SampleProject.com) and also use the API for the back-end user interface (app.SampleProject.com/api)

In production, the "internal API" is configured in IIS as a nested application in a user interface project.

However, this does not work with ASP.NET Core and VS2017.

Is there any known way to debug two ASP.NET Core projects on the same port (as described above)?

Thank you so much

+3
asp.net visual-studio-2017


source to share


No one has answered this question yet

Check out similar questions:

818
ASP.NET Web Site or ASP.NET Web Application?
611
How do you handle multiple submit buttons in ASP.NET MVC Framework?
171
How to disable new debug window in VS2017
4
WCF Data Service Reference in WPF Project in VS2017
3
Publishing Polymer + ASP.NET Core
3
Is it possible to manage DBContext injection in a separate layer for the main Asp.net solution
2
Failed to open vs2015.net core 1.1 project after installing vs2017
0
Clean Solution menu error after updating Visual Studio 2017 to version 15.3.3
0
IIS with ASP.NET Core app compiled with VS2017 not working
0
Debug Angular Asp.net Core project and API project at the same time in a Visual Studio solution



All Articles
Loading...
X
Show
Funny
Dev
Pics