-
Recent Posts
Recent Comments
- Pakistanjobs.pk on Windows Forms Data Binding
- Dale on I Heart ReSharper!
- joey on I Heart ReSharper!
- joey on I Heart ReSharper!
- remi bourgarel on I Heart ReSharper!
Archives
Categories
Meta
Monthly Archives: November 2008
Who do you wanna Jott? Twitter
So I recently started twittering… or tweeting. I’m not sure what the correct lingo is, so hook me up if you know. It all started a while back when James announced that he was the newest Twit. He mentioned a … Continue reading
Posted in Tools
Leave a comment
Container Configuration
In my last post I briefly mentioned how we were wiring some components in to our container. The syntax looked like the following: container.AddProxyOf( new ReportPresenterTaskConfiguration(), new ReportPresenterTask( Lazy.Load<IReportDocumentBuilder>(), Lazy.Load<IApplicationSettings>()) ); We’re using Castle Windsor under the hood, but we … Continue reading
Posted in Design Patterns
Leave a comment
Lazy Loaded Interceptors
Patterns of Enterprise Application Architecture defines Lazy Load as: An object that doesn’t contain all of the data you need but knows how to get it. A while back I was trying to figure out how to lazy load … Continue reading
Posted in Books, Design Patterns, TDD, Tools
4 Comments
Opening Doors
joshka left a comment on my previous post that reads… "… Can you talk about the Application Context and IKey stuff a little in a future post?" The IKey<T> interface defines a contract for different keys that are put into … Continue reading
Posted in Design Patterns
2 Comments
Mocking Queryables
Recently, we’ve been mocking out IQueryable’s as return values, which had led to setups that look like the following… programs.setup_result_for(x => x.All()).Return(new List<IProgram> {active_program,inactive_program}.AsQueryable()); I just switched over to the following syntax… by creating an extension method. programs.setup_result_for(x => x.All()).will_return(active_program,inactive_program); … Continue reading
Intercepting Business Transactions
In Patterns of Enterprise Application Architecture, the Unit of Work design pattern is defined as: Maintains a list of objects affected by a business transaction and coordinates the writing out of changes and the resolution of concurrency problems. NHibernate seems … Continue reading
Posted in Uncategorized
3 Comments
