Related Posts: Writing a simple implementation of dependency injection in MVC 4 Web API with .NET Framework 4.5 Writing BDD style unit tests to verify the MVC based Web API To recap, so far we put together a MVC based Web API and examined the mechanism for plugging in a very simple dependency injection mechanism…
Tag: IDependencyResolver
Writing BDD style unit tests to verify the MVC based Web API
[Previous post –>Writing a simple implementation of dependency injection in MVC 4 Web API with .NET Framework 4.5] In my previous blog post, we developed a simple REST based web API that exposes web methods using MVC 4 controller. We also discussed how to implement a simple dependency injection mechanism using the inbuilt IDependencyResolver interface,…
Writing a simple implementation of dependency injection in MVC 4 Web API with .NET Framework 4.5
ASP.NET Web API is a new feature release with the .NET Framework 4.5. It allows a single Web service to communicate with multiple clients in various formats such as XML, JSON and OData. Although many protocols exist for communicating data on the Internet, HTTP seems to be dominating due to its ease of use and…