Microsoft.Orleans.Hosting.AzureCloudServices 9.2.1

Prefix Reserved
dotnet add package Microsoft.Orleans.Hosting.AzureCloudServices --version 9.2.1
                    
NuGet\Install-Package Microsoft.Orleans.Hosting.AzureCloudServices -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.Hosting.AzureCloudServices" 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.Hosting.AzureCloudServices" Version="9.2.1" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Orleans.Hosting.AzureCloudServices" />
                    
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.Hosting.AzureCloudServices --version 9.2.1
                    
#r "nuget: Microsoft.Orleans.Hosting.AzureCloudServices, 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.Hosting.AzureCloudServices@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.Hosting.AzureCloudServices&version=9.2.1
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Orleans.Hosting.AzureCloudServices&version=9.2.1
                    
Install as a Cake Tool

Microsoft Orleans Hosting for Azure Cloud Services

Introduction

Microsoft Orleans Hosting for Azure Cloud Services provides support for hosting Orleans silos in Azure Cloud Services. This package integrates Orleans with the Azure Cloud Services lifecycle, allowing your silos to properly start, stop, and take advantage of Azure Cloud Services features.

Getting Started

To use this package, install it via NuGet:

dotnet add package Microsoft.Orleans.Hosting.AzureCloudServices

Example - Configuring Orleans with Azure Cloud Services

using Microsoft.Extensions.Hosting;
using Orleans.Hosting;

// In your CloudService WorkerRole entry point
public class WorkerRole : RoleEntryPoint
{
    private ISiloHost _silo;

    public override bool OnStart()
    {
        // Create the silo host
        _silo = Host.CreateApplicationBuilder(args)
            .UseOrleans(builder =>
            {
                // Configure Orleans for Azure Cloud Services
                builder.UseAzureStorageClustering(options =>
                {
                    options.ConnectionString = "YOUR_AZURE_STORAGE_CONNECTION_STRING";
                });

                // Add other Orleans configurations as needed
            })
            .Build();

        // Start the silo
        _silo.StartAsync().GetAwaiter().GetResult();
        
        return base.OnStart();
    }

    public override void OnStop()
    {
        // Properly shutdown the silo
        _silo.StopAsync().GetAwaiter().GetResult();
        
        base.OnStop();
    }
}

Documentation

For more comprehensive documentation, please refer to:

Feedback & Contributing

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  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 (2)

Showing the top 2 NuGet packages that depend on Microsoft.Orleans.Hosting.AzureCloudServices:

Package Downloads
Microsoft.Orleans.OrleansAzureUtils

Support library for hosting Orleans on Microsoft Azure.

Zero.Serilog.Orleans

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.2.1 229 7/16/2025
9.2.0 192 7/14/2025
9.2.0-preview3 322 6/10/2025
9.2.0-preview2 182 6/4/2025
9.2.0-preview1 200 4/4/2025
9.1.2 682 2/13/2025
9.0.1 366 11/23/2024
9.0.0 233 11/14/2024
8.2.0 816 7/12/2024
8.2.0-preview1 234 5/22/2024
8.1.0 1,323 4/17/2024
8.1.0-preview3 204 3/11/2024
8.1.0-preview2 201 2/23/2024
8.1.0-preview1 203 2/13/2024
8.0.0 934 1/5/2024
8.0.0-rc2 254 12/20/2023
8.0.0-rc1 221 12/4/2023
7.2.7 198 10/15/2024
7.2.6 243 3/9/2024
7.2.5 243 2/22/2024
7.2.4 555 12/2/2023
7.2.3 492 11/3/2023
7.2.2 291 10/16/2023
7.2.1 736 7/11/2023
7.2.0 344 7/7/2023
7.1.2 700 4/19/2023
7.1.1 733 3/23/2023
7.1.0 850 2/1/2023
7.0.0 809 11/8/2022
7.0.0-rc2 329 10/19/2022
4.0.0-preview2 340 8/4/2022
4.0.0-preview1 503 2/10/2022
3.8.0 215 5/6/2025
3.8.0-preview5 258 5/12/2025
3.8.0-preview3 223 4/8/2025
3.8.0-preview2 164 4/4/2025
3.8.0-preview1 224 3/31/2025
3.7.2 228 5/10/2024
3.7.1 432 5/27/2023
3.7.0 565 3/23/2023
3.6.5 1,157 8/15/2022
3.6.4 594 8/10/2022
3.6.3 622 8/4/2022
3.6.2 15,350 4/15/2022
3.6.1 629 4/5/2022
3.6.0 723 1/20/2022
3.5.1 868 11/8/2021
3.5.0 1,812 9/3/2021
3.4.4 774 10/4/2021
3.4.3 989 6/3/2021
3.4.2 876 4/5/2021
3.4.1 840 2/3/2021
3.4.0 836 1/6/2021
3.4.0-rc1 589 12/9/2020
3.3.0 1,079 9/9/2020
3.3.0-rc2 593 9/2/2020
3.3.0-rc1 573 8/19/2020
3.2.2 953 7/22/2020
3.2.1 1,206 7/2/2020
3.2.0 907 6/4/2020
3.2.0-rc2 565 5/20/2020
3.2.0-rc1 548 5/7/2020
3.1.7 932 5/19/2020
3.1.6 893 4/16/2020
3.1.5 927 4/9/2020
3.1.4 912 3/26/2020
3.1.3 890 3/16/2020
3.1.2 955 3/5/2020
3.1.0 947 2/23/2020
3.1.0-rc3 681 2/13/2020
3.1.0-rc2 729 2/12/2020
3.1.0-rc1 724 2/10/2020
3.0.2 1,008 12/12/2019
3.0.1 931 11/27/2019
3.0.0 1,072 10/24/2019
3.0.0-rc2 680 10/16/2019
3.0.0-rc1 599 10/9/2019
3.0.0-beta1 651 8/16/2019
2.4.5 6,532 12/29/2019
2.4.4 3,275 11/27/2019
2.4.3 4,102 10/10/2019
2.4.2 4,503 8/31/2019
2.4.1 2,854 8/14/2019
2.4.0 3,480 8/8/2019
2.3.6 6,720 7/24/2019
2.3.5 3,337 6/14/2019
2.3.4 2,760 6/4/2019
2.3.3 2,519 6/2/2019
2.3.2 3,968 5/9/2019
2.3.1 2,706 4/26/2019
2.3.0 6,715 3/20/2019
2.3.0-rc2 2,030 3/13/2019
2.3.0-rc1 1,944 3/4/2019
2.2.4 2,962 2/25/2019
2.2.3 3,120 1/17/2019
2.2.0 6,998 12/13/2018
2.2.0-rc1 2,094 12/4/2018
2.2.0-beta1 2,216 10/21/2018
2.1.2 10,312 10/11/2018
2.1.0 3,449 9/28/2018
2.1.0-rc2 2,534 9/21/2018
2.1.0-rc1 2,577 9/14/2018
2.1.0-beta1 2,717 8/27/2018
2.0.4 6,054 7/20/2018
2.0.0 12,735 3/28/2018
2.0.0-rc2 3,222 3/13/2018
2.0.0-rc1 4,017 2/26/2018
2.0.0-beta3 4,685 12/21/2017
2.0.0-beta2 2,814 12/11/2017