How to host 2 different versions of .NET Web Application in a single Azure Web App Service?

Anonymous
2022-06-24T14:37:22.373+00:00
  • .NET 4.8 Framework WebApp
  • .NET 6 Core Web App

I know both are different. Willing to know that can we deploy both web apps in a single Azure Web App Service which is built on .NET Framework 4.8.

When we host a web app, it will store in wwwroot folder of the Azure Web App Service, along with this can we host the 2nd application (.NET 6) in the subfolder of wwwroot.

Is it possible to host/run the Core web App on Framework Versioned Azure App Service?

Could anyone please clarify?

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

Answer accepted by question author
  1. Ryan Hill 30,326 Reputation points Microsoft Employee Moderator
    2022-06-25T03:20:05.3+00:00

    The host has both frameworks installed which you can be verified by running dotnet --info and reg query "HKLM\SOFTWARE\Microsoft\Net Framework Setup\NDP" from the console. Now theoretically, you should be able to run the dotnet core app as a virtual application, just make sure you don't have any conflicting web.config files.


0 additional answers

Sort by: Most helpful

Your answer

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