Soenneker.Blazor.Utils.BlazorOutputInvoker 4.0.990

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

A generic invoker to simplify JavaScript to C# interaction that allows for an input and output, providing two-way communication with invocations.

Installation

dotnet add package Soenneker.Blazor.Utils.BlazorOutputInvoker

Usage

C#

async ValueTask<int> YourInvokerMethod(string input)
{
    Console.Log(input); // 'Hello there'
    return 42;
}

var blazorOutputInvoker = new BlazorOutputInvoker<string, int>(YourInvokerMethod);

JS

dotnetObject.invokeMethodAsync('InvokeWithOutput', 'Hello there').then((data) => {
    console.log(data); // 42
});
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.BlazorOutputInvoker:

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.990 724 2/10/2026
4.0.989 3,276 1/13/2026
4.0.988 4,554 1/2/2026
4.0.987 3,940 12/10/2025
4.0.986 1,781 11/20/2025
4.0.985 1,493 11/11/2025
4.0.984 1,033 11/6/2025
4.0.983 1,720 10/29/2025
3.0.982 2,137 10/14/2025
3.0.981 4,326 9/9/2025
3.0.980 1,170 9/6/2025
3.0.979 1,858 9/3/2025
3.0.978 3,809 8/11/2025
3.0.977 1,795 8/5/2025
3.0.976 1,959 7/8/2025
3.0.975 1,082 7/3/2025
3.0.974 1,198 6/27/2025
3.0.973 2,200 6/10/2025
3.0.972 1,786 5/27/2025
3.0.971 1,465 5/22/2025
Loading failed