Microsoft.Orleans.Hosting.AzureCloudServices 10.0.1

Prefix Reserved
dotnet add package Microsoft.Orleans.Hosting.AzureCloudServices --version 10.0.1
                    
NuGet\Install-Package Microsoft.Orleans.Hosting.AzureCloudServices -Version 10.0.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="10.0.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="10.0.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 10.0.1
                    
#r "nuget: Microsoft.Orleans.Hosting.AzureCloudServices, 10.0.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@10.0.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=10.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Orleans.Hosting.AzureCloudServices&version=10.0.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 is compatible.  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
10.0.1 343 2/7/2026
10.0.0 177 1/20/2026
10.0.0-rc.2 100 12/31/2025
9.2.1 502 7/16/2025
9.2.0 290 7/14/2025
9.2.0-preview3 399 6/10/2025
9.2.0-preview2 234 6/4/2025
9.2.0-preview1 316 4/4/2025
9.1.2 1,463 2/13/2025
9.0.1 458 11/23/2024
9.0.0 313 11/14/2024
7.2.7 275 10/15/2024
3.8.1 122 4/24/2026
3.8.0 310 5/6/2025
3.8.0-preview5 319 5/12/2025
3.8.0-preview3 292 4/8/2025
3.8.0-preview2 226 4/4/2025
3.8.0-preview1 284 3/31/2025
Loading failed