ASP.NET Web API + minimal touch MEF

Monday, November 11, 2013

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...