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

fixed duplicate key exception #27

Closed anorborg closed 9 years ago

anorborg commented 10 years ago

If the value of VaryByCustom is equal to a key that has already been added to the route values, there will be a conflict. Instead of add, it now adds or replaces the given key.

moonpyk commented 9 years ago

Thank you for the patch, will be merged

moonpyk commented 9 years ago

Available on nuget.org : https://www.nuget.org/packages/MvcDonutCaching/1.3.0-rc2