Using ASP.net Output Caching with WCF Data Services

We all know hitting the database is an expensive operation, adding the cost of serialization on top of that means that caching the output makes even more sense. The fact that WCF Data Services is built on top of the ASP.net platform means you can utilize all of its power to help you build a…

11

Using WCF Data Service With Restricted Characters as Keys

If you are hosting your WCF Data Service on top of IIS+ASP.Net/WCF, then you may discover that there are certain characters that will cause the server to throw when they are contained in entity keys. The result is either a 400 Bad Request or 404 Not Found. In VS 2010 RC, you can potentially configure…

11

Overwriting the service root URI in Wcf Data Service

Suppose you are hosting a WCF Data Service on a particular URL, but for some reason you’d like the consumers of your service to hit another URI – perhaps an IIS re-write, or a cookieless session. You can do this via setting one of the custom properties in the OperationContext: OperationContext.Current.IncomingMessageProperties["MicrosoftDataServicesRootUri"] = serviceUri; You need…

3

SDET Openings in Our Team

For those of you who love the technology, and want to put your amazing skills to good use – well, now it’s your chance! The Data and Modeling Group at Microsoft has two open Software Development Engineer in Test positions, you can find the description here and here. Don’t let this exciting opportunity just slip…

0

WCF Data Service V2 and the updated JSON format

In V1 of WCF Data Service (aka ADO.net Data Service), the JSON serialization format for entity sets look like: { "d" : [ {entity1}, {entity2} ] } Where “d” is the “data” wrapper, used as a security measure, and it is defined as the array of elements in the entity set. For example, if you…

2