MonoRail, Active Record & Repository<T> Sample Application

time to read 2 min | 218 words

Since I was asked, here is a demo application for using Active Record and Repository<T>.  Please note that this is an internal application that I use to merely test some ideas, so it is a bit rough, and there isn't any real functionality.

  • The more interesting stuff for ActiveRecord & Repository<T> can be found in the FaqController.
  • The entities are in Exesto.Model assembly, with all the usual attributes.
  • A UnitOfWorkApplication (HttpApplication) handles the scopes (using IUnitOfWorkFactory).
  • Configuring Windsor is done using Binsor, in Windsor.boo
  • Visit /construct/database.rails to create the database.

Here are the links to the source online: