ASP.NET Web Forms virtual sites

Giandomenico 1 Reputation point
2022-08-29T13:44:46.407+00:00

Hello everybody
we would like to migrate our application suite (Web Forms, on-premise) to azure
We currently have two balanced windows machines pointing to a SQL Server AlwaysOn cluster
On the IIS of each machine we have a site for each customer
From a physical point of view, however, the application is always the same and is installed on the default web site
The other sites refer, with the exception of the dedicated root with its web.config, to the physical paths of the application on the default web site. This allows us (by exploiting the bindings on distinct URLs) to have separate processes for each customer without losing the advantage of having a single point of intervention for changes / fixes
Is it possible to replicate this architecture in Paas mode on Azure without creating new virtual machines but using the app services?

Thanks for the support

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

2 answers

Sort by: Most helpful
  1. Ryan Hill 29,211 Reputation points Microsoft Employee
    2022-08-31T17:36:32.533+00:00

    First off, I would encourage that you read up on App Service Migrate, which is an offering that makes it easier to take existing code and migrated to the Paas offering.

    As far as virtual directories, you are able to map physical paths as either virtual application or directory, see Map a URL path to a directory for details.

    0 comments No comments

  2. Bruce (SqlWork.com) 68,081 Reputation points
    2022-09-16T15:35:18.433+00:00

    if you host virtual machines in azure you can do your current configuration. if you want to use application web services, then no. you have a couple options

    1) look at multi-tenant model. as azure auto scales, this may be a good solution (may require some code changes).
    2) GitHub deploy - updating GitHub updates all the sites

    https://learn.microsoft.com/en-us/azure/architecture/multitenant-identity/

    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.