Web service (.asmx) migration to Visual Studio

salilsingh-9961 346 Reputation points
2023-01-15T12:23:28.6533333+00:00

Hi Team,

I have a requirement where I need to check the compatibility of a web service(.asmx) in ASP.Net to see how compatible it is to be migrated to Azure App service. How can I perform this compatibility check using Visual Studio.

Is there a project type in Visual Studio 2022 which lets me do this.

Thanks,

Salil

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

2 answers

Sort by: Most helpful
  1. SanthiSwaroopNaikBukke-4908 595 Reputation points
    2023-01-15T17:29:38.05+00:00

    To check the compatibility of a web service (.asmx) in ASP.Net to see how compatible it is to be migrated to Azure App Service, you can use Visual Studio to perform a compatibility analysis. Here are the steps you can follow:

    1. Open the web service project in Visual Studio: Open the solution containing your web service project in Visual Studio.
    2. Run the compatibility checker: In Visual Studio, go to the "Analyze" menu and select "Launch Compatibility Analyzer" or you can also right-click on the solution in the solution explorer and select "Launch Compatibility Analyzer."
    3. Select the Azure App Service migration option: In the Compatibility Analyzer window, select the "Azure App Service" migration option and click on "Start Analysis."
    4. Review the results: The compatibility checker will analyze your web service and generate a report that shows any issues or compatibility issues that may arise when migrating the web service to Azure App Service. Review the report and address any issues that are found.
    5. Fix any identified issues: Based on the report, you can fix any identified issues to make your web service more compatible with Azure App Service. For example, if the report identifies a dependency on a specific version of a library, you can update the library to a version that is compatible with Azure App Service.

    It's important to note that, the compatibility checker only scans the code of your solution, it will not check if the web service is working as expected. So, it's also recommended to test the web service after the migration to Azure App Service is complete to ensure that it is working correctly.

    0 comments No comments

  2. Bruce (SqlWork.com) 54,711 Reputation points
    2023-01-15T18:06:24.09+00:00

    Here is a checklist

    [https://learn.microsoft.com/en-us/dotnet/azure/migration/app-service

    0 comments No comments