You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Microsoft.AspNetCore.Builder.MinimalActionEndpointConventionBuilder class was renamed to Microsoft.AspNetCore.Builder.DelegateEndpointConventionBuilder.
The Microsoft.AspNetCore.Builder.MinimalActionEndpointRouteBuilderExtensions class was renamed to Microsoft.AspNetCore.Builder.DelegateEndpointRouteBuilderExtensions.
The Delegate parameter to Map, MapGet, MapPost, MapPut, MapDelete, MapMethod, MapFallback and RequestDelegateFactory.Create was renamed from action to handler.
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 and remove "minimal" and "action" from the APIs.
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.
Description
In RC1, the following APIs were renamed.
Microsoft.AspNetCore.Builder.MinimalActionEndpointConventionBuilder
class was renamed toMicrosoft.AspNetCore.Builder.DelegateEndpointConventionBuilder
.Microsoft.AspNetCore.Builder.RouteHandlerBuilder
. See [Breaking change]: Minimal API renames in RC2 #475.Microsoft.AspNetCore.Builder.MinimalActionEndpointRouteBuilderExtensions
class was renamed toMicrosoft.AspNetCore.Builder.DelegateEndpointRouteBuilderExtensions
.Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions
in RC2. See [Breaking change]: Minimal API renames in RC2 #475.Delegate
parameter toMap
,MapGet
,MapPost
,MapPut
,MapDelete
,MapMethod
,MapFallback
andRequestDelegateFactory.Create
was renamed fromaction
tohandler
.These changes were made in dotnet/aspnetcore#35570.
Version
.NET 6 RC1
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
Reason for change
This change was made to improve the consistency of type names and remove "minimal" and "action" from the APIs.
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.
Affected APIs
Microsoft.AspNetCore.Builder.MinimalActionEndpointConventionBuilder
Microsoft.AspNetCore.Builder.MinimalActionEndpointRouteBuilderExtensions
Delegate
parameter renamed fromaction
tohandler
.Microsoft.AspNetCore.Http.RequestDelegateFactory.Create(Delegate action, RequestDelegateFactoryOptions? options = null)
Discussion issue: dotnet/aspnetcore#37671
The text was updated successfully, but these errors were encountered: