Can we migrate ASP applications to Azure Web App ?

MS Techie 2,681 Reputation points

Can we migrate ASP applications to Azure Web App ?

Please help

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

Accepted answer
  1. SnehaAgrawal-MSFT 19,436 Reputation points

    Thanks for follow up!

    On-premise SQL Server connection: Once you migrated your ASP application to Azure App Service Windows container you can use Regional Vnet Integration and SQL Authentication to authenticate between your application and database.

    As mentioned in the official doc:

    On-premise file-share: As of today there is restrictions connecting to on-premise file share and this is not supported. Please refer to similar post for more details on this.

    1 person found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 19,436 Reputation points

    Thanks for replying and clarification. If you want to migrate the legacy on-prem legacy classic ASP application you can use Docker on Azure App Service which gives you many benefits like better SLA, scalability etc.

    You may refer to article Containerize and Migrate Legacy Classic ASP to Azure App Service on explaining on migration of on-prem legacy classic ASP application by containerizing and then hosting it to Azure App Service by using below steps:

    • Setup Classic ASP Application
    • Create Dockerfile in the same application folder
    • Create local Docker image
    • Push the Image to Azure Container Registry
    • Create Azure Web App using Docker image

    You may also refer to the step-step instructions outlined in this blog on How to run classic ASP on Azure Web Apps

    Additional details: Windows Azure: How-to enable classic ASP support

    Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you.

    1 person found this answer helpful.

  2. SnehaAgrawal-MSFT 19,436 Reputation points

    Thanks for reaching here! If I have understood right you want to migrate ASP.NET app from on premises to azure app service.

    Let us know if you have further question.

  3. SnehaAgrawal-MSFT 19,436 Reputation points

    There is nothing different in terms of the Dockerfile for connecting to an on-premises SQL Server as opposed to a SQL Azure DB. The connection string can be externalised using App Settings. You need to connect to your on-premises SQL db using SQL Authentication.

    Here is an example contents of a Dockerfile for shipping an app (this was generated in Visual Studio 2019)

    ARG source
    WORKDIR /inetpub/wwwroot
    COPY ${source:-obj/Docker/publish} .

    Further you need to configure Regional VNET Integration to be able to reach the on-premises SQL Server.

    Quickstart: Run a custom container on App Service - Azure App Service
    Integrate app with Azure Virtual Network - Azure App Service

    0 comments No comments