Microsoft.Orleans.Server 9.2.1

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

Microsoft Orleans Server

Introduction

Microsoft Orleans Server is a metapackage that includes all the necessary components to run an Orleans silo (server). It simplifies the process of setting up an Orleans server by providing a single package reference rather than requiring you to reference multiple packages individually.

Getting Started

To use this package, install it via NuGet:

dotnet add package Microsoft.Orleans.Server

Example - Creating an Orleans Silo Host

using Microsoft.Extensions.Hosting;
using Orleans.Configuration;
using Orleans.Hosting;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Threading.Tasks;

// Define a grain interface
namespace MyGrainNamespace;

public interface IMyGrain : IGrainWithStringKey
{
    Task<string> DoSomething();
}

// Implement the grain interface
public class MyGrain : Grain, IMyGrain
{
    public Task<string> DoSomething()
    {
        return Task.FromResult("Done something!");
    }
}


// Create the host
var builder = Host.CreateApplicationBuilder(args)
    .UseOrleans(siloBuilder =>
    {
        siloBuilder
            .UseLocalhostClustering();
    });

// Start the host
var host = builder.Build();
await host.StartAsync();

// Get a reference to a grain and call it
var client = host.Services.GetRequiredService<IClusterClient>();
var grain = client.GetGrain<IMyGrain>("my-grain-id");
var result = await grain.DoSomething();

// Print the result
Console.WriteLine($"Result: {result}");

// Keep the host running until the application is shut down
await host.WaitForShutdownAsync();

Documentation

For more comprehensive documentation, please refer to:

Feedback & Contributing

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (102)

Showing the top 5 NuGet packages that depend on Microsoft.Orleans.Server:

Package Downloads
Orleans.Clustering.Redis

Microsoft Orleans clustering provider backed by Redis

Orleans.Persistence.Redis

Microsoft Orleans persistence provider backed by Redis

SignalR.Orleans

Orleans backplane for SignalR Core.

Orleans.Streams.Utils

Streaming utilities for Microsoft Orleans.

Orleans.Reminders.Redis

Microsoft Orleans reminder provider backed by Redis

GitHub repositories (24)

Showing the top 20 popular GitHub repositories that depend on Microsoft.Orleans.Server:

