sev_sev
sev_sev
CC#
Created by sev_sev on 12/20/2022 in #help
❔ 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?
2 replies