Microsoft.Orleans.Hosting.AzureCloudServices 10.0.1

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

Showing the top 20 packages that depend on Microsoft.Orleans.Hosting.AzureCloudServices.

Packages Downloads
Microsoft.Orleans.OrleansAzureUtils
Support library for hosting Orleans on Microsoft Azure.
13
Microsoft.Orleans.OrleansAzureUtils
Support library for hosting Orleans on Microsoft Azure.
12
Microsoft.Orleans.OrleansAzureUtils
Support library for hosting Orleans on Microsoft Azure.
11
Microsoft.Orleans.OrleansAzureUtils
Support library for hosting Orleans on Microsoft Azure.
10

.NET 8.0

.NET 10.0

Version Downloads Last updated
10.0.1 3 2/12/2026
10.0.0 4 1/27/2026
10.0.0-rc.2 5 1/7/2026
9.2.1 12 7/26/2025
9.2.0 10 7/27/2025
9.2.0-preview3 2 6/16/2025
9.2.0-preview2 3 6/10/2025
9.2.0-preview1 10 6/8/2025
9.1.2 11 6/9/2025
9.0.1 14 6/9/2025
9.0.0 12 6/9/2025
8.2.0 12 6/9/2025
8.2.0-preview1 11 6/9/2025
8.1.0 14 6/9/2025
8.1.0-preview3 11 6/9/2025
8.1.0-preview2 11 6/9/2025
8.1.0-preview1 15 6/9/2025
8.0.0 15 6/9/2025
8.0.0-rc2 13 6/9/2025
8.0.0-rc1 11 6/9/2025
7.2.7 13 6/9/2025
7.2.6 14 6/9/2025
7.2.5 11 6/9/2025
7.2.4 13 6/9/2025
7.2.3 14 6/9/2025
7.2.2 11 6/9/2025
7.2.1 11 6/9/2025
7.2.0 14 6/9/2025
7.1.2 13 6/9/2025
7.1.1 10 6/9/2025
7.1.0 13 6/9/2025
7.0.0 21 6/9/2025
7.0.0-rc2 14 6/9/2025
4.0.0-preview2 13 6/9/2025
4.0.0-preview1 12 6/9/2025
3.8.0 13 6/17/2025
3.8.0-preview5 11 6/17/2025
3.8.0-preview3 12 6/9/2025
3.8.0-preview2 12 6/9/2025
3.8.0-preview1 12 6/9/2025
3.7.2 14 6/9/2025
3.7.1 11 6/9/2025
3.7.0 13 6/9/2025
3.6.5 12 6/9/2025
3.6.4 12 6/9/2025
3.6.3 12 6/9/2025
3.6.2 11 6/9/2025
3.6.1 12 6/9/2025
3.6.0 12 6/9/2025
3.5.1 11 6/9/2025
3.5.0 10 6/9/2025
3.4.4 11 6/9/2025
3.4.3 12 6/9/2025
3.4.2 10 6/9/2025
3.4.1 11 6/8/2025
3.4.0 12 6/9/2025
3.4.0-rc1 11 6/9/2025
3.3.0 11 6/9/2025
3.3.0-rc2 11 6/10/2025
3.3.0-rc1 12 6/9/2025
3.2.2 12 6/9/2025
3.2.1 11 6/9/2025
3.2.0 14 6/9/2025
3.2.0-rc2 13 6/9/2025
3.2.0-rc1 10 6/9/2025
3.1.7 13 6/9/2025
3.1.6 12 6/9/2025
3.1.5 13 6/9/2025
3.1.4 12 6/9/2025
3.1.3 12 6/10/2025
3.1.2 12 6/9/2025
3.1.0 16 6/9/2025
3.1.0-rc3 13 6/9/2025
3.1.0-rc2 12 6/9/2025
3.1.0-rc1 10 6/9/2025
3.0.2 13 6/9/2025
3.0.1 13 6/9/2025
3.0.0 12 6/9/2025
3.0.0-rc2 12 6/9/2025
3.0.0-rc1 11 6/9/2025
3.0.0-beta1 14 6/9/2025
2.4.5 12 6/9/2025
2.4.4 13 6/9/2025
2.4.3 10 6/9/2025
2.4.2 13 6/9/2025
2.4.1 12 6/9/2025
2.4.0 15 6/9/2025
2.3.6 10 6/9/2025
2.3.5 11 6/9/2025
2.3.4 8 6/9/2025
2.3.3 14 6/9/2025
2.3.2 12 6/9/2025
2.3.1 11 6/9/2025
2.3.0 14 6/9/2025
2.3.0-rc2 13 6/9/2025
2.3.0-rc1 12 6/9/2025
2.2.4 13 6/9/2025
2.2.3 12 6/9/2025
2.2.0 13 6/9/2025
2.2.0-rc1 17 6/9/2025
2.2.0-beta1 12 6/9/2025
2.1.2 11 6/9/2025
2.1.0 13 6/9/2025
2.1.0-rc2 12 6/9/2025
2.1.0-rc1 11 6/9/2025
2.1.0-beta1 19 6/7/2025
2.0.4 14 6/9/2025
2.0.0 12 6/9/2025
2.0.0-rc2 13 6/9/2025
2.0.0-rc1 12 6/9/2025
2.0.0-beta3 11 6/9/2025
2.0.0-beta2 11 6/9/2025