mvcConf 2 - Glenn Block: Take some REST with WCF
- Posted: Feb 09, 2011 at 11:21 PM
- 58,247 Views
- 11 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)
- Mid Quality WMV (Lo-band, Mobile)
- High Quality MP4 (iPad, PC)
- MP4 (iPod, Zune HD)
In WCF, we’re serious about HTTP and we’re serious about REST. We’re making deep investments in WCF to provide more natural support for HTTP and for building RESTful systems. If you want to exposing your APIs in a web friendly manner that leverages all the richness, scale and evolve-ability that HTTP has to offer then this talk is for you.
Recorded live as part of mvcConf 2
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
This is really, really cool. I don't know enough about other MVC REST packages to compare this against, but I really like what I see.
I have not yet looked at the sample, but for Atom/RSS feeds, I'd ideally want to set what fields get to be the pub date, title, content, etc. in addition to that custom namespace I saw in the video (m:properties). I hope we can do that; I assume we can.
Hi Kamran
Glad you like what you are seeing.
The sample Is showed was using a new library which returns OData (which derives from Atom). It allows you full control of the other fields.
The mechanism itself allows you to return whatever you want however, so you could use a SyndicationFeed for example in a custom formatter instead of the OData library if you just want pure Atom.
I am planning to make the sample available hopefully this weekend, I just need to muster the energy to write the blog post.
Thanks for the feedback.
Thanks
Glenn
Where i may find source code from your talk?
We currently use WCF / WIF (SSO) for our SOAP API. Would love to use it for a REST api as well. Does WCF offer a binding that supports both WIF/SSO and REST? If not, is this on the radar?
This looks exciting! I would like to try out the WCF REST sample based on the MVC music store. Where is your source code? I can't wait to get my hands-on mixing WCF REST, MVC, and Odata feed, and JQuery AJax. These are my favorate MS technologies, along with EF codefirst. I highly appreciate your effort to release this WCF REST soon.
Guys, I am working on getting the souce out there. There was an issue regarding the OData pieces, as the lib was no availalble to be released. As it is now out there on Codeplex, I am working on getting this done.
Thanks for your patience!
Glenn
@scott_m we are working with the WIF team to integrate our new web apis for things like OAuth. Shoot me a mail with your scenarios and I'll follow up.
Thanks
Glenn
Hi Glenn,
Was this WCF REST released as a part of Visual Studio Service Pack 1? Thanks.
Jay, no. The new web api has not shipped yet. It is still in development. You can get the latest community preview at wcf.codeplex.com.
Hi Glenn,
I have been waiting for the MVC music store sample you used for the mvc conference. Do you have the mvc music store sample code available? I really like like to use the WebAPI in my MVC application. Thanks.
hi, i have tried this in a sample mvc3 project. The only problem is that am able to run and access the service when the application is configured to run in full trust but not under a medium trust environment.
Remove this comment
Remove this thread
close