Soenneker.AngleSharp.Parser 4.0.57

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.AngleSharp.Parser --version 4.0.57
                    
NuGet\Install-Package Soenneker.AngleSharp.Parser -Version 4.0.57
                    
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.AngleSharp.Parser" Version="4.0.57" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.AngleSharp.Parser" Version="4.0.57" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.AngleSharp.Parser" />
                    
Project file
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.AngleSharp.Parser --version 4.0.57
                    
#r "nuget: Soenneker.AngleSharp.Parser, 4.0.57"
                    
#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.AngleSharp.Parser@4.0.57
                    
#: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.AngleSharp.Parser&version=4.0.57
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.AngleSharp.Parser&version=4.0.57
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.AngleSharp.Parser

A thread-safe cache of AngleSharp HtmlParser instances keyed by context type.

Install

dotnet add package Soenneker.AngleSharp.Parser

Quick start

using Soenneker.AngleSharp.Parser.Registrars;
using Microsoft.Extensions.DependencyInjection;

var services = new ServiceCollection();
var result = services.AddAngleSharpParserAsSingleton();

Adds IAngleSharpParser as a singleton service.

What you get

  • IAngleSharpParser — A thread-safe cache of AngleSharp HtmlParser instances keyed by context type.
  • AngleSharpParserRegistrar — Registers the thread-safe AngleSharp parser cache service.
  • AngleSharpContextType — Represents the angle sharp context type values.

API at a glance

API What it does Result / important behavior
AngleSharpParserRegistrar.AddAngleSharpParserAsSingleton(services) Adds IAngleSharpParser as a singleton service. The same service collection, so additional registrations can be chained.
AngleSharpParserRegistrar.AddAngleSharpParserAsScoped(services) Adds IAngleSharpParser as a scoped service. The same service collection, so additional registrations can be chained.
AngleSharpContextType.Default Represents the default value. Represents the default value.
AngleSharpContextType.Fast Represents the fast value. Represents the fast value.
AngleSharpContextType.WithLoader Represents the with loader value. Represents the with loader value.

Practical notes

  • Dispose instances you own when their scope ends so held resources can be released.
Product 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.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Soenneker.AngleSharp.Parser:

Package Downloads
Soenneker.Html.Parser

A utility library for HTML parsing related operations

Soenneker.Extensions.String.Html

A collection of helpful html string extension methods

Soenneker.Html.Formatter

A utility library that formats and normalizes HTML strings and files.

Soenneker.Html.Normalizer

Deterministic, configurable HTML normalization for hashing and change detection.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.59 0 8/30/2026
4.0.58 0 8/29/2026
4.0.57 0 8/29/2026
4.0.56 0 8/29/2026
4.0.55 0 8/29/2026
4.0.54 247 8/26/2026
4.0.53 168 8/26/2026
4.0.52 301 8/24/2026
4.0.51 403 8/21/2026
4.0.50 468 8/18/2026
4.0.49 527 8/12/2026
4.0.48 119 8/12/2026
4.0.47 578 8/9/2026
4.0.46 310 8/8/2026
4.0.45 623 8/7/2026
4.0.44 187 8/6/2026
4.0.43 246 8/1/2026
4.0.42 416 7/29/2026
4.0.41 477 7/29/2026
4.0.40 129 7/28/2026
Loading failed