azureazure-web-app-serviceazure-deploymentazure-deployment-slotspublishing-site

How to publish two .net websites on one Azure WebApp?


I have two web apps hosted on Windows Azure VM -> IIS with the following names

Question:

  1. Can I publish these two apps into one Azure WebApp? OR do I need to provision two separate Azure WebApps and publish them separately?

  2. Where to manage connection string etc?

Note: Both are tied up with the one Public IP e.g (1.2.3.4).

Thanks in advance.


Solution

  • Normally, your Front end webapp don't need connection string. So you can set your backend web app as main site. And you can manage

    enter image description here

    enter image description here

    So you can deploy your front end in virtual application. You can check my answer in link which NebulaBC's comment for you.

    Related Post:

    1. How to deploy a Flask+React application to Azure Web Service

    2. React.js - How to deploy client and server independently or together?