Kamis, 28 Oktober 2010

Getting rid of the magic strings in a WCF Data Service Client

One of the common problems that you might find when using the generated DataServiceContext for consuming an existing WCF data service is that you have magic strings everywhere for handling links (expanding, adding, deleting, etc). The problem with all those magic strings is that they make your code to compile correctly, but you might run into some error at runtime because you used a link that

Tidak ada komentar:

Posting Komentar