Last night at the June meeting of the Albury/Wondonga .NET User Group we covered OData.

I spent a few minutes going back over some ground we’d covered last month on Entity Framework, then walked through the steps covered by Scott Hanselman in this great blog post where he creates an OData service from an EF model. The only snag I hit (and it was a pretty major one) is that I didn’t have SQL Server Express installed on my laptop so I was just using SQL Server Compact Edition, which decided it would throw a NotSupportedException when I tried to use it in a web application.

Undeterred, I instead connected to the net and started browsing around the Netflix OData feed, demonstrating how to build queries by altering the URI. I then downloaded LinqPad and wrote some ad-hoc LINQ queries against Netflix data, and finally created a console application in Visual Studio to perform queries of our own.

Despite dwindling numbers, it was a fun evening. We even had a brief look at the Halfwit code. :)

See you next month!