Skip to content
Stoom edited this page Oct 24, 2016 · 1 revision

Welcome!

RService.IO is one of the first web service frameworks for ASP.Net Core! It was based on concepts from NService, better known as ServiceStackv3, but with a bit of a twist. The goal is to provide a fast minimal web service framework that is best for anything from micro-services to full on APIs.

Using RService.IO

To use RService.IO simply create a new ASP.Net Core project. In the Startup.cs file add the following code:

public void ConfigureService(IServiceCollection service)
{
  services.AddRServiceIo(opts => 
  {
    opts.AddServiceAssembly(typeof(FancyNewService));
    opts.EnableDebugging = true; // This is optional but will display the developer exception page
  });
}
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{
  app.UseRServiceIo();
}

Then just create a service that implements IService. On a side note, currently void methods are not allowed for service endpoints.

Contributing

Please feel free to contribute to this project. You can do so by making a fork and submitting a Pull Request.
If you find a bug please open an Issue with the following:

  • Description of the issue/bug
  • If available an example of the code causing the issue/bug

Authors and Contributors

Core team

@stoom - Founder

Clone this wiki locally