Core abstractions library of Microsoft Orleans
$ dotnet add package Microsoft.Orleans.Core.AbstractionsMicrosoft Orleans Core Abstractions is the foundational library for Orleans containing the public programming APIs for implementing grains and client code. This package defines the core abstractions that form the Orleans programming model, including grain interfaces, grain reference interfaces, and attributes.
To use this package, install it via NuGet:
dotnet add package Microsoft.Orleans.Core.Abstractions
This package is a dependency of both client and silo (server) applications and is automatically included when you reference the Orleans SDK or the Orleans client/server metapackages.
using Orleans;
namespace MyGrainInterfaces;
public interface IHelloGrain : IGrainWithStringKey
{
Task<string> SayHello(string greeting);
}
For more comprehensive documentation, please refer to: