-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
6.0.0Breaking changeDocumentedThe breaking change has been published to the .NET Core docsThe breaking change has been published to the .NET Core docs
Description
Description
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 dotnet/aspnetcore#36578.
Version
.NET 6 RC2
Previous behavior
There is no behavioral change. These are just renames.
New behavior
There is no behavioral change. These are just renames.
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.
Reason for change
This change was made to improve the consistency of type names replacing DelegateEndpoint
with RouteHandler
now that there is a new RouteHandlerOptions
class.
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 were referenced directly by name, the source should be updated to reflect the new names.
Affected APIs
Microsoft.AspNetCore.Builder.DelegateEndpointConventionBuilder
Microsoft.AspNetCore.Http.OpenApiDelegateEndpointConventionBuilderExtensions
Microsoft.AspNetCore.Builder.DelegateEndpointRouteBuilderExtensions
Discussion issue: dotnet/aspnetcore#37671
Metadata
Metadata
Assignees
Labels
6.0.0Breaking changeDocumentedThe breaking change has been published to the .NET Core docsThe breaking change has been published to the .NET Core docs