Skip to content

Removed obsolete Microsoft.AspNetCore.Http.Abstractions #85

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

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

Keboo
Copy link
Contributor

@Keboo Keboo commented Aug 30, 2024

Microsoft.AspNetCore.Http.Abstractions has been marked as obsolete.
dotnet/announcements#217

It appears that the only usage of the package was to provide HTTP status codes. This change replaces those usages with the System.Net.HttpStatusCode enum instead.

I realized after opening this that there is a CommunityToolkit.Datasync.Server.Abstractions.Http.HttpStatusCodes as well. I am wondering if it is preferable to use it, or convert everything over to System.Net.HttpStatusCode

Microsoft.AspNetCore.Http.Abstractions has been marked as obsolete.
dotnet/announcements#217

It appears that the only usage of the package was to provide HTTP status codes. This change replaces those usages with the System.Net.HttpStatusCode enum instead.
@adrianhall adrianhall self-requested a review August 30, 2024 19:13
@adrianhall adrianhall merged commit a0b8141 into CommunityToolkit:main Aug 30, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants