Articles : Page 1 of 1

  • Dependency Injection with ASP MVC 3–Distilled and Simplified

    Dependency Injection with ASP MVC 3–Distilled and Simplified

    Jan 11
    24

    One of the key new features in the ASP MVC 3 framework is how the framework interacts with your Inversion of Control (IoC) Container. Note: the specific behavior of the IoC containers themselves has not changed. The only thing that has changed is how the MVC 3 framework interacts with the IoC Container. In MVC 1 and 2, we had to create our own Custom Controller Factory. In MVC 3, your still free to do so. However, when you see how MVC 3 generically works with IoC containers, when upgrading t...


  • Moving containers beyond testability

    Moving containers beyond testability

    Sep 10
    21

    In Derick Bailey’s two recent posts on containers, I found a lot of déjà vu in his sentiments. In fact, it’s quite similar to the issues that I was running into a while back, trying to move beyond top-down design. I had become a little disenchanted with my container usage. I created top-level classes, abstracted dependencies in the form of interfaces, and then filled in implementations. It works well for test-driven development, as an interface in C# is still the easiest way to provide the s...



  • 1