Fixing an issue with output parameters that are of type IntPtr
[castle.git] / MonoRail / monorail_configuration_ref.txt
blob2473009211b1e44a2c9f4f0197f4b6424ae37ace
1 <monorail \r
2         smtpHost="" \r
3         smtpUsername="" \r
4         smtpPassword="">\r
5         \r
6         <!-- custom Factories/Should be configured on services. Here for backward compatibility purposes -->\r
7         \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
12         <defaultUrls>\r
13                 <add url="/index.rails" controller="home" action="index" area="optional" />\r
14         </defaultUrls>\r
16         <url useExtensions="true|false" /> \r
18         <controllers>\r
19                 <assembly>AssemblyName1</assembly>\r
20                 <assembly>AssemblyName2</assembly>\r
21         </controllers>\r
22         \r
23         <viewcomponents>\r
24                 <assembly>AssemblyName1</assembly>\r
25                 <assembly>AssemblyName2</assembly>\r
26         </viewcomponents>\r
27         \r
28         <!-- customEngine support for backward compatibility purposes -->\r
29         <viewEngine \r
30                 viewPathRoot="views" \r
31                 customEngine="ViewEngine.Type.Name, Assembly">\r
33                 <additionalSources>\r
34                         <assembly name="" namespace="" />\r
35                         <assembly name="" namespace="" />\r
36                 </additionalSources>\r
37                 \r
38         </viewEngine>\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
45         </viewEngines>\r
47         <!-- List of services ids:\r
49                         Custom\r
50                         ControllerFactory\r
51                         ViewEngineManager\r
52                         ViewSourceLoader\r
53                         ViewComponentFactory\r
54                         FilterFactory\r
55                         ResourceFactory\r
56                         EmailSender\r
57                         ControllerDescriptorProvider\r
58                         ResourceDescriptorProvider\r
59                         RescueDescriptorProvider\r
60                         LayoutDescriptorProvider\r
61                         HelperDescriptorProvider\r
62                         FilterDescriptorProvider\r
63                         EmailTemplateService\r
64                         ControllerTree\r
65                         CacheProvider\r
66                         ScaffoldingSupport\r
67         -->\r
68         \r
69         <services>\r
70                 <service \r
71                         id="[see list above]" \r
72                         type="Service.Type.Name, Assembly"\r
73                         interface="optional" />\r
74         </services>\r
75         \r
76         <extensions>\r
77                 <extension type="Extension.Type.Name, Assembly" />\r
78                 <extension type="Extension.Type.Name, Assembly" />\r
79         </extensions>\r
81         <routing matchHostNameAndPath="true|false" excludeAppPath="true|false">\r
82                 <rule>\r
83                         <pattern>(/blog/posts/)(\d+)/(\d+)/(.)*$</pattern>\r
84                         <replace><![CDATA[ /blog/view.rails?year=$2&month=$3 ]]></replace>\r
85                 </rule>\r
86                 <rule>\r
87                         <pattern>(/news/)(\d+)/(\d+)/(.)*$</pattern>\r
88                         <replace><![CDATA[ /news/view.rails?year=$2&month=$3 ]]></replace>\r
89                 </rule>\r
90         </routing>\r
91         \r
92 </monorail>\r