Skip to content

Add an option to the Web API project template to allow the included content to use Minimal APIs instead of controllers #35996

@DamianEdwards

Description

@DamianEdwards

dotnet new webapi --minimal would produce a project that is functionally similar to the existing project the template creates (i.e. the weather API) but implemented with the new MinimalAPIs.

The option should be displayed in the Visual Studio new project dialog experience so that it's easily discoverable when creating projects there.

Metadata

Metadata

Assignees

Labels

area-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcfeature-minimal-actionsController-like actions for endpoint routingfeature-templatesold-area-web-frameworks-do-not-use*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions