Soenneker.Blazor.Utils.BlazorInvoker 4.0.1025

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

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Blazor.Utils.BlazorInvoker

A generic invoker to simplify JavaScript to C# interaction

BlazorInvoker<TInput> is an encapsulation class designed as a generic invocation point from JS to C#. It's used for 'fire-and-forget' with no return value.

Installation

dotnet add package Soenneker.Blazor.Utils.BlazorInvoker

Usage

C#

var stringInvoker = new BlazorInvoker<string>(async (input) =>
{
    await SomeAsyncOperation(input);
});

JS

dotnetObject.invokeMethodAsync('Invoke', 'JavaScript argument');
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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 (1)

Showing the top 1 NuGet packages that depend on Soenneker.Blazor.Utils.BlazorInvoker:

Package Downloads
Soenneker.Blazor.Utils.InteropEventListener

Manages the registration, removal, and disposal of .NET object references used for interop event listeners.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.1025 0 3/12/2026
4.0.1024 156 3/11/2026
4.0.1023 31 3/10/2026
4.0.1022 101 3/10/2026
4.0.1021 490 3/10/2026
4.0.1020 36 3/10/2026
4.0.1019 110 3/9/2026
4.0.1018 36 3/9/2026
4.0.1017 40 3/9/2026
4.0.1016 226 3/9/2026
4.0.1015 1,797 3/4/2026
4.0.1014 72 3/4/2026
4.0.1013 4,554 2/10/2026
4.0.1012 3,504 1/13/2026
4.0.1011 1,103 1/12/2026
4.0.1010 2,117 1/6/2026
4.0.1009 1,336 1/2/2026
4.0.1008 352 1/2/2026
4.0.1007 977 12/31/2025
4.0.1006 717 12/21/2025
Loading failed

organization, improves CI