question

Giandomenico-0328 avatar image
0 Votes"
Giandomenico-0328 asked Bruce-SqlWork answered

ASP.NET Web Forms virtual sites

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-webappsdotnet-aspnet-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ryanchill avatar image
0 Votes"
ryanchill answered

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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Bruce-SqlWork avatar image
0 Votes"
Bruce-SqlWork answered

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://docs.microsoft.com/en-us/azure/architecture/multitenant-identity/

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.