DotNetBrowser is a proprietary .NET library that provides a Chromium-based engine which can be used to load and display web pages. It is developed and supported by TeamDev since 2015.

Features

Some main features are as follows:

  • Load and display the web page.
  • Embed a Chromium-based browser in a .NET desktop application as an Avalonia UI, WPF or Windows Forms control.
  • Handle navigation and network events.
  • Access Document Object Model of the loaded web page.
  • Execute JavaScript on the loaded web page, inject .NET objects and call them from JavaScript

Usage

Primary usage is embedding a browser into various .NET desktop applications and displaying the web pages. DotNetBrowser can be used as a headless browser. The headless mode is also available on Linux and macOS.

Another known use-cases are creating web-based kiosk applications and VSTO add-ins for Microsoft Office.

More examples and use-cases are available in the repository.

Example

WPF

XAML markup

C#

Windows Forms

C#

See also

External links

  • - the DotNetBrowser support website containing documentation and release notes.
  • , 5 October 2022 - the repository containing various examples of using DotNetBrowser.