To be able to use DotNetBrowser, you should obtain a licence by filling a form at https://www.teamdev.com/dotnetbrowser#evaluate
Install-Package DotNetBrowser -Version 2.3.0
dotnet add package DotNetBrowser --version 2.3.0
<PackageReference Include="DotNetBrowser" Version="2.3.0" />
paket add DotNetBrowser --version 2.3.0
#r "nuget: DotNetBrowser, 2.3.0"
This version of the library brings an upgraded Chromium 84 engine. To implement some changes of this Chromium version, DotNetBrowser API has got some breaking changes as well.
Drag and Drop events interception and IDataObject support
With this update, we have added IDragAndDrop.EnterDragHandler and IDragAndDrop.DropHandler handlers. It is now possible to intercept the corresponding drag and drop events on the web page in the hardware-accelerated mode.
The DOM key events were extended with the Character property. Now it is possible to get the character generated by pressing the key and associated with the intercepted DOM key event.
UrlRequest class was extended with the following properties: Browser, ResourceType, SslVersion. It allows getting more information about the particular URL request.
- ShowNetErrorPageHandler not working properly for websites with invalid certificates.
- Increased page load time when loading the same page several times.
- The .NET memory leak related to the render processes remaining in memory after disposing the browser.
- DoubleClick DOM events not received from the web page.
- The Visibility property binding not working properly for WPF BrowserView.
- Context menu being shown only once for Flash objects.
- Context menu not being shown for PDF files opened in the browser.
- A few memory leaks for registering/unregistering .NET objects via JS-.NET bridge.
- BrowserView not being shown on the second TabItem after initializing.
- CSS 3 cursors not displaying properly in Windows 7 and Windows 2008 R2 environments.
- The incorrect image on displaying the WPF BrowserView in the hardware-accelerated mode.
The full list of improvements in this release is available at: https://dotnetbrowser-support.teamdev.com/release-notes/2020/v2-3.html
Some API of this version is not backward compatible with 2.2. If your application already uses DotNetBrowser 2.2, please refer to this migration guide: https://dotnetbrowser-support.teamdev.com/docs/guides/migration/v2-2-v2-3.html
It contains the detailed instructions on how to change your code to work with version 2.3.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on DotNetBrowser:
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on DotNetBrowser:
This repository contains the source of both OpenSilver and CSHTML5. More information is available at: www.opensilver.net and www.cshtml5.com - Read README.md for the instructions on how to build the source code and how to test it.