Sometimes you need to audit everything you do in a transactional system. A lot of standards such as SOX and others state that you must audit your transactions. Doing this by hand inside of your system can (and usually is) a huge PITA. However, it is a necessary evil in some instances. However, if you’re…
Continue Reading »
2.0 RELEASED! Wow… I’ve been using castle for, I’m not sure, maybe 4 years and its finally released version 2.0. I’ve been running off the trunk for _ages_ too. I’m happy to see that this new version of Castle Windsor has been released. Get the bits here.
Continue Reading »
This post might be useful if you perform auto-registration of your components through an interface. Like this: AllTypes.Of<IController>().FromAssembly(typeof(Application).Assembly).Configure(reg =>reg.Named(reg.Implementation.Namespace.Split('.').Last().ToLowerInvariant() + "." +reg.Implementation.Name.ToLowerInvariant()).LifeStyle.Transient), This snippet of code finds all types that implement the IController interface. This would be any controller in your MVC App that implements the Controller base class (Controller implements IController). In this…
Continue Reading »
I was recently interviewed on the Spaghetti Code Podcast, hosted by Microsoft’s Jeff Brand. Jeff and I talked about Mocking and how it relates to the development process, testing process and your day to day coding. You can download the files from the SlickThought website here or from ITunes here. * I’m not sure if…
Continue Reading »
This past weekend I presented the topic "Intro to Dependency Injection and Inversion of Control" at the Phoenix Desert Code Camp. A big thank you goes out to everyone who attended. It was such a popular topic that it actually moved up to the largest room in the conference location, the Theater at UAT! Thanks…
Continue Reading »