Refactored the Kernel registration fluent interface to be more readable, better suppo...
[castle.git] / Samples / MonoRail / JSGenExample / Web.config
blob22c34aeee8c19f33761a405405b2c3414f45eb2e
1 <?xml version="1.0" encoding="utf-8"?>
2 <configuration>
3 <configSections>
4 <section name="monorail" type="Castle.MonoRail.Framework.Configuration.MonoRailSectionHandler, Castle.MonoRail.Framework" />
5 </configSections>
7 <monorail>
8 <controllers>
9 <assembly>JSGenExample</assembly>
10 </controllers>
12 <viewEngine
13 viewPathRoot="Views"
14 customEngine="Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine, Castle.MonoRail.Framework.Views.NVelocity" />
15 </monorail>
17 <system.web>
18 <httpHandlers>
19 <add verb="*" path="*.castle" type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework" />
20 <!-- block direct user access to template files -->
21 <add verb="*" path="*.vm" type="System.Web.HttpForbiddenHandler" />
22 </httpHandlers>
23 <httpModules>
24 <add name="monorail" type="Castle.MonoRail.Framework.EngineContextModule, Castle.MonoRail.Framework" />
25 </httpModules>
26 </system.web>
27 </configuration>