Soenneker.Html.Client
4.0.1075
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Html.Client --version 4.0.1075
NuGet\Install-Package Soenneker.Html.Client -Version 4.0.1075
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Html.Client" Version="4.0.1075" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Html.Client" Version="4.0.1075" />
<PackageReference Include="Soenneker.Html.Client" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Html.Client --version 4.0.1075
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Html.Client, 4.0.1075"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Html.Client@4.0.1075
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Html.Client&version=4.0.1075
#tool nuget:?package=Soenneker.Html.Client&version=4.0.1075
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Html.Client
A .NET HTTP client for HTML parsing.
Install
dotnet add package Soenneker.Html.Client
Quick start
using Soenneker.Html.Client.Registrars;
using Microsoft.Extensions.DependencyInjection;
var services = new ServiceCollection();
var result = services.AddHtmlClientAsSingleton();
Adds IHtmlClient as a singleton service.
What you get
IHtmlClient— A .NET HTTP client for HTML parsing.HtmlClientRegistrar— A .NET HTTP client for HTML parsing.
API at a glance
| API | What it does | Result / important behavior |
|---|---|---|
HtmlClientRegistrar.AddHtmlClientAsSingleton(services) |
Adds IHtmlClient as a singleton service. |
The same service collection, so additional registrations can be chained. |
HtmlClientRegistrar.AddHtmlClientAsScoped(services) |
Adds IHtmlClient as a scoped service. |
The same service collection, so additional registrations can be chained. |
Practical notes
- Dispose instances you own when their scope ends so held resources can be released.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Soenneker.Utils.HttpClientCache (>= 4.0.2041)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Html.Client:
| Package | Downloads |
|---|---|
|
Soenneker.Html.Parser
A utility library for HTML parsing related operations |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.1104 | 0 | 9/15/2026 |
| 4.0.1102 | 59 | 9/13/2026 |
| 4.0.1101 | 66 | 9/13/2026 |
| 4.0.1100 | 63 | 9/13/2026 |
| 4.0.1099 | 57 | 9/13/2026 |
| 4.0.1098 | 60 | 9/12/2026 |
| 4.0.1097 | 54 | 9/12/2026 |
| 4.0.1096 | 101 | 9/9/2026 |
| 4.0.1095 | 110 | 9/8/2026 |
| 4.0.1094 | 107 | 9/8/2026 |
| 4.0.1093 | 105 | 9/7/2026 |
| 4.0.1092 | 100 | 9/7/2026 |
| 4.0.1091 | 145 | 9/5/2026 |
| 4.0.1090 | 126 | 9/4/2026 |
| 4.0.1089 | 103 | 9/4/2026 |
| 4.0.1088 | 104 | 9/4/2026 |
| 4.0.1085 | 143 | 9/3/2026 |
| 4.0.1084 | 95 | 9/1/2026 |
| 4.0.1083 | 102 | 8/31/2026 |
| 4.0.1075 | 119 | 8/30/2026 |
Loading failed
Update dependency Soenneker.Utils.HttpClientCache to 4.0.2041 (#1612)