Summary
WCF provides for the means to design RESTful web services that
include UriTemplate customization, HTTP status
codes, caching policies, authorization through credentials, parameter
and URI segment manipulation, and much more. The data can be formatted
as JSON, XML, RSS, or Atom in many cases, and can be consumed with a
variety of tools, including LINQ to XML, LINQ to JSON, DataContractSerializer,
and DataContractJsonSerializer, among
others.
This chapter showed you how to build custom RESTful services using WCF that send and receive requests that utilize many of these tools and features. It wrapped up with a case study showing how to build a Silverlight client application named SilverTwit that takes advantage of many of the concepts discussed in this book that are essential to building Silverlight client applications that communicate with cloud services. The next chapter will continue the discussion of accessing syndication data in the cloud and processing it with Silverlight 2.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access