1 <?xml version=
"1.0" encoding=
"utf-8" ?>
4 <section name=
"monorail" type=
"Castle.MonoRail.Framework.Configuration.MonoRailSectionHandler, Castle.MonoRail.Framework" />
5 <section name=
"activerecord" type=
"Castle.ActiveRecord.Framework.Config.ActiveRecordSectionHandler, Castle.ActiveRecord" />
10 <add key=
"hibernate.connection.driver_class" value=
"NHibernate.Driver.SqlClientDriver" />
11 <add key=
"hibernate.dialect" value=
"NHibernate.Dialect.MsSql2000Dialect" />
12 <add key=
"hibernate.connection.provider" value=
"NHibernate.Connection.DriverConnectionProvider" />
13 <add key=
"hibernate.connection.connection_string" value=
"Data Source=.;Initial Catalog=test;Integrated Security=SSPI;" />
19 <assembly>MoviesDemo
</assembly>
21 <viewEngine viewPathRoot=
"views" customEngine=
"Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine, Castle.MonoRail.Framework.Views.NVelocity" />
26 <add verb=
"*" path=
"*.castle" type=
"Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework" />
28 <!-- block direct user access to template files -->
29 <add verb=
"*" path=
"*.vm" type=
"System.Web.HttpForbiddenHandler"/>
32 <add name=
"monorail" type=
"Castle.MonoRail.Framework.EngineContextModule, Castle.MonoRail.Framework" />