-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
old-area-web-frameworks-do-not-use*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Milestone
Description
Discussion for the following announcements:
- [Breaking change]: Minimal API renames in RC1 aspnet/Announcements#474
- [Breaking change]: Minimal API renames in RC2 aspnet/Announcements#475
Versions
- .NET 6 RC1
- .NET 6 RC2
Description
In RC1, the following APIs were renamed.
- The
Microsoft.AspNetCore.Builder.MinimalActionEndpointConventionBuilder
class was renamed toMicrosoft.AspNetCore.Builder.DelegateEndpointConventionBuilder
. - The
Microsoft.AspNetCore.Builder.MinimalActionEndpointRouteBuilderExtensions
class was renamed toMicrosoft.AspNetCore.Builder.DelegateEndpointRouteBuilderExtensions
. - The
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.
- The
Microsoft.AspNetCore.Builder.DelegateEndpointConventionBuilder
class was renamed toMicrosoft.AspNetCore.Builder.RouteHandlerBuilder
. - The
Microsoft.AspNetCore.Http.OpenApiDelegateEndpointConventionBuilderExtensions
class was renamed toMicrosoft.AspNetCore.Http.OpenApiRouteHandlerBuilderExtensions
. - The
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
- Binary incompatible: Existing binaries may encounter a breaking change in behavior, such as failure to load/execute or different run-time behavior.
- Source incompatible: Source code may encounter a breaking change in behavior when targeting the new runtime/component/SDK, such as compile errors or different run-time behavior.
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.
uabarahona
Metadata
Metadata
Assignees
Labels
old-area-web-frameworks-do-not-use*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels