As you delve more into ASP.NET MVC you start to come across a whole new way of doing things that Web Forms development didn't really expose you to. Inversion of Control (IoC) and Dependency Injection (DI) are two phrases that crop up a lot in the MVC space. So what are they all about?
Introduction Dependency Injection is a nice design pattern that makes your code a bit more nimble and allows for better separation between your tiers. This article goes into detail on how we used Dependency Injection when building Recarded.com, and how programming towards an interface, instead of a concrete class, not only makes Test Driven Development (TDD) easier, but also allowed us to be more flexible when we had to change our implementation due to forces outside of our control. Background Back in 2006, a work colleague and myself started a side venture together. We set out to create a gift card marketplace for users to sell their unwanted gift cards and to buy gift cards at a discount.
I recently started getting to know the ASP.NET MVC Framework (more specifically the Preview 4 release). The first thing I noticed upon installation is that it only comes with a Web Application Project Template. There is no regular ASP.NET Website template. So, I decided to try converting the Web Application Project Template to a regular ASP.NET Website.
Home / MVC 5 Minute Video ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that enables a clean separation of concerns and that gives you full control over markup for enjoyable, agile development. ASP.NET MVC includes many features that enable fast, TDD-friendly development for creating sophisticated applications that use the latest web standards. Install Visual Studio Express 2012 for Web Free Have nothing?