Service Operations in WCF Data Services allow you to create WCF style methods on your service. In general it is good practice to do most of your CRUD operations directly on the entities exposed by your WCF Data Services model but every once in a while you may have a need to do some custom operation that isn’t covered by the model and this is where service operations come into the picture.
So far in this series we’ve looked at Windows Authentication.
For both Windows and Basic Authentication, Data Services does the authentication handshake and subsequent sending of authentication headers – all without you directly setting a http header.
It can do this because there is a higher level abstraction –
If your Data Service includes entities with a string key, you can run into problems if the keys themselves contain certain restricted characters.
For example OData has this uri convention for identifying entities:
So if the ‘key’ contains certain characters it can confuse Uri parsing and processing.
Imagine you have an OData Service installed on your domain somewhere, probably using the .NET Data Services producer libraries, and you want to authenticate clients against your corporate active directory.
How do you do this?
On the Serverside
First on the IIS box hosting your Data Service you need to turn on integrated security,
Here on the Data Services team we hear many people ask about authentication. Questions like:
How do you ‘tunnel’ authentication over the OData protocol?
What hooks should I use in the WCF Data Services client and server libraries?
The answer to these questions,
The Data Services team has released a refresh of the ADO.NET Data Services Update for .NET Framework 3.5 SP1 today and provides fixes for issues reported to us in the update to .NET Framework 3.5 SP1. For Windows Vista, Windows XP,
Two months ago we released an OData Library for the Windows Phone 7 – see the blog post here. If you have downloaded the recent April 2010 Refresh of the Windows Phone Developer Tools you will have found that there is an issue in the refresh of the tools with loading the OData library.
We are taking the MIX10 Services Powering Experiences content on the road.
New York, NY – May 12, 2010 Chicago, IL – May 14, 2010 Mountain View, CA – May 18, 2010 Shanghai, China – June 1, 2010 Tokyo, Japan – June 3,