4 <section name=
"log4net" type=
"log4net.Config.Log4NetConfigurationSectionHandler,log4net"/>
5 <section name=
"monoRail" type=
"Castle.MonoRail.Framework.Configuration.MonoRailSectionHandler, Castle.MonoRail.Framework"/>
6 <section name=
"Brail" type=
"Castle.MonoRail.Views.Brail.BrailConfigurationSection, Castle.MonoRail.Views.Brail"/>
10 <service id=
"Custom" interface=
"Castle.Core.Logging.ILoggerFactory, Castle.Core" type=
"Castle.Services.Logging.Log4netIntegration.Log4netFactory, Castle.Services.Logging.Log4netIntegration"/>
13 <assembly>TestSiteBrail
</assembly>
15 <viewEngine viewPathRoot=
"Views" customEngine=
"Castle.MonoRail.Views.Brail.BooViewEngine, Castle.MonoRail.Views.Brail"/>
18 <pattern>(/blog/posts/)(\d+)/(\d+)/(.)*$
</pattern>
19 <replace><![CDATA[ /blog/view.rails?year=$
2&month=$
3 ]]
></replace>
22 <pattern>(/news/)(\d+)/(\d+)/(.)*$
</pattern>
23 <replace><![CDATA[ /news/view.rails?year=$
2&month=$
3 ]]
></replace>
27 <Brail debug=
"true" saveToDisk=
"true" saveDirectory=
"BrailGen" batch=
"false" commonScriptsDirectory=
"CommonScripts">
28 <reference assembly=
"Castle.MonoRail.Framework"/>
29 <import namespace=
"System.Net"/>
33 <add verb=
"*" path=
"*.rails" type=
"Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework"/>
36 <add name=
"routing" type=
"Castle.MonoRail.Framework.RoutingModule, Castle.MonoRail.Framework"/>
38 <compilation debug=
"true"/></system.web
>