Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Discussion] Announcement: Minimal API renames in RC1 and RC2 #37671

Closed
2 tasks done
halter73 opened this issue Oct 19, 2021 · 1 comment
Closed
2 tasks done

[Discussion] Announcement: Minimal API renames in RC1 and RC2 #37671

halter73 opened this issue Oct 19, 2021 · 1 comment
Labels
area-web-frameworks *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Milestone

Comments

@halter73
Copy link
Member

Discussion for the following announcements:

  1. [Breaking change]: Minimal API renames in RC1 aspnet/Announcements#474
  2. [Breaking change]: Minimal API renames in RC2 aspnet/Announcements#475

Versions

  1. .NET 6 RC1
  2. .NET 6 RC2

Description

In RC1, the following APIs were renamed.

  • 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.

These changes were made in #35570.

In RC2, the following APIs were renamed or merged.

  • The Microsoft.AspNetCore.Builder.DelegateEndpointConventionBuilder class was renamed to Microsoft.AspNetCore.Builder.RouteHandlerBuilder.
  • The Microsoft.AspNetCore.Http.OpenApiDelegateEndpointConventionBuilderExtensions class was renamed to Microsoft.AspNetCore.Http.OpenApiRouteHandlerBuilderExtensions.
  • The Microsoft.AspNetCore.Builder.DelegateEndpointRouteBuilderExtensions class was removed and all of its methods were merged into the existing Microsoft.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.

@halter73 halter73 added the area-web-frameworks *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels label Oct 19, 2021
@halter73 halter73 added this to the Discussions milestone Oct 19, 2021
@adityamandaleeka adityamandaleeka changed the title [Discussion] Announcment: Minimal API renames in RC1 and RC2 [Discussion] Announcement: Minimal API renames in RC1 and RC2 Oct 19, 2021
@ghost
Copy link

ghost commented Dec 18, 2021

Thank you for contacting us. Due to a lack of activity on this discussion issue we're closing it in an effort to keep our backlog clean. If you believe there is a concern related to the ASP.NET Core framework, which hasn't been addressed yet, please file a new issue.

This issue will be locked after 30 more days of inactivity. If you still wish to discuss this subject after then, please create a new issue!

@ghost ghost closed this as completed Dec 18, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jan 17, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-web-frameworks *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Projects
None yet
Development

No branches or pull requests

1 participant