Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/devgopher/orleanswebserver


https://github.com/devgopher/orleanswebserver

Last synced: 23 days ago
JSON representation

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