Azure App Service

JMN-2253 636 Reputation points
2023-05-23T20:02:48.0566667+00:00

Hi There,

My customer has an Azure web app running on a .net run-time stack.

They are asking me if they can add Angular code to run on the same Azure web app.

Is this possible? or do they have to deploy a new web app with Node JS run-time stack?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,966 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Krzysztof Borkowski 6 Reputation points Microsoft External Staff
    2023-05-23T20:26:43.18+00:00

    They can run a Node.JS, and a .Net App on the same Windows or Linux App Service Plan. But they need to deploy two different Web Apps.

    1 person found this answer helpful.
    0 comments No comments

  2. Cesar Lopez 220 Reputation points
    2023-05-23T20:14:56.31+00:00

    Deploying the Angular App with “KUDU”

    Kudu is the engine behind a number of features in Azure App Service related to source control based deployment, and other deployment methods like Dropbox and OneDrive sync. (Microsoft Documentation)

    Another possible way to deploy the Angular application in Azure is by KUDU. This way we can manually add the files by accessing the App Service in the Azure portal and searching for “Advanced tools”:

    Click in “Go”:

    Another page in the browser will open, then click in “Debug console” > CMD:

    You will see this page:

    Click in “site” and in “wwwroot”, and click in the “+” icon to add a new folder:

    Create a folder for your project:

    Open your project local folder, and select all the files in the folder inside in the “dist” folder (after executing the ng build — prod command):

    Drag and drop these files into the new folder that you created:

    In your App Service in Azure portal, search for “Configuration”:

    Click in “New virtual application or directory”, and change from “site\wwwroot\” to “site\wwwroot\BookStore-SPA” (or the name of the folder that you created):

    After that remember to save the changes. Now you can also access the application.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.