-
I'm working with a new team that has a slightly different technology stack then I'm used to. On most projects where I am the team lead, StructureMap is my IOC container of choice. I've always thought that this was just laziness on my part because I can wire up most things very quickly. Now I'm beginning...
-
So I was trying to get my BDD project SpecMaker working on Mono only to find out my usual IoC container of choice Castle Windsor does not play nice. StructureMap I’ve heard plays nice in Mono, and I know a bunch of people that use it, so I gave it a whirl. My original Windsor configuration...
-
Last week I did a talk on Windsor and it went..ok. I’m not used to online presentations and am more experienced in front of crowds that I can interact with. So between last week’s experience and some advice from Agile Joe this talk I’ll be aiming for more of a screen cast feel. The talk should...
-
I know this isn't related to my Pylons series and worry not there is no interruption in that, but I'm giving a couple of talks on Virtual Alt.Net . The first one I've done before and you may have heard it at Alamo Coders, the second one is all new and it'll give me opportunity to clean...
-
I use the following trick for adding ActiveRecord classes after the fact for our in-house plug-in architecture. Thanks to whichever blogger/mailing list I picked this up from so long ago. Scenario 1: Class(es) to load inherit from same base class as current running ActiveRecord classes var holder = ActiveRecordMediator...
-
The Single Responsibility Principle This post is about the first letter in Uncle Bob's SOLID acronym, Single Responsibility Principle , and a continuation of The Los Techies Pablo's Topic of the Month - March: SOLID Principles . Sean has already posted on this, but I'd like to "contribute"...
-
Update: Zip file links have been updated due to the first one being corrupt! Well it was bound to happen at some point. My first screencast . It's a quick walkthrough on how you can get a baseline MonoRail solution up and running. Yeah, I know. Everyone's talking about MS MVC these days, and...
-
Last night, my fellow LosTechies geek Jason , wanted me to check out something he was trying to do in a MonoRail controller test. For some background and the original source code he was working with, see his Castle forum post . So here was the partial test he was working with: [Test] public void Should_have_error_summary_message_when_required_name_is_not_filled...
-
I'm getting ready to take a break from my current project and switch gears for a little while, but there were a number of "clean up" type tasks I wanted to do before I wrapped things up. One of the main things I wanted to do was to get rid of the XML configuration files I had for Windsor...
-
(Because I often get tired of writing my verbose comments in a 300x300 text box...) Colin seems to find himself in a pretty good spot . The wonderful world of Greenfield development. But of course with this comes...decisions. MVC or Web Forms? ActiveRecord or PI (persistent ignorant)? .NET or Ruby? ...
-
If you want a great into to MonoRail, check out Colin's screencasts . I will possibly be re-writing my validation post.
-
This post was decided upon after watching Hammet 's screencast on using attribute-based validation in MonoRail. * NOTE : I do not agree with embedding validation into the domain model. I would prefer a service handle this, but I'm utilizing the validation that is in the framework. I've been...
-
Ayende (pronounced A-yend (no eh at the end) - verified in this post after hearing Colin pronounce it) posted on an idea he has - MonoRail HotSwap and Colin Ramsay did a screencast of MonoRail HotSwap . I know that the AppDomain having to reset because a code change occurred can be annoying sometimes...
-
Hammet posted that RC3 is out . For those of you who were on RC2 and hesitant to use the trunk, this is great news. Hammet also posted what the changes were .
-
UNIT TESTING After the past 2 1/2 posts I've migrated my unit tests to use the BaseControllerTest abstract class that originated from the Eleutian guys, but is now a part of the Castle MonoRail trunk download . Here is my ExampleControllerTests class: 1: using Castle.MonoRail.TestSupport; 2: using...