Azure LocalCache未在ASE上设置Ready环境变量 [英] Azure LocalCache not setting the Ready environment variable on ASE

查看:125
本文介绍了Azure LocalCache未在ASE上设置Ready环境变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将我的WebApp移至Azure应用服务环境,并启用了新的LocalCache选项,如



不过,应该告诉您缓存的环境变量是准备好不存在。



如果我使用Kudo并转到Process Explorer,请单击w3wp(无scm标签)进程的属性,然后单击环境变量。我看到的唯一变量是:

  WEBSITE_LOCAL_CACHE_OPTION始终
APPSETTING_WEBSITE_LOCAL_CACHE_OPTION始终
WEBSITE_LOCAL_CACHE_SIZEINMB 1000
APPSETTING_WEBSITE_LOC AL_CACHE_SIZEINMB 1000
WEBSITE_LOCALCACHE_ENABLED True

但我不需要的那个:

  WEBSITE_LOCALCACHE_READY 



我对正在发生的事情感到困惑;

解决方案

本地缓存是App Service Environment中当前未启用的功能。


I have moved my WebApp to the Azure App Service Environment and have enabled the new LocalCache option as documented at https://azure.microsoft.com/en-us/documentation/articles/app-service-local-cache/

However, the environment variable that is supposed to tell you that the cache is ready does not exist.

If I use Kudo and go to Process Explorer, Click on properties for the w3wp (without the scm label) process, then click on Environment Variables the only variables I see are:

WEBSITE_LOCAL_CACHE_OPTION  Always
APPSETTING_WEBSITE_LOCAL_CACHE_OPTION   Always
WEBSITE_LOCAL_CACHE_SIZEINMB    1000
APPSETTING_WEBSITE_LOCAL_CACHE_SIZEINMB 1000
WEBSITE_LOCALCACHE_ENABLED  True

But not the one I need:

WEBSITE_LOCALCACHE_READY

I am stuck as to what is happening; can anyone give any ideas for me to try?

解决方案

Local Cache is a feature which is not currently enabled in App Service Environment.

这篇关于Azure LocalCache未在ASE上设置Ready环境变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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