List icon Conteúdo

Publicado em 3 de dezembro de 2024

DotNetBrowser 3.0.0

We are excited to announce the release of DotNetBrowser 3.0.0!

This new major version introduces a number of new features and improvements, including WinUI 3 support, Chrome extensions, custom DOM events, and more. DotNetBrowser now requires .NET Framework 4.6.2 or later.

We did not change the API significantly, so you can easily migrate your existing code to the new version. However, we recommend that you review the migration guide to learn about the changes and improvements in DotNetBrowser 3.0.0.

More information about the new features and improvements in DotNetBrowser 3.0.0 can be found below.

Chrome extensions

DotNetBrowser now provides the Extensions API that allows you to install, update, uninstall, and work with Chrome extensions. It opens up a wide range of possibilities for integrating Chrome extensions into your applications.

With the Extensions API, you can:

  • Get a list of installed extensions;
  • Manually install Chrome extensions from Chrome Web Store;
  • Control which extensions can be manually installed by users;
  • Programmatically install Chrome extensions from CRX files;
  • Programmatically uninstall extensions that were installed from Chrome Web Store or CRX files;
  • Control which extensions can be manually uninstalled by users;
  • Get notifications when an extension is installed, updated, or uninstalled;
  • Display extension popups;
  • Simulate extension icon clicks and more.

DotNetBrowser Chrome Web Store

WinUI 3

We added support of one more UI toolkit — WinUI 3. Now, you can embed BrowserView into WinUI 3 applications and build modern desktop applications with a modern UI toolkit.

Here is how to create an example WinUI 3 application with BrowserView via the dotnet CLI:

dotnet new install DotNetBrowser.Templates::3.0.0
dotnet new dotnetbrowser.winui.app -o Example.WinUi -li <your_license_key>
dotnet run --project Example.WinUi

.NET 9 support

DotNetBrowser is tested and proven to integrate with .NET 9 desktop applications.

.NET Framework 4.6.2

4.6.2 is now minimum required .NET Framework version for DotNetBrowser 3.0.0.

Chromium 131.0.6778.70

We upgraded Chromium to a newer version, which introduces 12 security fixes, including:

For the complete list of Chromium fixes and improvements since the previous Chromium upgrade please visit the product blog posts for the following versions:

DOM touch events

DotNetBrowser DOM API allows you to subscribe to the DOM touchstart, touchmove, touchcancel, and touchend events. The following code demonstrates how to subscribe to the touch start events:

element.Events.TouchStart += (sender, e) =>
{
    ITouchEvent touchEvent = e.Event as ITouchEvent;
    IReadOnlyList<ITouchPoint> touchPoints = touchEvent?.TouchPoints;
    ITouchPoint touchPoint = touchPoints[0];
    var location = touchPoint.LocationOnWidget;
    var force = touchPoint.Force;
    var ellipse =  touchPoint.TouchEllipse;
    var touchState = touchPoint.TouchState;
};

Obsolete API was removed

The API that was previously marked as obsolete in DotNetBrowser 2, is no longer available in 3.0.0.

Here is the list of the API removed and its replacements:

  • LoadUrlParameters.PostData, which is replaced with LoadUrlParameters.UploadData;
  • VerifyCertificateParameters.VerifyStatuses, which is replaced with VerifyCertificateParameters.VerifyErrors;
  • BinariesExtractionOptions.CheckLastModificationDate, which is replaced with BinariesExtractionOptions.VerificationLevel;
  • ISpellChecker.DictionaryNames, which is replaced by ISpellChecker.Languages.

The following properties were previously available in the IEngine interface, however, they were related to the default profile and marked as obsolete:

  • IEngine.CookieStore
  • IEngine.Downloads
  • IEngine.HttpCache
  • IEngine.Network
  • IEngine.Permissions
  • IEngine.Plugins
  • IEngine.Proxy
  • IEngine.SpellChecker
  • IEngine.ZoomLevels

These properties were removed from the IEngine interface, and now available in the default profile only. For example, if you were using engine.Network, you need to use engine.Profiles.Default.Network instead.

DotNetBrowser 2 updates

We will continue upgrading Chromium in DotNetBrowser 2 during 12 months after the release of DotNetBrowser 3.0.0. Support for new .NET versions and operating systems, new features, improvements, and bug fixes will be available in DotNetBrowser 3 only. We recommend that you upgrade to DotNetBrowser 3 to benefit from the new features and improvements.

How to upgrade

If you have a valid DotNetBrowser license with active support and updates subscription, you can upgrade to DotNetBrowser 3.0.0 for free.

You can upgrade DotNetBrowser in your project by changing the version of the DotNetBrowser NuGet package dependency in your project configuration.

If you have any questions or need assistance with the upgrade, please feel free to contact us.

Download DotNetBrowser 3.0.0 (.NET Framework)
Download DotNetBrowser 3.0.0 (.NET Core)
Download DotNetBrowser 3.0.0 (Cross-platform)

Get free 30-day trial

Go Top