-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
Labels
affected-mediumThis issue impacts approximately half of our customersThis issue impacts approximately half of our customersarea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-routingseverity-minorThis label is used by an internal toolThis label is used by an internal tool
Milestone
Description
This would allow MapControllerRoute to be used with nameof more seamlessly:
Today we have to do something like this:
endpoints.MapControllerRoute("name", "/{**path}", defaults: new
{
controller = nameof(HomeController).Replace("Controller", ""),
action = nameof(HomeController.Hello)
});This would be better:
endpoints.MapControllerRoute("name", "/{**path}", defaults: new
{
controller = nameof(HomeController),
action = nameof(HomeController.Hello)
});ShreyasJejurkar, alienwareone, Trivivium and adamkli
Metadata
Metadata
Assignees
Labels
affected-mediumThis issue impacts approximately half of our customersThis issue impacts approximately half of our customersarea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-routingseverity-minorThis label is used by an internal toolThis label is used by an internal tool