支持Azure App Services中的固定模式程序集? [英] Support for xixed-mode assemblies in Azure App Services?

查看:49
本文介绍了支持Azure App Services中的固定模式程序集?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在测试Azure应用服务中的混合模式程序集,我们遇到了一个我们无法证明的问题


是否有关于环境差异的文档运行App Services和普通的Windows系统(例如VM)。例如:


1。支持混合模式组件。


2。关键部分。


3。全局变量。


4。内存管理。


感谢您的想法。


解决方案

您遇到的具体问题是
Azure App Services上的混合模式程序集?



为了让您更好地了解Azure上的托管网站。首先,我想强调
Azure提供了多种托管网站的方式:Azure应用服务WebApps(PAAS
解决方案),虚拟机(IAAS),服务架构和云服务。



Azure App Service(PAAS解决方案)是大多数Web应用程序的最佳选择。部署和管理集成到平台中,站点可以快速扩展以处理高流量
负载,内置负载平衡和流量管理器提供高可用性。


WebApp  是一个完全托管的计算平台,针对$ b进行了优化$ b托管网站和网络应用程序。


如果您希望在Azure VM(IAAS解决方案)上托管您的网站/应用程序,您通常会以与onprem类似的方式安装,设计和配置应用程序。我 f
你有一个现有的应用程序需要进行大量修改才能在App Service中运行,您可以选择虚拟机以简化迁移到云。 



查看App Service上支持和不支持的配置
< a href ="https://docs.microsoft.com/en-us/dotnet/azure/dotnet-howto-migrate-app-service?view=azure-dotnet">
迁移您的.NET Web应用程序或服务到Azure应用服务和
迁移移动到Azure App Service
时的清单,以获取有关该主题的更多详细信息。



此外,如果您的应用程序无法直接迁移到App Service,请考虑使用Windows容器的App Service,这样可以使用GAC,COM组件,
MSI,完整访问.NET FX API,DirectX等。



我建议您参考文档
Azure App Service ,虚拟机,服务结构和云服务比较
用于服务之间的比较。


We are testing mixed-mode assemblies within Azure App Services and we are hitting a problem we can't really justify

Is there a documentation on the differences between the environment running App Services and a normal Windows system (such a VM). For example:

1. Support for mixed-mode assemblies.

2. Critical sections.

3. Global variables.

4. Memory management.

Thanks for ideas.

解决方案

What specific issue are you experiencing with mixed-mode assemblies on Azure App Services?

To give you a good understanding on hosting website on Azure. Firstly, I wish to highlight that Azure offers several ways to host websites: Azure App Service WebApps (PAAS solution), Virtual Machines (IAAS), Service Fabric, and Cloud Services.

Azure App Service (PAAS solution) is the best choice for most web apps. Deployment and management are integrated into the platform, sites can scale quickly to handle high traffic loads, and the built-in load balancing and traffic manager provide high availability.

WebApp is a fully managed compute platform that is optimized for hosting websites and web applications.

If you wish to host your website/app on an Azure VM (IAAS solution), you would typically install, design and configure the app in a similar way as you would onprem. If you have an existing application that would require substantial modifications to run in App Service you could choose Virtual Machines in order to simplify migrating to the cloud. 

Take a look at the supportted and unsupportted configuration on App Service Migrate your .NET web app or service to Azure App Service and Migration checklist when moving to Azure App Service for more details on the topic.

Furthermore, 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.

I suggest you refer the documentation Azure App Service, Virtual Machines, Service Fabric, and Cloud Services comparison for comparison between the services.


这篇关于支持Azure App Services中的固定模式程序集?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