HttpClient in the WCF REST Starter Kit Preview 2
Posted by: Pablo M. Cibraro (aka Cibrax),
on 13 Mar 2009 |
View original | Bookmarked: 0 time(s)
HttpClient is a new utility class introduced in the WCF REST Startert Kit Preview 2 for consuming REST services. This new class is made up of three different parts,
1. A rich object model to manipulate the Http request and response objects in a more natural way. This is done through the use of the HttpRequestMessage and HttpResponseMessage classes.
2. Some overloads or extension methods to reduce the number of code lines required to consume a service. For example, the HttpClient class itself contains...