Microsoft.Orleans.Server
9.2.0-preview3
Prefix Reserved
See the version list below for details.
dotnet add package Microsoft.Orleans.Server --version 9.2.0-preview3
NuGet\Install-Package Microsoft.Orleans.Server -Version 9.2.0-preview3
<PackageReference Include="Microsoft.Orleans.Server" Version="9.2.0-preview3" />
<PackageVersion Include="Microsoft.Orleans.Server" Version="9.2.0-preview3" />
<PackageReference Include="Microsoft.Orleans.Server" />
paket add Microsoft.Orleans.Server --version 9.2.0-preview3
#r "nuget: Microsoft.Orleans.Server, 9.2.0-preview3"
#:package Microsoft.Orleans.Server@9.2.0-preview3
#addin nuget:?package=Microsoft.Orleans.Server&version=9.2.0-preview3&prerelease
#tool nuget:?package=Microsoft.Orleans.Server&version=9.2.0-preview3&prerelease
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:
- Microsoft Orleans Documentation
- Orleans server (silo) configuration
- Hosting Orleans
- Grain persistence
Feedback & Contributing
- If you have any issues or would like to provide feedback, please open an issue on GitHub
- Join our community on Discord
- Follow the @msftorleans Twitter account for Orleans announcements
- Contributions are welcome! Please review our contribution guidelines
- This project is licensed under the MIT license
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Microsoft.AspNetCore.Connections.Abstractions (>= 8.0.11)
- Microsoft.CodeAnalysis.Analyzers (>= 3.11.0)
- Microsoft.CodeAnalysis.Common (>= 4.5.0)
- Microsoft.CodeAnalysis.Workspaces.Common (>= 4.5.0)
- Microsoft.Extensions.Configuration (>= 8.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.2)
- Microsoft.Extensions.Configuration.Json (>= 8.0.1)
- Microsoft.Extensions.DependencyInjection (>= 8.0.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
- Microsoft.Extensions.DependencyModel (>= 8.0.2)
- Microsoft.Extensions.Hosting (>= 8.0.1)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.1)
- Microsoft.Extensions.Logging (>= 8.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.2)
- Microsoft.Extensions.Logging.Console (>= 8.0.1)
- Microsoft.Extensions.Logging.Debug (>= 8.0.1)
- Microsoft.Extensions.ObjectPool (>= 8.0.11)
- Microsoft.Extensions.Options (>= 8.0.2)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- Microsoft.Orleans.Persistence.Memory (>= 9.2.0-preview3)
- Microsoft.Orleans.Runtime (>= 9.2.0-preview3)
- Microsoft.Orleans.Sdk (>= 9.2.0-preview3)
- Newtonsoft.Json (>= 13.0.3)
- System.Collections.Immutable (>= 8.0.0)
- System.IO.Hashing (>= 8.0.0)
- System.IO.Pipelines (>= 8.0.0)
- System.Memory.Data (>= 8.0.1)
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 | 85,683 | 7/16/2025 |
9.2.0 | 4,100 | 7/14/2025 |
9.2.0-preview3 | 1,369 | 6/10/2025 |
9.2.0-preview2 | 300 | 6/4/2025 |
9.2.0-preview1 | 9,874 | 4/4/2025 |
9.1.2 | 326,533 | 2/13/2025 |
9.0.1 | 177,507 | 11/23/2024 |
9.0.0 | 23,993 | 11/14/2024 |
8.2.0 | 507,567 | 7/12/2024 |
8.2.0-preview1 | 607 | 5/22/2024 |
8.1.0 | 340,146 | 4/17/2024 |
8.1.0-preview3 | 3,371 | 3/11/2024 |
8.1.0-preview2 | 863 | 2/23/2024 |
8.1.0-preview1 | 1,689 | 2/13/2024 |
8.0.0 | 290,500 | 1/5/2024 |
8.0.0-rc2 | 1,246 | 12/20/2023 |
8.0.0-rc1 | 914 | 12/4/2023 |
7.2.7 | 5,781 | 10/15/2024 |
7.2.6 | 49,306 | 3/9/2024 |
7.2.5 | 13,853 | 2/22/2024 |
7.2.4 | 138,809 | 12/2/2023 |
7.2.3 | 110,593 | 11/3/2023 |
7.2.2 | 49,914 | 10/16/2023 |
7.2.1 | 389,432 | 7/11/2023 |
7.2.0 | 41,492 | 7/7/2023 |
7.1.2 | 194,939 | 4/19/2023 |
7.1.1 | 81,186 | 3/23/2023 |
7.1.0 | 94,550 | 2/1/2023 |
7.0.0 | 209,762 | 11/8/2022 |
7.0.0-rc2 | 974 | 10/19/2022 |
4.0.0-preview2 | 10,676 | 8/4/2022 |
4.0.0-preview1 | 7,988 | 2/10/2022 |
3.8.0 | 2,579 | 5/6/2025 |
3.8.0-preview5 | 286 | 5/12/2025 |
3.8.0-preview3 | 278 | 4/8/2025 |
3.8.0-preview2 | 220 | 4/4/2025 |
3.8.0-preview1 | 259 | 3/31/2025 |
3.7.2 | 32,787 | 5/10/2024 |
3.7.1 | 119,929 | 5/27/2023 |
3.7.0 | 106,015 | 3/23/2023 |
3.6.5 | 649,589 | 8/15/2022 |
3.6.4 | 20,039 | 8/10/2022 |
3.6.3 | 30,479 | 8/4/2022 |
3.6.2 | 567,374 | 4/15/2022 |
3.6.1 | 74,018 | 4/5/2022 |
3.6.0 | 236,017 | 1/20/2022 |
3.5.1 | 256,598 | 11/8/2021 |
3.5.0 | 214,085 | 9/3/2021 |
3.4.4 | 9,899 | 10/4/2021 |
3.4.3 | 100,284 | 6/3/2021 |
3.4.2 | 125,881 | 4/5/2021 |
3.4.1 | 157,520 | 2/3/2021 |
3.4.0 | 23,798 | 1/6/2021 |
3.4.0-rc1 | 592 | 12/9/2020 |
3.3.0 | 178,395 | 9/9/2020 |
3.3.0-rc2 | 1,980 | 9/2/2020 |
3.3.0-rc1 | 668 | 8/19/2020 |
3.2.2 | 28,453 | 7/22/2020 |
3.2.1 | 16,888 | 7/2/2020 |
3.2.0 | 37,513 | 6/4/2020 |
3.2.0-rc2 | 3,578 | 5/20/2020 |
3.2.0-rc1 | 823 | 5/7/2020 |
3.1.7 | 17,011 | 5/19/2020 |
3.1.6 | 27,467 | 4/16/2020 |
3.1.5 | 3,859 | 4/9/2020 |
3.1.4 | 22,018 | 3/26/2020 |
3.1.3 | 10,550 | 3/16/2020 |
3.1.2 | 16,012 | 3/5/2020 |
3.1.0 | 6,497 | 2/23/2020 |
3.1.0-rc3 | 912 | 2/13/2020 |
3.1.0-rc2 | 791 | 2/12/2020 |
3.1.0-rc1 | 752 | 2/10/2020 |
3.0.2 | 58,067 | 12/12/2019 |
3.0.1 | 7,056 | 11/27/2019 |
3.0.0 | 33,246 | 10/24/2019 |
3.0.0-rc2 | 1,289 | 10/16/2019 |
3.0.0-rc1 | 1,383 | 10/9/2019 |
3.0.0-beta1 | 2,504 | 8/16/2019 |
2.4.5 | 7,363 | 12/29/2019 |
2.4.4 | 53,871 | 11/27/2019 |
2.4.3 | 56,396 | 10/10/2019 |
2.4.2 | 28,924 | 8/31/2019 |
2.4.1 | 16,176 | 8/14/2019 |
2.4.0 | 4,935 | 8/8/2019 |
2.3.6 | 13,422 | 7/24/2019 |
2.3.5 | 54,906 | 6/14/2019 |
2.3.4 | 17,581 | 6/4/2019 |
2.3.3 | 1,375 | 6/2/2019 |
2.3.2 | 26,910 | 5/9/2019 |
2.3.1 | 14,517 | 4/26/2019 |
2.3.0 | 60,790 | 3/20/2019 |
2.3.0-rc2 | 2,148 | 3/13/2019 |
2.3.0-rc1 | 970 | 3/4/2019 |
2.2.4 | 8,619 | 2/25/2019 |
2.2.3 | 20,022 | 1/17/2019 |
2.2.0 | 21,471 | 12/13/2018 |
2.2.0-rc1 | 1,166 | 12/4/2018 |
2.2.0-beta1 | 1,632 | 10/21/2018 |
2.1.2 | 25,351 | 10/11/2018 |
2.1.0 | 7,154 | 9/28/2018 |
2.1.0-rc2 | 1,536 | 9/21/2018 |
2.1.0-rc1 | 1,617 | 9/14/2018 |
2.1.0-beta1 | 7,373 | 8/27/2018 |
2.0.4 | 22,369 | 7/20/2018 |
2.0.3 | 28,030 | 5/31/2018 |
2.0.0 | 10,604 | 3/28/2018 |
2.0.0-rc2 | 2,922 | 3/13/2018 |
2.0.0-rc1 | 2,086 | 2/26/2018 |
2.0.0-beta3 | 5,477 | 12/21/2017 |
2.0.0-beta2 | 1,617 | 12/11/2017 |
2.0.0-beta1 | 2,876 | 10/26/2017 |
1.5.10 | 10,842 | 10/10/2019 |
1.5.9 | 1,021 | 9/1/2019 |
1.5.8 | 1,112 | 5/31/2019 |
1.5.7 | 1,133 | 2/28/2019 |
1.5.6 | 1,882 | 9/28/2018 |
1.5.5 | 1,591 | 9/8/2018 |
1.5.4 | 3,920 | 6/13/2018 |
1.5.3 | 15,530 | 12/9/2017 |
1.5.2 | 17,845 | 10/17/2017 |
1.5.1 | 6,602 | 8/28/2017 |
1.5.0 | 3,720 | 7/6/2017 |
1.5.0-rc | 1,454 | 6/20/2017 |
1.5.0-beta1 | 1,414 | 4/29/2017 |
1.4.2 | 4,372 | 6/9/2017 |
1.4.1 | 4,799 | 3/27/2017 |
1.4.0 | 4,733 | 2/16/2017 |
1.4.0-beta | 1,349 | 2/1/2017 |
1.3.1 | 5,205 | 11/11/2016 |
1.3.0 | 3,868 | 10/12/2016 |
1.3.0-beta2 | 1,678 | 9/24/2016 |
1.3.0-beta1 | 2,035 | 7/28/2016 |
1.2.4 | 2,907 | 10/5/2016 |
1.2.3 | 6,331 | 7/12/2016 |
1.2.2 | 2,792 | 6/14/2016 |
1.2.1 | 2,290 | 5/18/2016 |
1.2.0 | 5,267 | 5/2/2016 |
1.2.0-beta | 1,444 | 4/19/2016 |
1.1.3 | 4,877 | 3/9/2016 |
1.1.2 | 3,721 | 1/20/2016 |
1.1.1 | 2,344 | 1/11/2016 |
1.1.0 | 3,691 | 12/14/2015 |
1.1.0-beta2 | 1,623 | 12/3/2015 |
1.1.0-beta1 | 1,490 | 11/3/2015 |
1.0.10 | 4,479 | 9/22/2015 |
1.0.9 | 3,843 | 7/16/2015 |
1.0.8 | 5,362 | 5/27/2015 |
1.0.7 | 2,045 | 5/15/2015 |
1.0.5 | 2,752 | 3/20/2015 |
1.0.3 | 2,238 | 2/27/2015 |
1.0.0 | 6,308 | 2/6/2015 |