- Brandy Swift on NHibernate Query Example using CreateCriteria
- Donna on Simple NHibernate Example, Part 4 : Session Management
- Nelson Montalvo on Simple NHibernate Example, Part 5: Repository Testing
- Josh Schwartzberg on Simple NHibernate Example, Part 5: Repository Testing
- jack on Simple NHibernate Example, Part 5: Repository Testing
Category Archives: Castle
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 … Continue reading
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 … Continue reading
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: … Continue reading
This is another one of those “blog it so I can remember it” posts. My last post about a similar tip was relating to asserting redirects in a MonoRail controller. This one deals with asserting which view is being rendered in your … Continue reading
One of the first things I should have posted: How It Works This image is good for all you visual learners out there: (from the Castle Project documentation) This will help us when we go to the next post on … Continue reading
LAYOUTS UPDATED: Used the Code Snippet plug-in Layouts are like master pages or template pages in Adobe DreamWeaver. They allow you to template your site. I have a default.vm under my ../Views/layouts folder and the way to make a controller … Continue reading
Reading this post by Sean reminded me of when I first started using the trunk’s BaseControllerTest. One nifty little property on the base test controller’s mock Response object is RedirectedTo. So you can do something like this: 1: // some … Continue reading