HOME

TheInfoList



OR:

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 a WPF or
Windows Forms Windows Forms (WinForms) is a free and open-source graphical (GUI) class library included as a part of Microsoft .NET, .NET Framework or Mono Framework, providing a platform to write client applications for desktop, laptop, and tablet PCs. Wh ...
control. * Handle navigation and network events. * Access
Document Object Model The Document Object Model (DOM) is a cross-platform and language-independent interface that treats an XML or HTML document as a tree structure wherein each node is an object representing a part of the document. The DOM represents a docum ...
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 A headless browser is a web browser without a graphical user interface. Headless browsers provide automated control of a web page in an environment similar to popular web browsers, but they are executed via a command-line interface or using netw ...
. 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 th
DotNetBrowser Examples
repository.


Example


WPF

XAML markup C# using System; using System.Windows using DotNetBrowser.Browser; using DotNetBrowser.Engine; namespace Sample.Wpf; public partial class MainWindow : Window


Windows Forms

C# using System; using System.Windows.Forms; using DotNetBrowser.Browser; using DotNetBrowser.Engine; using DotNetBrowser.WinForms; namespace Sample.WinForms; public partial class Form1 : Form


See also

*
Chromium Embedded Framework The Chromium Embedded Framework (CEF) is an open-source software framework for embedding a Chromium web browser within another application. This enables developers to add web browsing functionality to their application, as well as the ability to ...
*
Electron The electron (, or in nuclear reactions) is a subatomic particle with a negative one elementary electric charge. Electrons belong to the first generation of the lepton particle family, and are generally thought to be elementary partic ...


References


External links

* * - the DotNetBrowser support website containing documentation and release notes. * {{citation , url = https://github.com/TeamDev-IP/DotNetBrowser-Examples/, title = DotNetBrowser Examples, date = 5 October 2022 - the repository containing various examples of using DotNetBrowser. .NET software Chromium Proprietary software Windows-only software