Added RedirectUsingNamedRoute
[castle.git] / Samples / PestControl / Castle.Applications.PestControl.Web / web.config
bloba3e0de71f526d7d3bd6e42ae501e367bf7d76e7a
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 <section name="castle" type="Castle.Windsor.Configuration.AppDomain.CastleSectionHandler, Castle.Windsor" />
6 </configSections>
8 <monoRail useWindsorIntegration="true">
9 <!-- If you'd like to use the controller directly: -->
10 <!-- <controllers assembly="Castle.Applications.PestControl.Web" /> -->
11 <viewEngine viewPathRoot="views" />
12 </monoRail>
14 <castle>
15 <facilities>
16 <facility id="prevalence">
17 <engines>
18 <engine id="prevalenceengine" autoVersionMigration="true" storageDir="../../storage" systemId="pestcontrolModel"
19 systemType="Castle.Applications.PestControl.Model.PestControlModel, Castle.Applications.PestControl" />
20 </engines>
21 </facility>
22 </facilities>
23 <components></components>
24 </castle>
26 <system.web>
27 <httpModules>
28 <add name="monorail" type="Castle.MonoRail.Framework.EngineContextModule, Castle.MonoRail.Framework" />
29 </httpModules>
30 <httpHandlers>
31 <add verb="*" path="*.rails" type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework" />
32 </httpHandlers>
33 </system.web>
35 <!--
36 <location path="project">
37 <system.web>
38 <authorization>
39 <deny users="?"/>
40 </authorization>
41 </system.web>
42 </location>
43 -->
44 </configuration>