Tags
Academia BDD best practices Bing binsor browsers Castle coding style Context/Specification Development Django Documentation eps exceptions flash geeks Google heroin imagemagick Industry internet java java applets journals languages mocking MonoRail news ocd python ramblings Research rhino Routing Software software development stackoverflow syntax TDD testing thesis threadsafequeue timeout unitofwork windsorArchive
- April 2011
- October 2010
- December 2009
- October 2009
- September 2009
- August 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- February 2008
- January 2008
- November 2007
- October 2007
Monthly Archives: September 2008
Enumerating Registered Components in Windsor
Today I had occasion to want to know what’s in my IoC container (mine being Castle Windsor). I poked and prodded to no avail, and finally ended up asking the Castle Project Users Google Group. The illustrious Hammet replied pointing … Continue reading
Mocking Out RedirectToReferrer in Castle MonoRail
GRRRRRRRRRR! In my version of the trunk I’m working against, r5299, I had to do this to mock out RedirectToReferrer. I think it’s been changed in recent commits, I’m not sure. [TestFixture] public class LoginControllerTests : GenericBaseControllerTest<LoginController> { private string … Continue reading
With.Timeout
So Tim Erickson and I have been going round and round on Twitter about how to add a generic Timeout mechanism to procedure calls. Tim wants to wrap a using block in some sort of dark CLR magicks involving things … Continue reading
import Rhino.Commons from Rhino.Commons
Holy Frakin’ Frakity Frak! Perhaps it’s my own fault for using Binsor without being familiar with Boo, but I just ran into a doozy of a PITA. I was trying to add an ThreadSafeQueue from Rhino.Commons into my container, but … Continue reading
StackOverflow – Now With More Heroin
Oh you tricksy hobbitses! I had largely ignored StackOverflow, not because I didn’t think it could be really cool, but because I just didn’t have time. I logged in this morning, and someone asked a question about ticket tracking, and … Continue reading
MonoRail Root Directory Routing + RoutingModuleEx
This crap is so under-documented. It took me forever to figure it out. I love the CastleProject. But damn… documentation… the hell? If you want http://www.yourdomain.com/ to default to say “/Home/Index.castle”, then this is how I did it. I had … Continue reading
Bogard’s IOC Container Guidelines
Jimmy Bogard just posted some “Guidelines” (shhh… don’t say “Best Practices”) for using IOC Containers on his blog. This type of information is *sorely* lacking, and I am tickled pink about his blog post. It’s stuff that I had to … Continue reading
Posted in Development
Leave a comment
Castle ActiveRecord: ValidateIsUnique Vs. Testing
In my Castle ActiveRecord project, I want to use the ValidateIsUnique attribute, but that means when testing my models I have to have bring up the entire database and initialize Castle ActiveRecord etc. even when I’m not testing my persistence … Continue reading
Posted in Development
Leave a comment