Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The WinHttpHandler
class was removed from the System.Net.Http.dll assembly. It's now available only as an out-of-band (OOB) NuGet package.
Version introduced
5.0
Change description
In previous .NET versions, the WinHttpHandler class is available as part of the core .NET libraries. Starting in .NET 5, the WinHttpHandler class is only available as a separately installed NuGet package.
Recommended action
Install the System.Net.Http.WinHttpHandler NuGet package. Or, if you don't require WinHTTP-specific features, use SocketsHttpHandler instead.