Skip to content

Instantly share code, notes, and snippets.

@gistlyn
Last active July 25, 2016 08:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gistlyn/eefea9cece5419f5d5dc24492d01c07c to your computer and use it in GitHub Desktop.
Save gistlyn/eefea9cece5419f5d5dc24492d01c07c to your computer and use it in GitHub Desktop.
Add ServiceStack Reference
using ServiceStack;
var client = new JsonServiceClient("{BaseUrl}");
//Call {Domain} APIs by sending typed Request DTO's
var response = client.Get(new RequestDto { });
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ServiceStack.Client" version="4.0.60" targetFramework="net45" />
<package id="ServiceStack.Interfaces" version="4.0.60" targetFramework="net45" />
<package id="ServiceStack.Text" version="4.0.60" targetFramework="net45" />
</packages>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment