Setting up .net core sub application

Joseph Wisener 1 Reputation point
2020-02-02T21:44:37.893+00:00

Is there any documentation or guides on setting up a .net core application to run on azure as a sub application on a app service? I have a react application running and I want a sub application running from /app/api.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,909 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 22,416 Reputation points Microsoft Employee
    2020-02-03T20:09:29.697+00:00

    Welcome to Microsoft Q&A! Thanks for posting this question.

    If I understand you correctly, you can edit or add virtual applications and directories. To highlight further, each app has the default root path (/) mapped to D:\home\site\wwwroot, where your code is deployed by default. Typically, If your app root is in a different folder, or if your repository has more than one application ( as in your case), you can edit or add virtual applications and directories. Click New virtual application or directory from the Azure Portal.

    To configure virtual applications and directories, specify each virtual directory and its corresponding physical path relative to the website root (D:\home).
    Optionally, you can select the Application checkbox to mark a virtual directory as an application (/app/api). Refer this document for more details.

    Hope this information helps! Kindly let us know for any further assistance on this topic.

    0 comments No comments