© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
1 reply
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
RedirectToAction
. I'm setting the RouteValues to
new { Test = "Hello World" }
new { Test = "Hello World" }
. But when it gets to my
ActionFilterAttribute
ActionFilterAttribute
, the
ActionExecutingContext.RouteData.Values["Test"]
ActionExecutingContext.RouteData.Values["Test"]
is null. What am I missing?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ aspnet core not recognizing images
C#CC# / help
3y ago
✅ Cannot connect to mysql docker container db from AspNet Core App
C#CC# / help
2y ago
ASP CORE MVC Identity
C#CC# / help
17mo ago