最近、Azure In-Role Caching から Azure Redis Cache (Azure Web サイトで使用されている) に移行しました。
私は現在、コードをレビューしている最中で、ある行が私の目に留まりました。
using Microsoft.Practices.TransientFaultHandling;
// CODE
_retryPolicy = new RetryPolicy<CacheTransientErrorDetectionStrategy>(retryStrategy);
// CODE
_retryPolicy.ExecuteAction(() => dataCache.StringGet(fullCacheKey));
TransientFaultHandling アセンブリの RetryPolicy は Redis Cache にとって意味がありますか? それとも、インロール キャッシュの代わりに Azure Redis を使用しているため、これは実際にはもはや目的のないコードですか?