title: Are these the main differences between RestSharp and ServiceStack's Client Code?
body: <p>I have been unable to make a definitive choice and was hoping that somebody (or a combination of a couple of people) could point out the differences between using RestSharp versus ServiceStack's client services (keeping in mind that I am already using ServiceStack for my service). Here is what I have so far (differences only). The list is fairly small as they are indeed very similar:</p>
  
  <h1>ServiceStack</h1>
  
  <h2>Pros</h2>
  
  <ul>
  <li>Fluent Validation from my already created service POCO objects</li>
  <li>One API for both client and service</li>
  <li>Code reads better (i.e. Get&lt;>(), Post&lt;>())</li>
  </ul>
  
  <h2>Cons</h2>
  
  <ul>
  <li>Some of my strings must be written out (i.e. If I make a GET request with query parameters, I must create that string in my code)</li>
  <li>I must create a different class for each Request/Response Type (JsonServiceClient, XmlServiceClient)</li>
  </ul>
  
  <h1>RestSharp</h1>
  
  <h2>Pros</h2>
  
  <ul>
  <li>Just about everything can be a POCO (i.e. If I make a GET request with query parameters, I just add the parameters via code)</li>
  <li>Switching between Request/Response types is simple (request.RequestFormat = DataFormat.Json/Xml)</li>
  </ul>
  
  <h2>Cons</h2>
  
  <ul>
  <li>Manual Validation (beyond that found in the Data Annotations)</li>
  <li>Two APIs to learn (this is minor since they are both fairly simple)</li>
  <li>Code is not as readable at a glance (barely) (i.e. request.Method = Get/Post.. and main call is Execute&lt; T >())</li>
  </ul>
  
  <p>I was leaning towards RestSharp since it tends more towards straight POCO use and very little string manipulation, however I think ServiceStack might be acceptable to gain the validation and code that is more easily read.</p>
  
  <p>So, here are the questions:</p>
  
  <ul>
  <li>Which do you prefer? </li>
  <li>Why the one over the other?</li>
  </ul>
  
  <p>I know this is not a totally subjective question, but at bare minimum I am looking for the answer to this question (which is subjective):</p>
  
  <ul>
  <li><strong>Are any of my findings incorrect and/or are there any that I missed?</strong></li>
  </ul>