During some recent development the team I was experiencing some friction with databases and developing. We were using Castle Active Record and we soon realized that as new people joined the team, left the team (rinse, wash, repeat), db changes occurred in the Active Record Schema etc, that the set up time to going was…
Continue Reading »
Here is a simple class that allows you to use a container to register and resolve your instances of controllers. You’d want to do this if you inject dependencies into your controller via constructor injection. Controller Example: public class AdminController : Controller { private readonly ILocalDbManager _localDbManager; public AdminController(ILocalDbManager localDbManager) { _localDbManager = localDbManager; }…
Continue Reading »
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 »
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 »