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 (101)

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.

Mtl.Infrastructures.Workers

主要是封装了下Netty服务器和客户端的方法,提供了简单的方法调用就能启动Netty服务器和客户端,封装了Orleans的服务器和客户端的启动和连接方法,使操作简单,减少重复的代码

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 Preview 5, 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
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK.
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
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 787 7/16/2025
9.2.0 1,513 7/14/2025
9.2.0-preview3 1,135 6/10/2025
9.2.0-preview2 237 6/4/2025
9.2.0-preview1 8,733 4/4/2025
9.1.2 253,258 2/13/2025
9.0.1 161,166 11/23/2024
9.0.0 17,991 11/14/2024
8.2.0 452,637 7/12/2024
8.2.0-preview1 545 5/22/2024
8.1.0 322,434 4/17/2024
8.1.0-preview3 3,307 3/11/2024
8.1.0-preview2 798 2/23/2024
8.1.0-preview1 1,625 2/13/2024
8.0.0 270,423 1/5/2024
8.0.0-rc2 1,184 12/20/2023
8.0.0-rc1 849 12/4/2023
7.2.7 3,901 10/15/2024
7.2.6 47,115 3/9/2024
7.2.5 13,027 2/22/2024
7.2.4 135,313 12/2/2023
7.2.3 108,204 11/3/2023
7.2.2 49,720 10/16/2023
7.2.1 349,586 7/11/2023
7.2.0 33,181 7/7/2023
7.1.2 189,730 4/19/2023
7.1.1 80,524 3/23/2023
7.1.0 93,896 2/1/2023
7.0.0 203,789 11/8/2022
7.0.0-rc2 881 10/19/2022
4.0.0-preview2 10,580 8/4/2022
4.0.0-preview1 7,900 2/10/2022
3.8.0 882 5/6/2025
3.8.0-preview5 234 5/12/2025
3.8.0-preview3 213 4/8/2025
3.8.0-preview2 155 4/4/2025
3.8.0-preview1 195 3/31/2025
3.7.2 28,830 5/10/2024
3.7.1 113,778 5/27/2023
3.7.0 90,753 3/23/2023
3.6.5 638,047 8/15/2022
3.6.4 19,700 8/10/2022
3.6.3 29,988 8/4/2022
3.6.2 560,295 4/15/2022
3.6.1 72,449 4/5/2022
3.6.0 232,874 1/20/2022
3.5.1 253,592 11/8/2021
3.5.0 212,562 9/3/2021
3.4.4 9,759 10/4/2021
3.4.3 99,651 6/3/2021
3.4.2 118,825 4/5/2021
3.4.1 152,815 2/3/2021
3.4.0 23,695 1/6/2021
3.4.0-rc1 503 12/9/2020
3.3.0 177,360 9/9/2020
3.3.0-rc2 1,893 9/2/2020
3.3.0-rc1 582 8/19/2020
3.2.2 28,257 7/22/2020
3.2.1 16,771 7/2/2020
3.2.0 37,338 6/4/2020
3.2.0-rc2 3,191 5/20/2020
3.2.0-rc1 737 5/7/2020
3.1.7 16,889 5/19/2020
3.1.6 27,174 4/16/2020
3.1.5 3,768 4/9/2020
3.1.4 21,853 3/26/2020
3.1.3 10,391 3/16/2020
3.1.2 15,930 3/5/2020
3.1.0 6,416 2/23/2020
3.1.0-rc3 812 2/13/2020
3.1.0-rc2 709 2/12/2020
3.1.0-rc1 675 2/10/2020
3.0.2 57,873 12/12/2019
3.0.1 6,953 11/27/2019
3.0.0 33,120 10/24/2019
3.0.0-rc2 1,196 10/16/2019
3.0.0-rc1 1,292 10/9/2019
3.0.0-beta1 2,415 8/16/2019
2.4.5 7,249 12/29/2019
2.4.4 52,673 11/27/2019
2.4.3 56,199 10/10/2019
2.4.2 28,719 8/31/2019
2.4.1 15,813 8/14/2019
2.4.0 4,796 8/8/2019
2.3.6 13,257 7/24/2019
2.3.5 54,575 6/14/2019
2.3.4 17,341 6/4/2019
2.3.3 1,275 6/2/2019
2.3.2 26,752 5/9/2019
2.3.1 14,257 4/26/2019
2.3.0 59,682 3/20/2019
2.3.0-rc2 2,038 3/13/2019
2.3.0-rc1 896 3/4/2019
2.2.4 8,443 2/25/2019
2.2.3 19,915 1/17/2019
2.2.0 21,380 12/13/2018
2.2.0-rc1 1,067 12/4/2018
2.2.0-beta1 1,540 10/21/2018
2.1.2 25,239 10/11/2018
2.1.0 6,939 9/28/2018
2.1.0-rc2 1,373 9/21/2018
2.1.0-rc1 1,468 9/14/2018
2.1.0-beta1 7,218 8/27/2018
2.0.4 22,032 7/20/2018
2.0.3 27,511 5/31/2018
2.0.0 10,324 3/28/2018
2.0.0-rc2 2,717 3/13/2018
2.0.0-rc1 1,873 2/26/2018
2.0.0-beta3 5,250 12/21/2017
2.0.0-beta2 1,404 12/11/2017
2.0.0-beta1 2,705 10/26/2017
1.5.10 10,652 10/10/2019
1.5.9 935 9/1/2019
1.5.8 1,007 5/31/2019
1.5.7 1,043 2/28/2019
1.5.6 1,731 9/28/2018
1.5.5 1,449 9/8/2018
1.5.4 3,691 6/13/2018
1.5.3 14,450 12/9/2017
1.5.2 17,700 10/17/2017
1.5.1 6,388 8/28/2017
1.5.0 3,564 7/6/2017
1.5.0-rc 1,312 6/20/2017
1.5.0-beta1 1,261 4/29/2017
1.4.2 4,220 6/9/2017
1.4.1 4,513 3/27/2017
1.4.0 4,574 2/16/2017
1.4.0-beta 1,201 2/1/2017
1.3.1 4,991 11/11/2016
1.3.0 3,711 10/12/2016
1.3.0-beta2 1,518 9/24/2016
1.3.0-beta1 1,879 7/28/2016
1.2.4 2,753 10/5/2016
1.2.3 6,169 7/12/2016
1.2.2 2,633 6/14/2016
1.2.1 2,132 5/18/2016
1.2.0 5,121 5/2/2016
1.2.0-beta 1,291 4/19/2016
1.1.3 4,677 3/9/2016
1.1.2 3,567 1/20/2016
1.1.1 2,187 1/11/2016
1.1.0 3,531 12/14/2015
1.1.0-beta2 1,478 12/3/2015
1.1.0-beta1 1,334 11/3/2015
1.0.10 4,212 9/22/2015
1.0.9 3,684 7/16/2015
1.0.8 5,200 5/27/2015
1.0.7 1,884 5/15/2015
1.0.5 2,593 3/20/2015
1.0.3 2,076 2/27/2015
1.0.0 5,920 2/6/2015