Browse by Tags

All Tags » ADO.NET Data Services (RSS)
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...
Posted by cibrax | 2 comment(s)
WCF Data Services ships with two built-in query providers, a query provider for Entity Framework that uses the CSL model to infer all the service metadata for the exposed entities and their associations, and another provider, a Reflection Provider that...
Posted by cibrax | 6 comment(s)
I am very proud to announce today the release of our product in Tellago Studios , SO-Aware , a RESTful service repository based on OData.  The main difference between SO-Aware and other existing products is that everything is exposed as resources...
WCF Data Services provides an specific operator “$value” for retrieving the underline value of any of the properties in exposed resources. Let’s say you have a resource “Configuration” that exposes a field “Xml” whose content should be treated as a mime...
Posted by cibrax
The repository implementation I am going to discuss here is not exactly what someone would call repository in terms of DDD, but it is an abstraction layer that becomes handy at the moment of unit testing the code around this repository. In other words...
Posted by cibrax | 3 comment(s)
A time ago I discussed how a custom REST Starter kit interceptor could be used to parse a SAML token in the Http Authorization header and wrap that into a ClaimsPrincipal that the WCF services could use. The thing is that code was initially created for...
Posted by cibrax | 4 comment(s)
In one of the project where I was working one, we used the Microsoft Enterprise Library Exception Application Block integration with WCF for logging all the technical issues on the services/backend in Windows Event Log. This application block worked like...
Posted by cibrax | 1 comment(s)
Do you want to see something very ugly ?. Try to send a complete EF entity directly as a data contract over the wire with WCF, <Order xmlns:i=" http://www.w3.org/2001/XMLSchema-instance " z:Id="i1" xmlns:z=" http://schemas.microsoft.com/2003/10/Serialization...
ADO.NET Data services represent today one of the most powerful alternatives to build RESTful services in the .NET platform. This framework basically creates a RESTful API on top of any IQueryable data source. Most of the steps required to publish a set...
Posted by cibrax | 4 comment(s)
More Posts