C#C
C#3y ago
sev_sev

❔ Trouble moving from MVC 5 to Aspnet Core

Sup guys. I'm moving from MVC 5 to Asp Core and I'm having trouble with RedirectToAction. I'm setting the RouteValues to new { Test = "Hello World" }. But when it gets to my ActionFilterAttribute, the ActionExecutingContext.RouteData.Values["Test"] is null. What am I missing?
Was this page helpful?