Orleans.FSharp.Runtime 5.0.1

dotnet add package Orleans.FSharp.Runtime --version 5.0.1
                    
NuGet\Install-Package Orleans.FSharp.Runtime -Version 5.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="Orleans.FSharp.Runtime" Version="5.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Orleans.FSharp.Runtime" Version="5.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Orleans.FSharp.Runtime" />
                    
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 Orleans.FSharp.Runtime --version 5.0.1
                    
#r "nuget: Orleans.FSharp.Runtime, 5.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 Orleans.FSharp.Runtime@5.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=Orleans.FSharp.Runtime&version=5.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Orleans.FSharp.Runtime&version=5.0.1
                    
Install as a Cake Tool

Orleans.FSharp.Runtime

F# configuration and hosting support for Orleans silos, clients, and functional grain definitions.

Quick example

open System.Threading.Tasks
open Microsoft.Extensions.Hosting
open Orleans.Hosting
open Orleans.FSharp
open Orleans.FSharp.Runtime

type HealthActor = private HealthActor of unit

[<NoEquality; NoComparison>]
type HealthApi = { ping: unit -> Task<string> }

let healthContract =
    grainContract<HealthActor, string, HealthApi> {
        grainType "health"
        version 1
        stringKey
        readOnly (_.ping)
    }

let healthDefinition =
    grainFor healthContract {
        defaultState (fun () -> ())
        handleQuery (_.ping) (fun _ () () -> task { return "pong" })
    }

let config =
    siloConfig {
        useLocalhostClustering
        addMemoryStorage "Default"
        addMemoryStreams "StreamProvider"
        addMemoryReminderService
        enableHealthChecks
    }

let builder = HostApplicationBuilder()
SiloConfig.applyToHost config builder

builder.UseOrleans(fun siloBuilder ->
    siloBuilder.AddFunctionalGrain(healthDefinition) |> ignore)
|> ignore

let host = builder.Build()
host.Start()

healthDefinition is the sealed value returned by grainFor. Use AddFunctionalJournaledGrain for journaledGrainFor definitions. A client-only process applies clientConfig { } and calls AddFunctionalGrainClient() on its IClientBuilder.

Configuration surface

Category Current operations
Clustering useLocalhostClustering, addRedisClustering, addAzureTableClustering, addAdoNetClustering
Storage addMemoryStorage, addRedisStorage, addAzureBlobStorage, addAzureTableStorage, addAdoNetStorage, addCosmosStorage, addDynamoDbStorage, addCustomStorage
Streaming addMemoryStreams, addPersistentStreams, addBroadcastChannel
Reminders addMemoryReminderService, addRedisReminderService, addCustomReminderService
Security useTls, useTlsWithCertificate, useMutualTls, useMutualTlsWithCertificate
Operations useSerilog, addDashboard, addDashboardWithOptions, enableHealthChecks, filters, services, and startup tasks

addDashboardWithOptions takes counterUpdateIntervalMs, historyLength, and hideTrace, in that order. The optional Microsoft.Orleans.Dashboard package must be referenced by the host.

See Silo configuration, Client configuration, and Dashboard.

Requirements

  • .NET 10+
  • Orleans.FSharp (transitive)

Legacy archive

Some compatibility internals remain temporarily for migration, but the old authoring model is unsupported and receives no 5.x feature, compatibility, or security work. Its documentation is isolated under docs/legacy.

License

MIT

Product Compatible and additional computed target framework versions.
.NET 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 Orleans.FSharp.Runtime:

Package Downloads
Orleans.FSharp.Testing

Test utilities for Orleans.FSharp grains — TestHarness, GrainMock, GrainArbitrary (TypeShape-based FsCheck), FsCheckHelpers, and LogCapture.

Orleans.FSharp.EventSourcing

Declarative event sourcing for Orleans grains in F# — eventSourcedGrain {} CE with apply/handle and a JournaledGrain bridge.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.1 114 9/7/2026
5.0.0 107 9/7/2026
4.1.0 147 8/21/2026
4.0.2 133 8/20/2026
4.0.1 125 8/20/2026
4.0.0 120 8/19/2026
3.0.2 125 8/8/2026
3.0.1 168 6/29/2026
3.0.0 154 6/29/2026
2.0.0-alpha.1 107 4/28/2026
1.0.0 742 4/3/2026