Fredrik Forssen - 227 - Sep 18, 2014

I couldn’t find any mention of this in the servicestack docs (though I might have missed something somewhere), so I figured I’d ask.

Does ServiceStack have support for async services? I.e services that use async/await and return Task<ResponseDto> instead of normal plain ResponseDto’s?

Stephen Brannan:

Yeah it supports it… Here’s the link…

https://github.com/ServiceStack/ServiceStack/wiki/C%23-client#using-the-new-api

Darren Reid:

Also tests showing examples here.
https://github.com/ServiceStack/ServiceStack/blob/master/tests/ServiceStack.WebHost.Endpoints.Tests/AsyncTaskTests.cs

Fredrik Forssen:

+Darren Reid Ah! That’s the one I was looking for! Thanks :slight_smile: