![]() |
VOOZH | about |
dotnet add package Microsoft.Orleans.Reminders.AzureStorage --version 10.2.0
NuGet\Install-Package Microsoft.Orleans.Reminders.AzureStorage -Version 10.2.0
<PackageReference Include="Microsoft.Orleans.Reminders.AzureStorage" Version="10.2.0" />
<PackageVersion Include="Microsoft.Orleans.Reminders.AzureStorage" Version="10.2.0" />Directory.Packages.props
<PackageReference Include="Microsoft.Orleans.Reminders.AzureStorage" />Project file
paket add Microsoft.Orleans.Reminders.AzureStorage --version 10.2.0
#r "nuget: Microsoft.Orleans.Reminders.AzureStorage, 10.2.0"
#:package Microsoft.Orleans.Reminders.AzureStorage@10.2.0
#addin nuget:?package=Microsoft.Orleans.Reminders.AzureStorage&version=10.2.0Install as a Cake Addin
#tool nuget:?package=Microsoft.Orleans.Reminders.AzureStorage&version=10.2.0Install as a Cake Tool
Microsoft Orleans Reminders for Azure Storage provides persistence for Orleans reminders using Azure Table Storage. This allows your Orleans applications to schedule persistent reminders that will be triggered even after silo restarts or grain deactivation.
To use this package, install it via NuGet:
dotnet add package Microsoft.Orleans.Reminders.AzureStorage
using Microsoft.Extensions.Hosting;
using Orleans.Configuration;
using Orleans.Hosting;
var builder = Host.CreateApplicationBuilder(args)
.UseOrleans(siloBuilder =>
{
siloBuilder
.UseLocalhostClustering()
// Configure Azure Table Storage as reminder storage
.UseAzureTableReminderService(options =>
{
options.ConnectionString = "YOUR_AZURE_STORAGE_CONNECTION_STRING";
options.TableName = "OrleansReminders";
});
});
// Run the host
await builder.RunAsync();
public interface IReminderGrain
{
Task StartReminder(string reminderName);
Task StopReminder();
}
public class ReminderGrain : Grain, IReminderGrain, IRemindable
{
private string _reminderName = "MyReminder";
public async Task StartReminder(string reminderName)
{
_reminderName = reminderName;
// Register a persistent reminder
await RegisterOrUpdateReminder(
reminderName,
TimeSpan.FromMinutes(2), // Time to delay before the first tick (must be > 1 minute)
TimeSpan.FromMinutes(5)); // Period of the reminder (must be > 1 minute)
}
public async Task StopReminder()
{
// Find and unregister the reminder
var reminder = await GetReminder(_reminderName);
if (reminder != null)
{
await UnregisterReminder(reminder);
}
}
public Task ReceiveReminder(string reminderName, TickStatus status)
{
// This method is called when the reminder ticks
Console.WriteLine($"Reminder {reminderName} triggered at {DateTime.UtcNow}. Status: {status}");
return Task.CompletedTask;
}
}
For more comprehensive documentation, please refer to:
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on Microsoft.Orleans.Reminders.AzureStorage:
| Package | Downloads |
|---|---|
|
Microsoft.Orleans.OrleansAzureUtils
Support library for hosting Orleans on Microsoft Azure. |
|
|
Orleans.Contrib.UniversalSilo
This library provides primitives to set up a configurable, application-agnostic Orleans silo and clients. Use it with the Orleans.Contrib.UniversalSilo.Templates to get started with Orleans. |
|
|
FabrCore.Host
Orleans server host for the FabrCore agent framework |
|
|
Troolio.Core
Package Description |
|
|
Microsoft.Orleans.Persistence.AzureStorage.Migration
Microsoft Orleans persistence migration providers for Azure Storage |
Showing the top 1 popular GitHub repositories that depend on Microsoft.Orleans.Reminders.AzureStorage:
| Repository | Stars |
|---|---|
|
Dotnet-Boxed/Templates
.NET project templates with batteries included, providing the minimum amount of code required to get you going faster.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 10.2.0 | 654 | 6/12/2026 |
| 10.1.1-preview.1 | 73 | 5/13/2026 |
| 10.1.0 | 18,551 | 4/14/2026 |
| 10.0.1 | 110,066 | 2/7/2026 |
| 10.0.0 | 17,267 | 1/20/2026 |
| 10.0.0-rc.2 | 165 | 12/31/2025 |
| 9.2.1 | 116,198 | 7/16/2025 |
| 9.2.0 | 1,065 | 7/14/2025 |
| 9.2.0-preview3 | 554 | 6/10/2025 |
| 9.2.0-preview2 | 246 | 6/4/2025 |
| 9.2.0-preview1 | 1,051 | 4/4/2025 |
| 9.1.2 | 101,191 | 2/13/2025 |
| 3.8.1 | 222 | 4/24/2026 |
| 3.8.0 | 5,214 | 5/6/2025 |
| 3.8.0-preview5 | 363 | 5/12/2025 |
| 3.8.0-preview3 | 339 | 4/8/2025 |
| 3.8.0-preview2 | 277 | 4/4/2025 |
| 3.8.0-preview1 | 354 | 3/31/2025 |