Repository Stars
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10 RC 1, 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
dotnet/aspire
Tools, templates, and packages to accelerate building observable, production-ready apps
dotnet/samples
Sample code referenced by the .NET documentation
Dotnet-Boxed/Templates
.NET project templates with batteries included, providing the minimum amount of code required to get you going faster.
microsoft/dotnet-podcasts
.NET reference application shown at .NET Conf featuring ASP.NET Core, Blazor, .NET MAUI, Microservices, Orleans, Playwright, and more!
SteveDunn/Vogen
A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objects
dotnet/aspire-samples
dotnetGame/MineCase
Minecraft server based on Orleans
OrleansContrib/Orleankka
Functional API for Microsoft Orleans http://orleanscontrib.github.io/Orleankka
Maarten88/rrod
Exploring a new web architecture with React, Redux, Orleans and Dotnet Core
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
OrleansContrib/SignalR.Orleans
SignalR backend based on Orleans.
RayTale/Vertex
Vertex is a distributed, ultimately consistent, event traceable cross platform framework based on Orleans, which is used to build high-performance, high throughput, low latency, scalable distributed applications
microsoft/project-oagents
Experimental AI Agents Framework
EasyAbp/EShop
An abp application module group that provides basic e-shop service.
Samsung/Tizen.NET
Welcome to Tizen .NET
microsoft/Yams
YAMS (Yet Another Microservices Solution) is a library that can be used to deploy and host microservices in the cloud (e.g. Azure) or on premises
J-Tech-Japan/Sekiban
Sekiban - an Opinionated Event Sourcing and CQRS Framework using C#. It can store data into Azure Cosmos DB, AWS Dynamo DB or Postgres
OrleansContrib/Orleans.Clustering.Kubernetes
Orleans Membership provider for Kubernetes
thisisnabi/Shortener
Shortener Url as a service in ASP.NET Core and Actor Model
Version Downloads Last Updated
9.2.1 97,314 7/16/2025
9.2.0 4,219 7/14/2025
9.2.0-preview3 1,376 6/10/2025
9.2.0-preview2 307 6/4/2025
9.2.0-preview1 9,880 4/4/2025
9.1.2 332,570 2/13/2025
9.0.1 179,234 11/23/2024
9.0.0 24,118 11/14/2024
8.2.0 511,823 7/12/2024
8.2.0-preview1 616 5/22/2024
8.1.0 341,477 4/17/2024
8.1.0-preview3 3,377 3/11/2024
8.1.0-preview2 868 2/23/2024
8.1.0-preview1 1,696 2/13/2024
8.0.0 291,770 1/5/2024
8.0.0-rc2 1,251 12/20/2023
8.0.0-rc1 920 12/4/2023
7.2.7 5,936 10/15/2024
7.2.6 49,541 3/9/2024
7.2.5 13,906 2/22/2024
7.2.4 139,521 12/2/2023
7.2.3 110,751 11/3/2023
7.2.2 49,966 10/16/2023
7.2.1 393,240 7/11/2023
7.2.0 42,054 7/7/2023
7.1.2 196,170 4/19/2023
7.1.1 81,197 3/23/2023
7.1.0 94,605 2/1/2023
7.0.0 210,489 11/8/2022
7.0.0-rc2 982 10/19/2022
4.0.0-preview2 10,684 8/4/2022
4.0.0-preview1 7,994 2/10/2022
3.8.0 2,677 5/6/2025
3.8.0-preview5 295 5/12/2025
3.8.0-preview3 283 4/8/2025
3.8.0-preview2 226 4/4/2025
3.8.0-preview1 266 3/31/2025
3.7.2 33,179 5/10/2024
3.7.1 120,444 5/27/2023
3.7.0 107,513 3/23/2023
3.6.5 658,014 8/15/2022
3.6.4 20,332 8/10/2022
3.6.3 30,886 8/4/2022
3.6.2 573,663 4/15/2022
3.6.1 75,192 4/5/2022
3.6.0 236,393 1/20/2022
3.5.1 258,128 11/8/2021
3.5.0 214,400 9/3/2021
3.4.4 9,910 10/4/2021
3.4.3 100,778 6/3/2021
3.4.2 126,311 4/5/2021
3.4.1 157,779 2/3/2021
3.4.0 23,806 1/6/2021
3.4.0-rc1 598 12/9/2020
3.3.0 178,463 9/9/2020
3.3.0-rc2 1,989 9/2/2020
3.3.0-rc1 675 8/19/2020
3.2.2 28,466 7/22/2020
3.2.1 16,910 7/2/2020
3.2.0 37,546 6/4/2020
3.2.0-rc2 3,606 5/20/2020
3.2.0-rc1 829 5/7/2020
3.1.7 17,021 5/19/2020
3.1.6 27,525 4/16/2020
3.1.5 3,868 4/9/2020
3.1.4 22,028 3/26/2020
3.1.3 10,558 3/16/2020
3.1.2 16,022 3/5/2020
3.1.0 6,507 2/23/2020
3.1.0-rc3 919 2/13/2020
3.1.0-rc2 799 2/12/2020
3.1.0-rc1 758 2/10/2020
3.0.2 58,088 12/12/2019
3.0.1 7,085 11/27/2019
3.0.0 33,294 10/24/2019
3.0.0-rc2 1,297 10/16/2019
3.0.0-rc1 1,390 10/9/2019
3.0.0-beta1 2,510 8/16/2019
2.4.5 7,372 12/29/2019
2.4.4 53,915 11/27/2019
2.4.3 56,475 10/10/2019
2.4.2 29,057 8/31/2019
2.4.1 16,227 8/14/2019
2.4.0 4,944 8/8/2019
2.3.6 13,554 7/24/2019
2.3.5 55,117 6/14/2019
2.3.4 17,793 6/4/2019
2.3.3 1,383 6/2/2019
2.3.2 26,954 5/9/2019
2.3.1 14,673 4/26/2019
2.3.0 61,472 3/20/2019
2.3.0-rc2 2,220 3/13/2019
2.3.0-rc1 978 3/4/2019
2.2.4 8,634 2/25/2019
2.2.3 20,042 1/17/2019
2.2.0 21,481 12/13/2018
2.2.0-rc1 1,174 12/4/2018
2.2.0-beta1 1,639 10/21/2018
2.1.2 25,368 10/11/2018
2.1.0 7,199 9/28/2018
2.1.0-rc2 1,551 9/21/2018
2.1.0-rc1 1,630 9/14/2018
2.1.0-beta1 7,385 8/27/2018
2.0.4 22,536 7/20/2018
2.0.3 28,608 5/31/2018
2.0.0 10,631 3/28/2018
2.0.0-rc2 2,941 3/13/2018
2.0.0-rc1 2,105 2/26/2018
2.0.0-beta3 5,516 12/21/2017
2.0.0-beta2 1,637 12/11/2017
2.0.0-beta1 2,889 10/26/2017
1.5.10 10,854 10/10/2019
1.5.9 1,029 9/1/2019
1.5.8 1,121 5/31/2019
1.5.7 1,141 2/28/2019
1.5.6 1,897 9/28/2018
1.5.5 1,607 9/8/2018
1.5.4 3,941 6/13/2018
1.5.3 15,590 12/9/2017
1.5.2 17,861 10/17/2017
1.5.1 6,622 8/28/2017
1.5.0 3,734 7/6/2017
1.5.0-rc 1,469 6/20/2017
1.5.0-beta1 1,425 4/29/2017
1.4.2 4,385 6/9/2017
1.4.1 4,823 3/27/2017
1.4.0 4,745 2/16/2017
1.4.0-beta 1,361 2/1/2017
1.3.1 5,221 11/11/2016
1.3.0 3,880 10/12/2016
1.3.0-beta2 1,691 9/24/2016
1.3.0-beta1 2,047 7/28/2016
1.2.4 2,919 10/5/2016
1.2.3 6,345 7/12/2016
1.2.2 2,807 6/14/2016
1.2.1 2,303 5/18/2016
1.2.0 5,281 5/2/2016
1.2.0-beta 1,457 4/19/2016
1.1.3 4,894 3/9/2016
1.1.2 3,736 1/20/2016
1.1.1 2,357 1/11/2016
1.1.0 3,705 12/14/2015
1.1.0-beta2 1,635 12/3/2015
1.1.0-beta1 1,501 11/3/2015
1.0.10 4,499 9/22/2015
1.0.9 3,856 7/16/2015
1.0.8 5,377 5/27/2015
1.0.7 2,059 5/15/2015
1.0.5 2,766 3/20/2015
1.0.3 2,251 2/27/2015
1.0.0 6,343 2/6/2015