Michael Conrad

Results 145 comments of Michael Conrad

Yup that looks fine. Just a small thing, you don't have to use `Get` if `self` is already of type `T`, just use `Get` which will be faster because it...

@andreymir Do you have a way to reproduce this? I don't thing that has anything todo with .NET Core. The problem might be that load script blocks or tries to...

@andreymir Hey, thanks for your efforts to crate a sample repository. I did not have time yet to test it, too much other things to do. Regarding the async support....

> or am I missing something? No I think you are right, that `.Wait` could cause issues here. I haven't been running into any issues under ASP.NET Core though, do...

Hi @Cherepoc , What priority do you mean exactly, the per cache item policy setting? And why do you want to set it manually? Thanks!

Ok got it, For System.Web.Caching in CacheManager, all items gets priority `Normal`. Setting the priority to all items to something else wouldn't mean anything I guess because the logic during...

You are right, different instances would work in System.Web.Caching because they actually share the same cache instance. Let me know how it goes ;)

Yup, no you cannot set the priority there. Anyways, I'll mark this as enhancement / feature request. It might be a bigger change because it's not that easy to hook...

> All other layers uses the IDistributedCache interface Why would you do that? IDistributedCache limits the functionality by a lot > The example should use the "cache aside" pattern Not...

For `IDistributedCache` you have to add Caching.Abstractions everywhere. For ICacheManager you have to add CacheManager.Core everywhere. What's the difference? ^^ In addition, you loose a lot of functionality of ICacheManager...