1 <?xml version=
"1.0" encoding=
"utf-8"?>
6 type=
"Castle.MonoRail.Framework.Configuration.MonoRailSectionHandler, Castle.MonoRail.Framework" />
9 type=
"Castle.ActiveRecord.Framework.Config.ActiveRecordSectionHandler, Castle.ActiveRecord" />
12 <monorail smtpHost=
"yoursmtphost" useWindsorIntegration=
"false">
14 <assembly>DiggExample
</assembly>
16 <viewEngine viewPathRoot=
"Views" customEngine=
"Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine, Castle.MonoRail.Framework.Views.NVelocity" />
19 <activerecord isWeb=
"true">
23 key=
"hibernate.connection.driver_class"
24 value=
"NHibernate.Driver.SqlClientDriver" />
26 key=
"hibernate.dialect"
27 value=
"NHibernate.Dialect.MsSql2000Dialect" />
29 key=
"hibernate.connection.provider"
30 value=
"NHibernate.Connection.DriverConnectionProvider" />
32 key=
"hibernate.connection.connection_string"
33 value=
"Data Source=.;Initial Catalog=test;Integrated security=SSPI;" />
40 <add verb=
"*" path=
"*.castle" type=
"Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework" />
41 <!-- block direct user access to template files -->
42 <add verb=
"*" path=
"*.vm" type=
"System.Web.HttpForbiddenHandler" />
43 <add verb=
"*" path=
"*.njs" type=
"System.Web.HttpForbiddenHandler" />
44 <add verb=
"*" path=
"*.brail" type=
"System.Web.HttpForbiddenHandler" />
45 <add verb=
"*" path=
"*.brailjs" type=
"System.Web.HttpForbiddenHandler" />
46 <add verb=
"*" path=
"*.st" type=
"System.Web.HttpForbiddenHandler" />
49 <add name=
"monorail" type=
"Castle.MonoRail.Framework.EngineContextModule, Castle.MonoRail.Framework" />