Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devgopher/orleanswebserver
https://github.com/devgopher/orleanswebserver
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/devgopher/orleanswebserver
- Owner: devgopher
- Created: 2021-05-25T21:15:30.000Z (over 3 years ago)
- Default Branch: develop
- Last Pushed: 2021-08-29T18:44:42.000Z (over 3 years ago)
- Last Synced: 2024-12-14T20:12:33.258Z (27 days ago)
- Language: C#
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OrleansWebServer
Represents a web server based on MS Orleans framework and intended for parallelizing requests processing to different grains and SILO's# Usage
For executing your requests you should make several steps:
1. Define Request/Response classes (for example, MyRequest, MyResponse)
2. Define your grains and interface for it (for example, MyGrain, IMyGrain)
3. In a startup.cs you should register your request/response/grai in a such way:```
public void ConfigureServices(IServiceCollection services)
{
...
services.AddOrleansWebServerForRequest(Configuration);
}
```4. Your grain should inherit from Orleans Grain class and implement your defined interface
5. Your grain interface should inherit from IWebServerBackendGrain interface