title: Hitting a ADO.NET Data Services from WPF client, forms authentication
body: <p>There are a number of questiosn on StackOverflow that ALMOST hit this topic head on, but they are either for other technologies, reference obsolets information or don;t supply an answer that I can suss out. So pardon the almost duplication :)</p>
  
  <p>I have a working ADO.NET Data Service, and a WPF client that hits it. Now that they are working fine I want to add authentication / security to the system. My understanding of the steps so far is...</p>
  
  <ol>
  <li>Turn on forms authentication and configure it on the server (I have an existing asp.net membership service DB for other aspects of this app, so that isnt a problem) so that it is required for the service URL</li>
  <li>In WCF apply for and recieve a forms authentication "ticket" as part of a login routine</li>
  <li>Add that "ticket" to the headers of the ADO.NET service calls in WPF</li>
  <li>Profit!</li>
  </ol>
  
  <p>All well and good - but does anyone have a line on a soup to nuts code sample, using the modern releases of these technologies?</p>
  
  <p>Thanks!</p>