An example of embedding an Orleans silo in the same process as an ASP.NET Web API
The proposal being that this be provided as an add-on to ASP.NET Core:
Install-Package Orleans.AspNetCore
Installing said package would also create scaffolding for example grains, similar to in the included demo project.
-
This project uses a pre-release build of Orleans for .NET Core, so you will need to add the following to your NuGet feeds list:
https://dotnet.myget.org/F/orleans-prerelease/api/v3/index.json
-
The solution is configured to build and debug in Docker, but if you don't have Docker installed you can just right click on the
ToasterService.Api
project and selectDebug
.
- Durable, distributed state
- Durable scheduling
- Streaming of data from and to the Web API, and across a Web API cluster
- SignalR backplane implementation similar to OrleansR possible
- Easier introduction to Orleans for traditional Web API developers
- No need to deploy and debug a separate actor hosting process.