Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Samples / MonoRail / DiggPaginationSample / DiggExample / Web.config
blobbb40a1f9edc7582bfe36745a41299e333873a636
1 <?xml version="1.0" encoding="utf-8"?>
2 <configuration>
3 <configSections>
4 <section
5 name="monorail"
6 type="Castle.MonoRail.Framework.Configuration.MonoRailSectionHandler, Castle.MonoRail.Framework" />
7 <section
8 name="activerecord"
9 type="Castle.ActiveRecord.Framework.Config.ActiveRecordSectionHandler, Castle.ActiveRecord" />
10 </configSections>
12 <monorail smtpHost="yoursmtphost" useWindsorIntegration="false">
13 <controllers>
14 <assembly>DiggExample</assembly>
15 </controllers>
16 <viewEngine viewPathRoot="Views" customEngine="Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine, Castle.MonoRail.Framework.Views.NVelocity" />
17 </monorail>
19 <activerecord isWeb="true">
21 <config>
22 <add
23 key="hibernate.connection.driver_class"
24 value="NHibernate.Driver.SqlClientDriver" />
25 <add
26 key="hibernate.dialect"
27 value="NHibernate.Dialect.MsSql2000Dialect" />
28 <add
29 key="hibernate.connection.provider"
30 value="NHibernate.Connection.DriverConnectionProvider" />
31 <add
32 key="hibernate.connection.connection_string"
33 value="Data Source=.;Initial Catalog=test;Integrated security=SSPI;" />
34 </config>
36 </activerecord>
38 <system.web>
39 <httpHandlers>
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" />
47 </httpHandlers>
48 <httpModules>
49 <add name="monorail" type="Castle.MonoRail.Framework.EngineContextModule, Castle.MonoRail.Framework" />
50 </httpModules>
51 </system.web>
52 </configuration>