Applied patch from Jan Limpens 'ReflectionBasedDictionaryAdapter needs to check if...
[castle.git] / Samples / MonoRail / MRCCnetDashboard / Dashboard.Web / web.config
blob9f336d66885e79860a20ac693c432189d24ca7cc
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 <viewEngine
13 viewPathRoot="views"
14 customEngine="Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine, Castle.MonoRail.Framework.Views.NVelocity" />
15 </monorail>
17 <castle>
19 <facilities>
21 <facility
22 id="remote.facility"
23 type="Castle.Facilities.Remoting.RemotingFacility, Castle.MicroKernel"
24 remotingConfigurationFile="RemotingTcpConfigClient.config">
26 </facility>
28 </facilities>
30 <components>
32 <component
33 id="contenttransformation"
34 type="Dashboard.Web.Service.ContentTransformation, Dashboard.Web"
37 <component
38 id="buildlogtransformer"
39 service="ThoughtWorks.CruiseControl.Core.Publishers.IBuildLogTransformer, ThoughtWorks.CruiseControl.Core"
40 type="ThoughtWorks.CruiseControl.Core.Publishers.BuildLogTransformer, ThoughtWorks.CruiseControl.Core"
43 <component
44 id="cruiseserver"
45 service="ThoughtWorks.CruiseControl.Remote.ICruiseManager, ThoughtWorks.CruiseControl.Remote"
46 type="System.Object, mscorlib"
47 atype="ThoughtWorks.CruiseControl.Core.CruiseServer, ThoughtWorks.CruiseControl.Core"
48 uri="tcp://localhost:21234/CruiseManager.rem"
49 remoteclient="singleton" />
51 </components>
53 </castle>
55 <system.web>
56 <httpHandlers>
57 <add verb="*" path="*.rails" type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework" />
59 <!-- block direct user access to template files -->
60 <add verb="*" path="*.vm" type="System.Web.HttpForbiddenHandler"/>
61 </httpHandlers>
62 <httpModules>
63 <add name="monorail" type="Castle.MonoRail.Framework.EngineContextModule, Castle.MonoRail.Framework" />
64 </httpModules>
65 </system.web>
67 </configuration>