![]() |
VOOZH | about |
dotnet add package MeshWeaver.Kernel.Hub --version 2.5.0
NuGet\Install-Package MeshWeaver.Kernel.Hub -Version 2.5.0
<PackageReference Include="MeshWeaver.Kernel.Hub" Version="2.5.0" />
<PackageVersion Include="MeshWeaver.Kernel.Hub" Version="2.5.0" />Directory.Packages.props
<PackageReference Include="MeshWeaver.Kernel.Hub" />Project file
paket add MeshWeaver.Kernel.Hub --version 2.5.0
#r "nuget: MeshWeaver.Kernel.Hub, 2.5.0"
#:package MeshWeaver.Kernel.Hub@2.5.0
#addin nuget:?package=MeshWeaver.Kernel.Hub&version=2.5.0Install as a Cake Addin
#tool nuget:?package=MeshWeaver.Kernel.Hub&version=2.5.0Install as a Cake Tool
MeshWeaver.Kernel.Hub provides a message hub plugin for a dotnet interactive kernel. It allows notebooks to execute code against remote kernels distributed across the mesh.
var builder = WebApplication.CreateBuilder(args);
// Configure mesh with kernel support
builder.ConfigureMesh(builder =>
builder
.AddKernel()
.ConfigureMesh(config => config.AddMeshNodes(/* your nodes */))
);
var app = builder.Build();
// Execute code through the kernel
var command = new SubmitCode("Console.WriteLine(\"Hello World\");");
client.Post(
new KernelCommandEnvelope(KernelCommandEnvelope.Serialize(
KernelCommandEnvelope.Create(command)))
{
IFrameUrl = "http://localhost/area"
},
o => o.WithTarget(new KernelAddress())
);
// Example of interactive calculator with UI updates
const string Code = @"
using MeshWeaver.Layout;
using MeshWeaver.Mesh;
using static MeshWeaver.Layout.Controls;
record Calculator(double Summand1, double Summand2);
static object CalculatorSum(Calculator c) =>
Markdown($""**Sum**: {c.Summand1 + c.Summand2}"");
Mesh.Edit(new Calculator(1,2), CalculatorSum)
";
client.Post(
new SubmitCodeRequest(Code) { Id = "Area" },
o => o.WithTarget(new KernelAddress())
);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on MeshWeaver.Kernel.Hub:
| Package | Downloads |
|---|---|
|
MeshWeaver.Graph
Package Description |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.0-preview1 | 163 | 4/16/2026 |
| 2.5.0 | 190 | 11/3/2025 |
| 2.4.0 | 181 | 10/2/2025 |
| 2.3.0 | 221 | 8/4/2025 |
| 2.2.0 | 509 | 7/21/2025 |
| 2.1.0 | 232 | 4/6/2025 |
| 2.0.3 | 515 | 3/24/2025 |
| 2.0.2 | 487 | 3/24/2025 |
| 2.0.1 | 136 | 3/21/2025 |
| 2.0.0 | 171 | 3/20/2025 |
| 2.0.0-preview3 | 112 | 2/28/2025 |
| 2.0.0-Preview2 | 114 | 2/10/2025 |
| 2.0.0-preview1 | 135 | 1/6/2025 |