6 <!-- custom Factories/Should be configured on services. Here for backward compatibility purposes -->
\r
8 <customControllerFactory type="type name that implements IControllerFactory" />
\r
9 <customComponentFactory type="type name that implements IComponentFactory" />
\r
10 <customFilterFactory type="type name that implements IFilterFactory" />
\r
13 <add url="/index.rails" controller="home" action="index" area="optional" />
\r
16 <url useExtensions="true|false" />
\r
19 <assembly>AssemblyName1</assembly>
\r
20 <assembly>AssemblyName2</assembly>
\r
24 <assembly>AssemblyName1</assembly>
\r
25 <assembly>AssemblyName2</assembly>
\r
28 <!-- customEngine support for backward compatibility purposes -->
\r
30 viewPathRoot="views"
\r
31 customEngine="ViewEngine.Type.Name, Assembly">
\r
34 <assembly name="" namespace="" />
\r
35 <assembly name="" namespace="" />
\r
36 </additionalSources>
\r
40 <viewEngines viewPathRoot="views">
\r
42 <add type="ViewEngine.Type.Name1, Assembly" xhtml="false" />
\r
43 <add type="ViewEngine.Type.Name2, Assembly" xhtml="false" />
\r
47 <!-- List of services ids:
\r
53 ViewComponentFactory
\r
57 ControllerDescriptorProvider
\r
58 ResourceDescriptorProvider
\r
59 RescueDescriptorProvider
\r
60 LayoutDescriptorProvider
\r
61 HelperDescriptorProvider
\r
62 FilterDescriptorProvider
\r
63 EmailTemplateService
\r
71 id="[see list above]"
\r
72 type="Service.Type.Name, Assembly"
\r
73 interface="optional" />
\r
77 <extension type="Extension.Type.Name, Assembly" />
\r
78 <extension type="Extension.Type.Name, Assembly" />
\r
81 <routing matchHostNameAndPath="true|false" excludeAppPath="true|false">
\r
83 <pattern>(/blog/posts/)(\d+)/(\d+)/(.)*$</pattern>
\r
84 <replace><![CDATA[ /blog/view.rails?year=$2&month=$3 ]]></replace>
\r
87 <pattern>(/news/)(\d+)/(\d+)/(.)*$</pattern>
\r
88 <replace><![CDATA[ /news/view.rails?year=$2&month=$3 ]]></replace>
\r