Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time

Castle MonoRail v2 Documentation

MonoRail is an MVC framework inspired by ActionPack, a paradigm shift to simplicity. Current version is 2.0, released in January 2010.

What is It

MonoRail is an Model-View-Controller (or MVC) framework. MonoRail differs from the standard WebForms way of development as it enforces separation of concerns; controllers just handle application flow, models represent the data, and the view is just concerned about presentation logic. Consequently, you write less code and end up with a more maintainable application.

Why Use It

MonoRail is a simplification of the standard ASP.NET WebForms paradigm. By using MonoRail you end up with small controllers and small views, each one having its own distinct concerns.

It also handles binding of data sent from forms, vastly reducing the need for annoying and repetitive code.

MonoRail can be extended in several directions, so it is easier to reuse pieces for different applications, dramatically reducing the time-to-market for a web application.

Getting Started

Our MonoRail Getting Started guide is the best source of information for newcomers. You will be acquainted with the project and how to use it in small steps. After that you can always consult the documentation for more in-depth information.

Table of Contents

  1. Introduction
  2. Getting Started
  1. Installation
  2. Configuration
  1. Controllers
  2. View Engines
  1. Layouts
  2. Rescues
  3. View Components
  1. Filters
  2. Helpers
  1. Authentication and Authorization
  2. Resources and Localization
  3. Unit Testing
  4. Integrations
  1. Advanced Topics