Practical differences between ASP.NET Web API and WCF Data Services

In this post I would like to point out the main practical differences between ASP.NET Web API and WCF Data Services (OData). For those who does not yet know too much about Web API there is a lot of articles and tutorial about this topic on the net. The starting point is of course Microsoft ASP.NET team site which provides all related information and a bunch of tutorials. Concer…

By Mirek on (tags: ASP.NET, OData, WCF Data Services, Web API, categories: infrastructure, code)

Abstract repository for direct EF, WCF and WCF Data Services connection with database.

In this article I would like to show you my implementation and approach for using abstract repository no matter if the client is connecting directly to the database using Entity Framework, over WCF service or WCF Data Services (WCFDS) service. 1. General explicit repository The goal here is to have common interface of the repository so the client application does not care about…

By Mirek on (tags: Code First, Entity Framework, WCF Data Services, categories: architecture, code)