2017-02-07 8 views
0

は、私は(ローカルホストのために、すべてが正常に動作している)web.configファイルでこれを設定した設定OutputCache私は私のOutputCacheためのRedisに接続しようとしている5

<system.web> 
    <caching> 
     <outputCache defaultProvider="localRedisOutputCache"> 
     <providers> 
      <add name="localRedisOutputCache" type="Microsoft.Web.Redis.RedisOutputCacheProvider" host="127.0.0.1" accessKey="" ssl="false" />   
     </providers> 

     </outputCache> 
    </caching> 
</system.web> 
私は this articleを読まないし、あらゆる可能性をテストしたが、何の成果き

<system.web> 
    <caching> 
     <outputCache defaultProvider="remoteRedisOutputCache"> 
     <providers> 
      <add name="remoteRedisOutputCache" type="Microsoft.Web.Redis.RedisOutputCacheProvider" host="{{myName}}.redis.cache.windows.net" accessKey="{{MyAccessKey}}" ssl="true" /> 

     </outputCache> 
    </caching> 
</system.web> 

しかし、私は私のAzureのRedisに変更した場合、それは働いていません...。私は例外がなく、ソリューションは正しくコンパイルされます。

私が紛失していることはありますか?

ありがとう!

答えて

関連する問題