[Discussion] Announcement: Minimal API renames in RC1 and RC2 #37671
Labels
area-web-frameworks
*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Milestone
Discussion for the following announcements:
Versions
Description
In RC1, the following APIs were renamed.
Microsoft.AspNetCore.Builder.MinimalActionEndpointConventionBuilder
class was renamed toMicrosoft.AspNetCore.Builder.DelegateEndpointConventionBuilder
.Microsoft.AspNetCore.Builder.MinimalActionEndpointRouteBuilderExtensions
class was renamed toMicrosoft.AspNetCore.Builder.DelegateEndpointRouteBuilderExtensions
.Delegate
parameter toMap
,MapGet
,MapPost
,MapPut
,MapDelete
,MapMethod
,MapFallback
andRequestDelegateFactory.Create
was renamed fromaction
tohandler
.These changes were made in #35570.
In RC2, the following APIs were renamed or merged.
Microsoft.AspNetCore.Builder.DelegateEndpointConventionBuilder
class was renamed toMicrosoft.AspNetCore.Builder.RouteHandlerBuilder
.Microsoft.AspNetCore.Http.OpenApiDelegateEndpointConventionBuilderExtensions
class was renamed toMicrosoft.AspNetCore.Http.OpenApiRouteHandlerBuilderExtensions
.Microsoft.AspNetCore.Builder.DelegateEndpointRouteBuilderExtensions
class was removed and all of its methods were merged into the existingMicrosoft.AspNetCore.Builder.EndpointRouteBuilderExtensions
class.These changes were made in #36578.
Type of breaking change
Recommended action
It is recommended you recompile any projects built with an earlier SDK. For most projects, this should be all that is necessary.
If any of these type names or parameter names were referenced directly by name, the source should be updated to reflect the new names.
The text was updated successfully, but these errors were encountered: