Galosys.Foundation.AngleSharp
26.10.9.1
dotnet add package Galosys.Foundation.AngleSharp --version 26.10.9.1
NuGet\Install-Package Galosys.Foundation.AngleSharp -Version 26.10.9.1
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="Galosys.Foundation.AngleSharp" Version="26.10.9.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Galosys.Foundation.AngleSharp" Version="26.10.9.1" />
<PackageReference Include="Galosys.Foundation.AngleSharp" />
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 Galosys.Foundation.AngleSharp --version 26.10.9.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Galosys.Foundation.AngleSharp, 26.10.9.1"
#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 Galosys.Foundation.AngleSharp@26.10.9.1
#: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=Galosys.Foundation.AngleSharp&version=26.10.9.1
#tool nuget:?package=Galosys.Foundation.AngleSharp&version=26.10.9.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Galosys.Foundation.AngleSharp
DI
成熟度: 🟡 可用 — 功能完整,测试或文档可能不完善
services.AddAngleSharp();
QuickStart
var sw = Stopwatch.StartNew();
var html = @"<p>AngleSharp 是一个 .NET HTML 解析器,支持 CSS 选择器和 DOM 操作。</p>";
sw.Start();
var doc = _htmlParser.ParseDocument(html);
var text = doc.Body.TextContent;
Tracer.Trace(text, "anglesharp html parser");
sw.Stop();
Tracer.Trace(sw.ElapsedMilliseconds, "anglesharp html parser");
sw.Restart();
var document = await _browsingContext.OpenAsync(r => r.Content(html));
text = document.Body.TextContent;
Tracer.Trace(text, "anglesharp html parser");
sw.Stop();
Tracer.Trace(sw.ElapsedMilliseconds, "anglesharp browsing context");
| 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
- anglesharp (>= 1.1.2)
- Galosys.Foundation.Core (>= 26.10.9.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 26.10.9.1 | 47 | 10/9/2026 |
| 26.10.8.1 | 62 | 10/8/2026 |
| 26.9.23.1 | 99 | 9/23/2026 |
| 26.9.16.1 | 90 | 9/16/2026 |
| 26.9.15.1 | 92 | 9/15/2026 |
| 26.9.14.1 | 90 | 9/14/2026 |
| 26.9.10.1 | 101 | 9/10/2026 |
| 26.9.3.1 | 89 | 9/3/2026 |
| 26.8.29.1 | 96 | 8/31/2026 |
| 26.8.26.1 | 100 | 8/26/2026 |
| 26.8.23.1 | 98 | 8/23/2026 |
| 26.8.21.1 | 96 | 8/21/2026 |
| 26.8.20.1 | 99 | 8/20/2026 |
| 26.8.18.1 | 107 | 8/18/2026 |
| 26.8.17.1 | 104 | 8/17/2026 |
| 26.8.13.2 | 105 | 8/13/2026 |
| 26.8.13.1 | 103 | 8/13/2026 |
| 26.8.12.2 | 102 | 8/12/2026 |
| 26.8.12.1 | 103 | 8/12/2026 |
| 26.8.10.1 | 110 | 8/10/2026 |
Loading failed