简体   繁体   English

COMPLUS_LoaderOptimization 在 Azure 应用服务中不起作用

[英]COMPLUS_LoaderOptimization not working in Azure app service

I tried setting COMPLUS_LoaderOptimization environment variable to 1 in my azure app service using the extensions.我尝试使用扩展在我的 azure 应用服务中将 COMPLUS_LoaderOptimization 环境变量设置为 1。 As I check the process explorer in kudu, COMPLUS_LoaderOptimization was set to 1 but it is still not working as expected that loads the assemblies in non-domain neutral.当我检查 kudu 中的进程资源管理器时,COMPLUS_LoaderOptimization 被设置为 1,但它仍然没有按预期工作,以非域中性加载程序集。 Is this supported in azure app service? azure 应用服务是否支持此功能?

This is already fixed for full framework in azure app services, COMPLUS_LoaderOptimization works to load the assemblies in non-domain neutral for dynamic assembly loading but it has a problem for IIS user profile.对于 azure 应用程序服务中的完整框架,这已经修复,COMPLUS_LoaderOptimization 可以在非域中性中加载程序集以进行动态程序集加载,但它对 IIS 用户配置文件存在问题。 In this case for basic azure service plan, we can use WEBSITE_LOAD_USER_PROFILE.在这种情况下,对于基本的 azure 服务计划,我们可以使用 WEBSITE_LOAD_USER_PROFILE。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM