Minimal API renames in RC 2

To improve the consistency of type names, two classes were renamed, and one class was removed and its methods merged into the existing EndpointRouteBuilderExtensions class.

Version introduced

ASP.NET Core 6.0 RC 2

Old and new behavior

Change category

This change affects binary compatibility and source compatibility.

Reason for change

This change was made to improve the consistency of type names. Now that there is a new RouteHandlerOptions class, we wanted to replace DelegateEndpoint with RouteHandler.

Recompile any projects built with an earlier SDK. For most projects, this should be all that's necessary.

If your code references any of these type names directly by name, updated the code to reflect the new names.

Affected APIs

  • Microsoft.AspNetCore.Builder.DelegateEndpointConventionBuilder
  • Microsoft.AspNetCore.Http.OpenApiDelegateEndpointConventionBuilderExtensions
  • Microsoft.AspNetCore.Builder.DelegateEndpointRouteBuilderExtensions