WCF DS-based OData services + EF 6

2013/11/18

WCF DS-based OData services + EF 6 WCF Data Services was recently shipped with support for Entity Framework 6.migration from previously version is easy and involve tooling upgrade NuGet package and replacing the inheritance of DataService<> with EntityFrameworkDataService<>. Creating a new EF 6's OData service do the following steps, in order to have EF 6's OData service up and running: Install WCF Data Services 5.6.0 RTM Tools Installer Create hosting project (usually empty ASP.NET) Install the WCF Data Services Entity Framework Provider NuGet(this is still a pre-release package so remember include pre-released packages...
5 comments

ASP.NET Web API + minimal touch MEF

2013/11/11

ASP.NET Web API + minimal touch MEF this post will offer light touching technique of introducing MEF to ASP.NET Web API. the motivation for having MEF (or any other IoC container) for Web API is for dependencies abstraction and testability. it is also easier to design your API by Contract (mining that you don't have to think about the actual implementation at design time). so why minimal touch? even those other suggestion can be found, most of them involve custom routing. the risk of alter ASP.NET Web API routing, is...