WinHttpHandler removed from .NET runtime
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.
Affected APIs
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.