Evenementer
Mar 17, 11 PM - Mar 21, 11 PM
Maacht mat bei der Meetup-Serie, fir skaléierbar KI-Léisungen op Basis vu realistesche Benotzungsfäll mat aneren Entwéckler an Experten ze bauen.
Elo umellenDëse Browser gëtt net méi ënnerstëtzt.
Upgrat op Microsoft Edge fir vun de Virdeeler vun leschten Eegeschaften, Sécherheetsupdaten, an techneschem Support ze profitéieren.
App Service is a fully managed compute platform service that's optimized for hosting scalable websites and web applications. This article provides information on how to lift-and-shift an existing application to Azure App Service, modifications to consider, and additional resources for moving to the cloud. Most ASP.NET websites (Webforms, MVC) and services (Web API, WCF) can move directly to Azure App Service with no changes. Some may need minor changes while others may need some refactoring.
Ready to get started? Publish your ASP.NET + SQL application to Azure App Service.
Verify access to on-premises resources as these may need to be migrated or changed. The following are options for mitigating access to on-premises resources:
Azure App Service supports port 80 for HTTP and port 443 for HTTPS traffic.
For WCF, the following bindings are supported:
Binding | Notes |
---|---|
BasicHttp |
|
WSHttp |
|
WSDualHttpBinding |
Web socket support must be enabled. |
NetHttpBinding |
Web socket support must be enabled for duplex contracts. |
NetHttpsBinding |
Web socket support must be enabled for duplex contracts. |
BasicHttpContextBinding |
|
WebHttpBinding |
|
WSHttpContextBinding |
Azure App Service supports anonymous authentication by default and Forms authentication when intended. Windows authentication can be used by integrating with Azure Active Directory and ADFS only. Learn more about how to integrate your on-premises directories with Azure Active Directory.
This isn't supported. Consider copying required assemblies to the app's \bin folder. Custom .msi files installed on the server (for example, PDF generators) cannot be used.
Everything traditionally configured via applicationHost.config in your application can now be configured through the Azure portal. This applies to AppPool bitness, enable/disable WebSockets, managed pipeline version, .NET Framework version (2.0/4.0), and so on. To modify your application settings, navigate to the Azure portal, open the blade for your web app, and then select the Application Settings tab.
IIS5 Compatibility Mode is not supported. In Azure App Service, each web app and all of the applications under it run in the same worker process with a specific set of application pools.
Some elements and attributes are not defined in the Azure App Service IIS schema. If you encounter issues, consider using XDT transforms.
In Azure App Service, each web app and all of the applications under it run in the same application pool. Consider establishing a single application pool with common settings or creating a separate web app for each application.
Azure App Service does not allow the registration of COM components on the platform. If your app makes use of any COM components, these need to be rewritten in managed code and deployed with the site or application.
Azure App Service does not allow physical drive access. You may need to use Azure Files to access files via SMB. Azure Blob Storage can store files for access via HTTPS.
Azure App Service can support the use of ISAPI Filters, however, the ISAPI DLL must be deployed with your site and registered via web.config.
HTTPS bindings are not migrated, nor are the SSL certificates associated with your web sites. SSL certificates can be manually uploaded after site migration is completed, however.
SharePoint and FrontPage Server Extensions (FPSE) are not supported.
Free sites have a size limit of 1 GB of content. If your site is greater than 1 GB, you must upgrade to a paid SKU. See App Service pricing.
For SQL Server databases, please check the current SQL Database pricing.
AAD does not work with free apps. To use AAD, you must upgrade the app SKU. See App Service pricing.
Your current on-premises solutions for monitoring and diagnostics are unlikely to work in the cloud. However, Azure provides tools for logging, monitoring, and diagnostics so that you can identify and debug issues with web apps. You can easily enable diagnostics for your web app in its configuration, and you can view the logs recorded in Azure Application Insights. Learn more about enabling diagnostics logging for web apps.
Consider using Azure KeyVault, a service that securely stores sensitive information used in your application. Alternatively, you can store this data as an App Service setting.
You may need to update DNS configurations based on the requirements of your application. These DNS settings can be configured in the App Service custom domain settings.
If your app cannot be migrated directly to App Service, consider App Service using Windows Containers, which enables usage of the GAC, COM components, MSIs, full access to .NET FX APIs, DirectX, and more.
Feedback zu .NET
.NET ass en Open-Source-Projet. Wielt e Link, fir Feedback ze ginn:
Evenementer
Mar 17, 11 PM - Mar 21, 11 PM
Maacht mat bei der Meetup-Serie, fir skaléierbar KI-Léisungen op Basis vu realistesche Benotzungsfäll mat aneren Entwéckler an Experten ze bauen.
Elo umellenTraining
Léierwee
Migrate ASP.NET Apps to Azure - Training
Migrate ASP.NET web applications and their data to Azure App Service and Azure SQL Database to take advantage of the cloud.
Zertifizéierung
Microsoft Certified: Azure for SAP Workloads Specialty - Certifications
Demonstrate planning, migration, and operation of an SAP solution on Microsoft Azure while you leverage Azure resources.
Dokumentatioun
How to migrate web apps to Azure App Service
Take a look at the latest options for assessing and migrating your apps and their underlying code into Azure. Azure App Service allows you to bring code and containers straight into Azure and connect to integrated databases, whether those are on-premises or in Azure.
Migrate an ASP.NET Web app to an Azure VM - .NET
Learn how to migrate an ASP.NET Web application from on-premises to an Azure Virtual Machine.
Choose the right Azure hosting option - .NET
Learn which Azure migration path is right for your ASP.NET web application.
Migrate .NET apps to Azure App Service - Azure App Service
A collection of .NET migration resources available to Azure App Service.