Cloud Service - Extended

dkn 0 Reputation points
2025-05-19T18:44:38.0466667+00:00

Can we host "iis asp.net 4.8 old school code behind aspx" apps to azure service app? The Cloud Service - Extended is dying and it's simply not possible to change a app architect to what Microsoft is asking by next year.

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

1 answer

Sort by: Most helpful
  1. Kantamsetti Aslesha 330 Reputation points Microsoft External Staff
    2025-05-26T13:53:35.6866667+00:00

    Hi @dkn

    Yes, you can host your ASP. NET 4.8 applications on Azure App Service (Windows), which supports the .NET Framework 4.8.

    Hosting ASP .NET 4.8 App on Azure App Service you have below features.

    • Managed Platform: Azure App Service is a Platform as a Service (PaaS) offering where Azure takes care of server maintenance, updates, and load balancing, so you don’t have to manage the underlying infrastructure.
    • Scalability: You can quickly increase or decrease the resources your app uses, depending on how much traffic you're getting.
    • Easy Integration: It works with tools like Visual Studio and Azure DevOps, so you can build, test, and deploy your apps easily.

    To deploy your ASP. NET 4.8 app to Azure App Service, you have following options:

    Visual Studio: you can publish your directly from visual studio by publish option.

    Right-click project -> Publish -> Azure as target -> Azure App Service and follow the widgets.

    2025-05-26 17_43_37-Inbox - v-kaslesha@microsoft.com - Outlook

    zip deploy: For Zip deployment build app locally and zip files and in Azure Cli run the below command.

    
    az webapp deploy --resource-group <rg> --name <app-name> --src-path "<your-zip-file-path>"
    
    

    GitHub: Another option to publish your app to Azure App Service is by using GitHub Actions. This allows you to automatically build and deploy your app every time you push changes to your repository.

    DevOps: Azure also supports deployment through Azure DevOps Pipelines, where you can create a CI/CD pipeline that builds your project using MSBuild and deploys it to the App Service.

    2025-05-26 18_03_33-

    Both GitHub and DevOps integrations are easy to configure in the Azure Portal. This makes it simple to manage and update your legacy app in the cloud without changing the codebase.

    Refer this MS Documentation1 and Documentation2 for more information.

    Apart from Azure App Service, you have other options like Azure Virtual Machines (VM), Azure Kubernetes Service (AKS), and Azure Container Apps.

    Azure VM: You can use a Virtual Machine (VM) with IIS installed. While this allows you to fall back to classic VM hosting, it also means you’ll have more control over the infrastructure including responsibilities like patching, scaling, and monitoring.

    You can choose this option when your app relies heavily on OS-level dependencies that Azure App Service doesn't support, such as GAC-registered DLLs, COM components, and similar features.

    Refer to this MS Doc to know more about Azure VM.

    Azure Container Apps Or AKS: Your app needs custom IIS or OS setup, but is web-only you can use Azure container Apps Simplified hosting, no infra to manage.

    Your app is complex (web + background) or needs full control use AKS it is has full flexibility, supports anything.

    Refer these AKS and Azure Container Apps documents.

    Migrate ASP. NET apps hosted on Cloud Services (extended support) to Azure App Service, AKS, or Virtual Machines, depending on your needs, application complexity, and hosting model.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.


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.