Skip to content
This repository has been archived by the owner on Aug 1, 2019. It is now read-only.

Latest commit

 

History

History
24 lines (18 loc) · 424 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 424 Bytes

AkkaNetRest

Proof of concept for using Akka.NET for creating REST api services

Using

Creating simple api "controller":

  public class HelloApi : BaseApi
    {
        public HelloApi()
        {
            Get(req => "Hello from Akka");
        }
    }

And after instiatiate it in api actor :

Context.ActorOf<HelloApi>("hello");

now you can call GET method for /api/hello