Allow the full controller/action name in RedirectToAction
Open
affected-few
area-mvc
enhancement
feature-mvc-execution-pipeline
severity-minor
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
The overloads of RedirectToAction method which take a controller string only works when the controller name is sent without the "Controller" suffix (works with "Home" but not with "HomeController"). It'd be neat if it works both cases to allow the usage of `nameof` operator.
Same goes with action names but with the "Async" suffix".
Contributor guide
Assessment
This issue has not been assessed yet.