Dependency Injection , Structuremap and ASP.net webforms

I have decided to do a short video cast on dependency injection and ASP.NET webforms after watching Rob Conery’s video on ASP.NET MVC and DI for the Storefront application. I ran into a bunch of problems trying to mimic the behaviour from MVC example to work with webforms. I ended up having to come up with a solution that would work around the whole issue of a webforms page not having a constructor (unlike a MVC controller which does). If you are unfamiliar with structuremap I would recommend watching Rob Conery’s video first to become accustomed with how the library works. You can view the video here.

Please be gentle with the comments this is the first every video cast I have done (and i have flu)!  Ps Its best to view this full screen.

To download the source from this video please click here.  | This work is licensed under a Creative Commons Licence.

Twitter Twitter Twitter Twitter Twitter
April 19, 2009 20:30 by DanWatson

My new blog is up and running… Something fun to start with

If your web server was down what would you do (I would call my hosting company!!!) but there is always this option…  I find this very funny!

Twitter Twitter Twitter Twitter Twitter
April 18, 2009 14:04 by DanWatson