Changed to use Authenticate asp.net event instead of Authorize
[castle.git] / MonoRail / TestSiteWindsor / web.config
blob96e084f9f38d6b4592b10d37b635b7e6bf8600da
1 <?xml version="1.0" encoding="utf-8" ?>
2 <configuration>
4 <configSections>
5 <section name="monorail"
6 type="Castle.MonoRail.Framework.Configuration.MonoRailSectionHandler, Castle.MonoRail.Framework" />
7 <section name="castle"
8 type="Castle.Windsor.Configuration.AppDomain.CastleSectionHandler, Castle.Windsor" />
9 </configSections>
11 <monorail useWindsorIntegration="true">
12 <viewEngines viewPathRoot="views">
13 <add type="Castle.MonoRail.Framework.Views.Aspx.WebFormsViewEngine, Castle.MonoRail.Framework" xhtml="false" />
14 <add type="Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine, Castle.MonoRail.Framework.Views.NVelocity" xhtml="false" />
15 </viewEngines>
16 </monorail>
18 <castle>
20 <facilities>
22 <facility id="mrfacility"
23 type="Castle.MonoRail.WindsorExtension.RailsFacility, Castle.MonoRail.WindsorExtension" />
25 </facilities>
27 <components>
28 <component id="empty.interceptor"
29 type="TestSiteWindsor.EmptyInterceptor, TestSiteWindsor" />
31 <component id="home.controller"
32 type="TestSiteWindsor.Controllers.HomeController, TestSiteWindsor" />
34 <component id="mycomp"
35 type="TestSiteWindsor.Controllers.MyComponent, TestSiteWindsor" />
37 <component id="wizard.controller" type="TestSiteWindsor.Controllers.TestWizardController, TestSiteWindsor">
38 <interceptors>
39 <interceptor>${empty.interceptor}</interceptor>
40 </interceptors>
41 </component>
43 <component id="page.1" type="TestSiteWindsor.Controllers.Page1, TestSiteWindsor">
44 <interceptors>
45 <interceptor>${empty.interceptor}</interceptor>
46 </interceptors>
47 </component>
49 <component id="page.2" type="TestSiteWindsor.Controllers.Page2, TestSiteWindsor">
50 <interceptors>
51 <interceptor>${empty.interceptor}</interceptor>
52 </interceptors>
53 </component>
55 <component id="page.3" type="TestSiteWindsor.Controllers.Page3, TestSiteWindsor">
56 <interceptors>
57 <interceptor>${empty.interceptor}</interceptor>
58 </interceptors>
59 </component>
61 <component id="page.4" type="TestSiteWindsor.Controllers.Page4, TestSiteWindsor">
62 <interceptors>
63 <interceptor>${empty.interceptor}</interceptor>
64 </interceptors>
65 </component>
67 </components>
69 </castle>
71 <system.web>
72 <compilation defaultLanguage="C#" debug="true" />
74 <httpHandlers>
75 <add verb="*" path="*.rails"
76 type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework" />
77 </httpHandlers>
79 <httpModules>
80 <add name="monorail"
81 type="Castle.MonoRail.Framework.EngineContextModule, Castle.MonoRail.Framework" />
82 </httpModules>
83 </system.web>
85 </configuration>