Dotnet logo

.NET Tools

Essential productivity kit for .NET and game developers

.NET Tools How-To's Livestreams

OSS Power-Ups: AngleSharp – Webinar Recording

The recording of our webinar, OSS Power-Ups: AngleSharp, with Florian Rappl, is available. This was the eleventh episode of our OSS Power-Ups series, where we put a spotlight on open-source .NET projects. Subscribe to our community newsletter to receive notifications about future webinars.

Ever wanted to know the internals of an evergreen web browser? How does HTML5 error correction work and why is it the cure to different looking webpages? But most importantly: How can we deal with webpages most efficiently in .NET? The AngleSharp project gives answers to all of these questions. It is – at its core – a headless browser engine, which has a modular architecture. If we only want to parse HTML then we get a state of the art HTML5 parser. In this session we cover the project and dive into some of the lesser known, but very important, parts of HTML5.

Webinar agenda:

  • 00:00 – Welcome!
  • 01:06 – About OSS PowerUps
  • 04:01 – Hello Florian!
  • 08:20 – What is AngleSharp?
  • 13:05 – AngleSharp Hello World Example
  • 16:40 – Content Parsing and HTML5
  • 26:10 – DOM Object Model and Query Selectors
  • 32:30 – XPath vs. CSS Selectors
  • 33:50 – Document Manipulation
  • 36:38 – HTML Pitfalls AngleSharp saves you from
  • 40:50 – HTML vs. JSX Formatting (Pretty Markup Formatting)
  • 46:36 – Using HttpClient over WebRequest
  • 50:38 – Question: Can AngleSharp detect unused CSS?
  • 52:03 – Question: Quirky URLs (Uri vs. Url)
  • 62:05 – About Performance
  • 67:50 – About HTML & CSS Specifications
  • 74:04 – Where is AngleSharp being used? (Blazor, bUnit)
  • 79:34 – JavaScript Support
  • 87:47 – Outro


About the presenter:

Florian Rappl

Dr. Florian Rappl is Solution Architect for IoT and distributed web applications at smapiot. His main interest lies in the creation of innovative architectures that scale in development and usage. He won several prizes for his work and is a Microsoft MVP in the area of developer technologies. He regularly blogs and writes articles for popular magazines and websites in the web development space.

Follow Florian on Twitter.

image description