You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When manipulating items using the methods of the OutputCacheManager, RemoveItem for example.
The order of the "RouteValues" should not be important.
Just add "OrderBy" key to this code in the KeyBuilder class for the method
public string BuildKey(string controllerName, string actionName, RouteValueDictionary routeValues)
if (routeValues != null)
{
foreach (var routeValue in routeValues.OrderBy(c => c.Key))
{
builder.Append(BuildKeyFragment(routeValue));
}
}
Best regards
The text was updated successfully, but these errors were encountered:
Hi,
When manipulating items using the methods of the OutputCacheManager, RemoveItem for example.
The order of the "RouteValues" should not be important.
Just add "OrderBy" key to this code in the KeyBuilder class for the method
public string BuildKey(string controllerName, string actionName, RouteValueDictionary routeValues)
Best regards
The text was updated successfully, but these errors were encountered: