-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Implement a minimal version of MapAction #29684
Copy link
Copy link
Closed
Labels
DoneThis issue has been fixedThis issue has been fixedarea-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcarea-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-minimal-actionsController-like actions for endpoint routingController-like actions for endpoint routing
Milestone
Metadata
Metadata
Assignees
Labels
DoneThis issue has been fixedThis issue has been fixedarea-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcarea-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-minimal-actionsController-like actions for endpoint routingController-like actions for endpoint routing
Type
Fields
Give feedbackNo fields configured for issues without a type.
This issue tracks what should be included in the first PR that adds a
MapActionextension method toIEndpointRouteBuilder.Requirements:
[FromBody],[FromRoute],[FromQuery],[FromHeaders],[FromService]parameters.[FromBody]will be JSON-only for the first iteration[FromQuery]will likely not support complex types due to MVC-isms[Route]attribute instead of an explicit parameter.Follow up:
Is your feature request related to a problem? Please describe.
I want to be able to use MVC features like parameter binding without having to write a Controller.
Describe the solution you'd like
A
MapActionextension method forIEndpointRouteBuilderthat accepts controller action-like delegates.