VOOZH about

URL: https://www.nuget.org/packages/MeshWeaver.Hosting.Orleans/

⇱ NuGet Gallery | MeshWeaver.Hosting.Orleans 2.5.0




MeshWeaver.Hosting.Orleans 2.5.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package MeshWeaver.Hosting.Orleans --version 2.5.0
 
 
NuGet\Install-Package MeshWeaver.Hosting.Orleans -Version 2.5.0
 
 
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="MeshWeaver.Hosting.Orleans" Version="2.5.0" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MeshWeaver.Hosting.Orleans" Version="2.5.0" />
 
Directory.Packages.props
<PackageReference Include="MeshWeaver.Hosting.Orleans" />
 
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 MeshWeaver.Hosting.Orleans --version 2.5.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MeshWeaver.Hosting.Orleans, 2.5.0"
 
 
#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 MeshWeaver.Hosting.Orleans@2.5.0
 
 
#: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=MeshWeaver.Hosting.Orleans&version=2.5.0
 
Install as a Cake Addin
#tool nuget:?package=MeshWeaver.Hosting.Orleans&version=2.5.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

MeshWeaver.Hosting.Orleans

Overview

MeshWeaver.Hosting.Orleans provides a distributed hosting model for MeshWeaver using Microsoft Orleans. Each message hub is represented as a virtual actor (grain) in the Orleans cluster, enabling automatic distribution, scalability, and fault tolerance.

How It Works

  • Each message hub is mapped to an Orleans grain
  • Messages are dispatched through Orleans silos
  • Grains are automatically distributed across the cluster
  • Virtual actor model ensures hubs are always addressable
  • Orleans handles activation/deactivation and placement of hubs

Usage

var builder = WebApplication.CreateBuilder(args);

// Configure Orleans cluster
builder.Host.UseOrleans(orleans =>
{
 orleans.UseLocalhostClustering();
 // Configure other Orleans options
});

// Configure MeshWeaver with Orleans hosting
builder.UseMeshWeaver(
 new MeshAddress(),
 config => config
 .ConfigureWebPortal()
 .ConfigurePortalMesh()
 .UseOrleansMesh()
 .ConfigureServices(services => services.AddArticles())
);

var app = builder.Build();
app.StartPortalApplication();

Features

  • Distributed message processing
  • Automatic scalability through Orleans clustering
  • Fault tolerance and automatic recovery
  • Virtual actor model for message hubs
  • Transparent hub activation/deactivation
  • Location transparency for message routing

Benefits

  • Scalability: Automatically scales across multiple servers
  • Reliability: Built-in fault tolerance through Orleans
  • Persistence: Optional state persistence for hubs
  • Distribution: Automatic workload distribution
  • Recovery: Automatic failure recovery

Integration

  • Built on
  • Uses Microsoft Orleans for distribution
  • Compatible with all mesh message patterns

See Also

  • Orleans Documentation - Learn more about the Orleans virtual actor model
  • - More about MeshWeaver hosting options
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. 
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
3.0.0-preview1 86 4/16/2026
2.5.0 179 11/3/2025
2.4.0 156 10/2/2025
2.3.0 212 8/4/2025
2.2.0 507 7/21/2025
2.1.0 185 4/6/2025
2.0.3 515 3/24/2025
2.0.2 487 3/24/2025
2.0.1 138 3/21/2025
2.0.0 167 3/20/2025
2.0.0-preview3 107 2/28/2025
2.0.0-Preview2 103 2/10/2025
2.0.0-preview1 108 1/6/2025