Aspectly.Bridge.CefSharp 2.0.14

dotnet add package Aspectly.Bridge.CefSharp --version 2.0.14
                    
NuGet\Install-Package Aspectly.Bridge.CefSharp -Version 2.0.14
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspectly.Bridge.CefSharp" Version="2.0.14" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Aspectly.Bridge.CefSharp" Version="2.0.14" />
                    
Directory.Packages.props
<PackageReference Include="Aspectly.Bridge.CefSharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Aspectly.Bridge.CefSharp --version 2.0.14
                    
#r "nuget: Aspectly.Bridge.CefSharp, 2.0.14"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Aspectly.Bridge.CefSharp@2.0.14
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Aspectly.Bridge.CefSharp&version=2.0.14
                    
Install as a Cake Addin
#tool nuget:?package=Aspectly.Bridge.CefSharp&version=2.0.14
                    
Install as a Cake Tool

Aspectly.Bridge.CefSharp

CefSharp browser bridge for Aspectly - enables bidirectional communication with JavaScript via CefSharp (Chromium Embedded Framework).

Installation

dotnet add package Aspectly.Bridge.CefSharp

Usage

using Aspectly.Bridge;
using Aspectly.Bridge.CefSharp;
using CefSharp.Wpf;

// Create browser
var browser = new ChromiumWebBrowser("https://your-app.com");

// Create bridge
var browserBridge = new CefSharpBrowserBridge(browser);
var bridge = new BridgeHost(browserBridge);

// Register handlers
bridge.RegisterHandler<MyParams, MyResult>("myMethod", async (p) => {
    return new MyResult { Value = p.Input * 2 };
});

// Initialize
await bridge.InitializeAsync();

// Call JS methods
var result = await bridge.SendAsync<JsResult>("jsMethod", new { data = "hello" });

Requirements

  • .NET 8.0 (Windows) or .NET Framework 4.8
  • CefSharp.Wpf

License

MIT

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.14 2,735 3/16/2026
2.0.13 107 3/16/2026
2.0.12 111 3/16/2026
2.0.11 109 3/16/2026
2.0.10 105 3/16/2026
2.0.9 110 3/16/2026
2.0.8 112 3/16/2026
2.0.7 111 3/11/2026
2.0.6 105 3/10/2026
2.0.5 105 3/8/2026
2.0.4 100 3/8/2026