Soenneker.Blazor.Utils.BlazorInvoker
4.0.1046
Prefix Reserved
dotnet add package Soenneker.Blazor.Utils.BlazorInvoker --version 4.0.1046
NuGet\Install-Package Soenneker.Blazor.Utils.BlazorInvoker -Version 4.0.1046
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.1046" />
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.1046" />
<PackageReference Include="Soenneker.Blazor.Utils.BlazorInvoker" />
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.1046
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Blazor.Utils.BlazorInvoker, 4.0.1046"
#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.1046
#: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.1046
#tool nuget:?package=Soenneker.Blazor.Utils.BlazorInvoker&version=4.0.1046
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
net10.0
- Microsoft.JSInterop (>= 10.0.10)
- Soenneker.Extensions.ValueTask (>= 4.0.118)
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.1046 | 1,908 | 7/28/2026 |
| 4.0.1045 | 183 | 7/27/2026 |
| 4.0.1044 | 3,975 | 7/16/2026 |
| 4.0.1042 | 1,226 | 7/14/2026 |
| 4.0.1041 | 4,688 | 6/18/2026 |
| 4.0.1039 | 2,978 | 6/9/2026 |
| 4.0.1038 | 2,335 | 6/5/2026 |
| 4.0.1037 | 206 | 6/5/2026 |
| 4.0.1036 | 112 | 6/5/2026 |
| 4.0.1035 | 3,086 | 5/12/2026 |
| 4.0.1034 | 4,070 | 4/22/2026 |
| 4.0.1033 | 144 | 4/21/2026 |
| 4.0.1032 | 2,103 | 4/14/2026 |
| 4.0.1031 | 5,001 | 3/22/2026 |
| 4.0.1030 | 2,097 | 3/13/2026 |
| 4.0.1029 | 115 | 3/13/2026 |
| 4.0.1028 | 272 | 3/12/2026 |
| 4.0.1027 | 124 | 3/12/2026 |
| 4.0.1026 | 119 | 3/12/2026 |
| 4.0.1025 | 122 | 3/12/2026 |
Loading failed
Update dependency Soenneker.Extensions.ValueTask to 4.0.118 (#1537)