endpoint.tv Screencast - Consuming REST services with HttpClient
- Posted: Mar 18, 2009 at 8:00 AM
- 39,196 Views
- 6 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- High Quality WMV (PC, Xbox, MCE)
- MP3 (Audio only)
- MP4 (iPod, Zune HD)
- Mid Quality WMV (Lo-band, Mobile)
In this short video, CSD MVP Aaron Skonnard from PluralSight demonstrates
how to consume REST services using the new HttpClient class that ships with the WCF REST Starter Kit, Preview 2.
For the REST service to consume, Aaron uses the Twitter service to interact with Twitter status information, and how to associates Twitter credentials with the requests to issue requests against the Twitter service that require authentication information.
For additional information on the WCF REST Starter Kit, please check out the REST in WCF Dev Center on MSDN and the .NET Endpoint team blog. For more information on classes offered by Aaron and the PluralSight folks, check out their catalog of instructor led courses and new online courses that cover a variety of Microsoft technologies, ranging from .NET v3.5 to WSS to BizTalk server.
For the REST service to consume, Aaron uses the Twitter service to interact with Twitter status information, and how to associates Twitter credentials with the requests to issue requests against the Twitter service that require authentication information.
For additional information on the WCF REST Starter Kit, please check out the REST in WCF Dev Center on MSDN and the .NET Endpoint team blog. For more information on classes offered by Aaron and the PluralSight folks, check out their catalog of instructor led courses and new online courses that cover a variety of Microsoft technologies, ranging from .NET v3.5 to WSS to BizTalk server.
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
I got the part on how to use GET method and process the REST services, but I can't get through with the POST method.
i tried post (url, new httpcontent("paramer=value")); but it doesn't work
how do i post the parameter and value over using httpclient? thanks
If you could make the source codea vailable for download , that will help a lot of people like me who have slower internet speed
A nice video, i will download it.Thanks!!!
Remove this comment
Remove this thread
close