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


source to share





All Articles