Watson Jon

Code and ramblings from Watson
posts - 15, comments - 7, trackbacks - 0

My Links

News

Twitter












Archives

Post Categories

User Groups

Mix

OData Mix10 – Part Dos
The other day I had a snazzy post on fetching all the video (WMV) files from Mix ‘10. A simple, console application that grabbed the urls from the OData feed and downloaded the videos. I wanted to change that app to fire the OData query asynchronously so here’s what resulted: 1: static void Main(string[] args) 2: { 3: var mix = new Mix.EventEntities(new Uri("http://api.visitmix.co... 4: 5: var temp = mix.Files.Where(f => f.TypeName == "WMV"); 6: var query = temp as DataServiceQuery<Mix.Fil...

Posted On Friday, May 07, 2010 2:50 PM | Feedback (0) | Filed Under [ OData Mix ]

Using OData to get Mix10 files
There has been a lot of talk around OData lately (go to odata.org for more information) and I wanted to get all the videos from Mix ‘10: two great tastes that taste great together. Luckily, Mix has exposed the ‘10 sessions via OData at http://api.visitmix.com/ODa... now all I have to do is slap together a bit of code to fetch the videos. Step 1 (cut a hole in the box) Create a new console application and add a new service reference. Step 2 (put your junk in the box) Write a smidgen of code: 1:...

Posted On Thursday, May 06, 2010 3:03 PM | Feedback (0) | Filed Under [ OData Mix ]

Powered by: