<s>
MonoRail	B-Language
(	O
formerly	O
called	O
Castle	O
on	O
Rails	O
)	O
,	O
a	O
component	O
of	O
the	O
Castle	B-Application
Project	I-Application
,	O
is	O
an	O
open	B-Application
source	I-Application
web	B-Application
application	I-Application
framework	I-Application
built	O
on	O
top	O
of	O
the	O
ASP.NET	B-Application
platform	O
.	O
</s>
<s>
Inspired	O
by	O
Ruby	B-Application
on	I-Application
Rails	I-Application
Action	O
Pack	O
,	O
MonoRail	B-Language
differs	O
from	O
standard	O
ASP.NET	B-Application
Web	B-Application
Forms	I-Application
development	O
by	O
enforcing	O
separation	O
of	O
concerns	O
using	O
a	O
model	O
–	O
view	O
–	O
controller	O
(	O
MVC	O
)	O
architecture	O
.	O
</s>
<s>
The	O
framework	O
is	O
commonly	O
used	O
in	O
conjunction	O
with	O
Castle	O
ActiveRecord	O
,	O
an	O
ORM	B-General_Concept
layer	O
built	O
on	O
NHibernate	B-Language
.	O
</s>
<s>
In	O
January	O
2010	O
,	O
version	O
2.0	O
of	O
MonoRail	B-Language
was	O
released	O
,	O
however	O
,	O
many	O
projects	O
use	O
the	O
trunk	O
version	O
of	O
the	O
source	O
to	O
take	O
advantage	O
of	O
new	O
features	O
without	O
waiting	O
for	O
official	O
releases	O
.	O
</s>
<s>
Although	O
the	O
project	O
's	O
name	O
is	O
MonoRail	B-Language
,	O
it	O
does	O
not	O
have	O
any	O
affiliation	O
with	O
the	O
Mono	B-Application
project	I-Application
.	O
</s>
<s>
The	O
mainstream	O
view	O
engine	O
used	O
in	O
MonoRail	B-Language
is	O
,	O
based	O
on	O
the	O
Apache	B-Language
Velocity	I-Language
library	O
.	O
</s>
<s>
NVelocity	O
is	O
supplied	O
with	O
simple	O
control	O
blocks	O
such	O
as	O
if	B-Language
statements	I-Language
and	O
foreach	O
loops	O
.	O
</s>
<s>
,	O
based	O
on	O
the	O
Boo	B-Application
language	O
.	O
</s>
<s>
,	O
a	O
view	O
engine	O
that	O
uses	O
C#	B-Application
as	O
its	O
scripting	O
language	O
,	O
and	O
uses	O
a	O
pre-compiled	O
approach	O
,	O
where	O
all	O
the	O
views	O
are	O
pre-compiled	O
to	O
a	O
.NET	O
Assembly	O
prior	O
to	O
deployment	O
.	O
</s>
<s>
The	O
view	O
templates	O
are	O
text	O
files	O
with	O
the	O
extension	O
'	O
.aspx	B-Application
'	O
.	O
</s>
<s>
lets	O
you	O
use	O
some	O
of	O
the	O
power	O
of	O
Web	B-Application
Forms	I-Application
in	O
your	O
MonoRail	B-Language
applications	O
.	O
</s>
<s>
The	O
use	O
of	O
the	O
WebForms	O
view	O
engine	O
is	O
quite	O
sparse	O
,	O
and	O
is	O
only	O
recommended	O
for	O
a	O
migration	O
phase	O
from	O
an	O
existing	O
Web	B-Application
Forms	I-Application
application	I-Application
to	O
a	O
MonoRail	B-Language
application	O
.	O
</s>
<s>
The	O
view	O
templates	O
are	O
text	O
files	O
with	O
the	O
extension	O
'	O
.aspx	B-Application
'	O
.	O
</s>
<s>
is	O
a	O
new	O
view	O
engine	O
popular	O
among	O
ASP.NET	B-Application
MVC	O
developers	O
,	O
supports	O
MonoRail	B-Language
as	O
well	O
.	O
</s>
