DotNetBrowser explained

DotNetBrowser
Developer:TeamDev
Operating System:Microsoft Windows, Linux, macOS
Programming Language:C#, C++
Genre:Framework, Web browser
License:Proprietary[1]

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

Features

Some main features are as follows:

Usage

Primary usage is embedding a browser into various .NET desktop applications and displaying the web pages.[9] 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[10] and VSTO add-ins for Microsoft Office.[11]

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

Example

WPF

XAML markup C#using System;using System.Windowsusing 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

External links

Notes and References

  1. Web site: DotNetBrowser Product Licence Agreement. 12 March 2021. TeamDev. TeamDev.
  2. Web site: DotNetBrowser on StackOverflow . 14 March 2021.
  3. Web site: DotNetBrowser on NuGet. 14 March 2021.
  4. Web site: c # - i want to get location information with dotnetbrowser.
  5. Web site: Chromium Web Browser Control in .NET Applications . DZone . 2021-05-19 . 2021-05-19 . https://web.archive.org/web/20210519152432/https://dzone.com/articles/chromium-web-browser-control . dead .
  6. Web site: DotNetBrowser and invalid external method call.
  7. Web site: Using dotnetbrowser to call JavaScript function to c#. 14 June 2018 .
  8. Web site: The mutual call between the JS code of the DotNetBrowser internal page and the external C# code. 2021-05-19. 2021-05-19. https://web.archive.org/web/20210519151102/https://my.oschina.net/Tsybius2014/blog/1055590. dead.
  9. Web site: Creating an HTML UI for Desktop .NET Applications. 12 March 2021. InfoQ. InfoQ.
  10. Web site: Mihika Kapoor . Frame Building with C# and VB.NET . medium.com . 2 July 2016 . 17 May 2021.
  11. Web site: Using VSTO to develop Word AddIn, is there a third-party kernel that can replace webbrowser? . 21 May 2021.