Last active
July 31, 2016 07:04
-
-
Save gistlyn/2dbd4ccff70851ce8ae55678f4f15d0a to your computer and use it in GitHub Desktop.
Add ServiceStack Reference
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Linq; | |
using ServiceStack; | |
using ServiceStack.Text; | |
var client = new JsonServiceClient("{BaseUrl}"); | |
//Call {Domain} APIs by sending typed Request DTO's | |
var response = client.Get(new RequestDto { }); | |
//response.PrintDump(); // Uncomment to Print Response to Console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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