Configuring WCF Data Service using Lambda Expressions

added by gilf
4/21/2011 9:54:15 AM

173 Views

One of the things that I avoid when I’m writing code is the use “magic strings”. Hardcoded strings are a code smell and should be rarely used. When using WCF Data Service configuration object you’ll have to pass the entity set’s string name to the configuration methods which as I wrote I would like to avoid. This is why in today’s post I’m going to extend the DataServiceConfiguration object.


0 comments