OData - WCF Data Services Best Practices from TechEd

Yesterday I promised to share all the code from my Best Practices – Creating an OData Service using WCF Data Services session at TechED. Note: you can find a recording of that session here. So here goes, essentially this is what I did: Downloaded, unzipped, opened and ran the MVC Music Store Sample.  Added an…

1

Tip 52 – How to re-use Types with the Data Services client

By default when you add a Data Service Service Reference you get automatic code-generation, which produces a strongly typed DataServiceContext and classes for all your ResourceTypes. You can have a look at this generated code if you ‘show all files’ in your project: And then expand your Data Service Reference, it’s dependant Reference.datasvcmap and open…

2