I implemented a custom authentication handler and needs to derive from a class defined in Microsoft.AspNetCore.Authentication.
To solve that the answer in following issue helped my:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi guys,
I am working on an Asp.Net Core 7 web API project. (using .NET 7) I got this deprecated message when I open Nuget package manager for Microsoft.AspNetCore.Authentication 2.2 and Microsoft.AspNetCore.Http 2.2.2. How can I fix them?
Thank you.
I implemented a custom authentication handler and needs to derive from a class defined in Microsoft.AspNetCore.Authentication.
To solve that the answer in following issue helped my:
Hi @Cenk
You can uninstall these packages, because they are obsolete and has been deprecated as part of the .NET Package Deprecation effort.
To the authentication, you can use the following packages:
Then, to send Http Request, there is no need to install additional package, you can register the HttpClient service using AddHttpClient()
, then use IHttpClientFactory or HttpClient to send Http Request. More detail information, see Make HTTP requests using IHttpClientFactory in ASP.NET Core.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Dillion