It's my first teched conference and naturally I'm pretty excited. I was trying to figure out which sessions I want to go to over the next few days and every time I export my selections as an iCal file there are invariably times when I have two sessions selected. Obviously it is impossible to go to both and I suspect that I will want to change my mind eighteen times before I actually get to the timeslot in question.
What I really want to do is to pick the sessions as I go along, selecting the next session I will attend before leaving the current one. To do that I need a way of finding out which sessions are on and when. Luckily for me, I can. Microsoft has kindly set up an OData feed which you can read all about at OData Services.
For my purposes I want all of the session data (and I want track data just because). Here is the code:
var entites = new ODataTEAU11Entities(new Uri("http://odata.msteched.com/teau11/sessions.svc/")); var sessions = entites.Sessions.Expand("Track").ToList();
Then I run the data through some LINQ-Fu to get the next two timeslots that have not already finished for each room. Once you have that it is an easy matter to show it on a web page that is handily formatted for my tablet (the device I will hopefully be wandering around with).
All in all, it took about 2 hours and that includes the time it took to select 22 different highlight colours (one per "track").
P.S. This comes with the full "Works on My Machine" seal of approval. It has had zero testing. Enjoy!
No new comments are allowed on this post.