Let's say the main web app is: https:\mywebapp.com
Let's say I have separate Web API project and it has multiple services (api\service1, api\service2, )
For this I created 2 projects
- ASP.NET Core MVC Project for Main App - https:\mywebapp.com
- ASP.NET Core Web API project (Service 1, Service 2)
How should I set up my project and publish profile in Azure so that I have the following
- Main App (https:\mywebapp.com) - This is good I have publish profile and this gets published correctly in Azure
- Service 1 URL (https:\mywebapp.com\api\service1)
- Service 2 URL (https:\mywebapp.com\api\service2)
How do I achieve pt 2 and pt3 and have my web API project as a sub-app in my main web application? and share the same URL\api ?