moonpyk / mvcdonutcaching

ASP.NET MVC Extensible Donut Caching brings donut caching to ASP.NET MVC 3 and later. The code allows you to cache all of your page apart from one or more Html.Actions which can be executed every request. Perfect for user specific content.
https://github.com/moonpyk/mvcdonutcaching
MIT License
142 stars 49 forks source link

Azure Redis output cache provider issue #35

Closed hpcsc closed 9 years ago

hpcsc commented 9 years ago

Hi,

I use the library in my ASP.NET MVC project, with Azure Redis output cache provider from Microsoft, but there is exception if I use DonutOutputCache attribute. Seem like the library cannot create instance of the output cache provider.

image

My configuration is below. The configuration should have no problem because I use it with original OutputCache attribute and working fine

image

michaelhaas88 commented 9 years ago

You have to use the provider like this: unbenannt

moonpyk commented 9 years ago

So that's not a bug :)

olaj commented 7 years ago

I just want to add to this and maybe help someone.

The "type" attribute should be.

type="Microsoft.Web.Redis.RedisOutputCacheProvider,Microsoft.Web.RedisOutputCacheProvider"

What is hard to see (and you can't copy paste since it's an image) is that they are actually different. Copy paste the above and you should be fine.

frankfuu commented 6 years ago

Thanks for the heads up @olaj :)