BlazorDevTools.Runtime 0.1.12

dotnet add package BlazorDevTools.Runtime --version 0.1.12
                    
NuGet\Install-Package BlazorDevTools.Runtime -Version 0.1.12
                    
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="BlazorDevTools.Runtime" Version="0.1.12" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BlazorDevTools.Runtime" Version="0.1.12" />
                    
Directory.Packages.props
<PackageReference Include="BlazorDevTools.Runtime" />
                    
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 BlazorDevTools.Runtime --version 0.1.12
                    
#r "nuget: BlazorDevTools.Runtime, 0.1.12"
                    
#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 BlazorDevTools.Runtime@0.1.12
                    
#: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=BlazorDevTools.Runtime&version=0.1.12
                    
Install as a Cake Addin
#tool nuget:?package=BlazorDevTools.Runtime&version=0.1.12
                    
Install as a Cake Tool

BlazorDevTools.Runtime

BlazorDevTools.Runtime connects a Blazor WebAssembly app to the Blazor DevTools browser extension.

Install it:

dotnet add package BlazorDevTools.Runtime

Register it in Program.cs:

using BlazorDevTools.Runtime;

var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
builder.RootComponents.Add<HeadOutlet>("head::after");

builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
builder.Services.AddBlazorDevToolsRuntime();

await builder.Build().RunAsync();

Load the bridge script from the package in wwwroot/index.html:

<script src="_content/BlazorDevTools.Runtime/devtoolsBridge.js"></script>
<script src="_framework/blazor.webassembly.js"></script>

Choose an integration mode:

  • simple mode - use an app base class that inherits DevtoolsComponentBase and apply it from _Imports.razor
  • experimental mode - for large partial .razor.cs : ComponentBase apps, the package also carries the proxy generator automatically

Simple mode example:

using BlazorDevTools.Runtime;

namespace MyApp;

public abstract class AppComponentBase : DevtoolsComponentBase
{
}
@using BlazorDevTools.Runtime
@inherits AppComponentBase

The browser extension must also be installed locally. See the repository README for full setup, troubleshooting, and workflow details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows 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
0.1.12 107 4/25/2026
0.1.11 99 4/25/2026