Over a million developers have joined DZone.
Gold Partner

Actions Come to WCF Data Services

· Mobile Zone

The Mobile Zone is brought to you in partnership with Apptimize.  Discover the 5 little know reasons your app is underperforming and how to better understand your customers mobile needs.

There's a great tutorial already available on a new update that Microsoft is making to the Windows Communication Framework.  WCF is getting support for "Actions":

The October 2011 CTP of WCF Data Services adds powerful, but incomplete support for Actions. The motivation behind Actions stems from wanting to advertise in an OData entry an invocable ‘Action’ that has a side-effect on the OData service.

Actions will provide a way to inject behaviors into an otherwise data-centric model without confusing the data aspects of the model, while still staying true to the resource oriented underpinnings of OData.
--dpblogs, MSDN

The tutorial on this new feature, which is useful to you Windows Phone developers out there as well, will take you through, Using WCF Data Services to Invoke an Action, Setting up a WCF Data Service with Actions, and the features that are coming soon.

Source: http://blogs.msdn.com/b/astoriateam/archive/2011/10/17/actions-in-wcf-data-services.aspx

The Mobile Zone is brought to you in partnership with Apptimize.  Learn more about app optimization methods that help teams identify user preferences, decide the next iterative changes to make, and validate them through testing.

Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}