Install
dotnet add package Devlooped.CloudActors.Streamstone --version 0.2.2
| Product | Versions |
|---|---|
| .NET |
README
Streamstone storage provider for Orleans grain persistence, supporting Cloud Actors on Azure Table Storage.
Features
- Supports plain CLR objects as grain state
- Supports event sourced actors
- Supports automatic snapshots for faster state reading
See Streamstone for more details.
Usage
var builder = WebApplication.Create(args);
// other config, specially Orleans and Cloud Actors
// π register provider as default for all grains/actors
builder.Services.AddSingletonNamedService<IGrainStorage, StreamstoneStorage>(ProviderConstants.DEFAULT_STORAGE_PROVIDER_NAME);
// π register provider with a specific name, alternatively
builder.Services.AddSingletonNamedService<IGrainStorage, StreamstoneStorage>("streamstone");
If the storage provider is registered with a specific name, actors can then specify the name of the provider to use:
[Actor(nameof(Account), "streamstone")]
public partial class Account : IEventSourced
Sponsors
Changes from Previous Version
No structural changes between v0.2.1 and v0.2.2.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Compatibility metadata lists 1 target framework; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.
