- Added WriteLine as a reminder to remove the SelectObject hack later
[mono.git] / data / machine.config
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <configuration>
4
5         <configSections>
6                 <section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System" />
7                 <section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System" />
8                 <section name="system.runtime.remoting" type="System.Configuration.IgnoreSectionHandler, System" allowLocation="false"/>
9                 <sectionGroup name="system.web">
10                         <section name="httpHandlers"
11                                  type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" />
12                         <section name="httpModules"
13                                  type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web" />
14                         <section name="machineKey"
15                                  type="System.Web.Configuration.MachineKeyConfigHandler, System.Web" />
16                         <section name="authentication"
17                                  type="System.Web.Configuration.AuthenticationConfigHandler, System.Web" />
18                         <section name="authorization"
19                                  type="System.Web.Configuration.AuthorizationConfigHandler, System.Web" />
20                         <section name="globalization"
21                                  type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web" />
22                         <section name="sessionState"
23                                  type="System.Web.SessionState.SessionStateSectionHandler, System.Web" />
24                         <section name="trace"
25                                  type="System.Web.Configuration.TraceConfigurationHandler, System.Web" />
26                         <section name="webServices"
27                                  type="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler, System.Web.Services" />
28                         <section name="webControls"
29                                  type="System.Web.Configuration.WebControlsSectionHandler, System.Web" />
30                         <section name="compilation"
31                                  type="System.Web.Configuration.CompilationConfigurationHandler, System.Web" />
32                         <section name="httpRuntime"
33                                  type="System.Web.Configuration.HttpRuntimeConfigurationHandler, System.Web" />
34                         <section name="customErrors"
35                                  type="System.Web.Configuration.CustomErrorsConfigHandler, System.Web" />
36                         <section name="pages"
37                                  type="System.Web.Configuration.PagesConfigurationHandler, System.Web" />
38                 </sectionGroup>
39                 <sectionGroup name="system.net">
40                         <section name="settings"
41                                  type="System.Net.Configuration.NetConfigurationHandler, System" />
42                         <section name="connectionManagement"
43                                  type="System.Net.Configuration.ConnectionManagementHandler, System" />
44                         <section name="authenticationModules"
45                                  type="System.Net.Configuration.NetAuthenticationModuleHandler, System" />
46                         <section name="defaultProxy"
47                                  type="System.Net.Configuration.DefaultProxyHandler, System" />
48                         <section name="webRequestModules"
49                                  type="System.Net.Configuration.WebRequestModuleHandler, System" />
50                 </sectionGroup>
51                 <section name="system.drawing" type="System.Configuration.NameValueSectionHandler" />
52         </configSections>
53         <system.net>
54                 <connectionManagement>
55                         <add address="*" maxconnection="2" />
56                 </connectionManagement>
57                 <authenticationModules>
58                         <add type="System.Net.BasicClient" />
59                         <add type="System.Net.DigestClient" />
60                         <add type="System.Net.NtlmClient" />
61                 </authenticationModules>
62                 <defaultProxy>
63                         <proxy />
64                         <!-- bypassonlocal and proxyaddress are ok -->
65                         <!-- usessystemdefault is not supported -->
66                 </defaultProxy>
67                 <webRequestModules>
68                         <add prefix="http" type="System.Net.HttpRequestCreator, System" />
69                         <add prefix="https" type="System.Net.HttpRequestCreator, System" />
70                         <add prefix="file" type="System.Net.FileWebRequestCreator, System" />
71                 </webRequestModules>
72                 <settings>
73                         <ipv6 enabled="false"/>
74                 </settings>
75         </system.net>
76         <system.web>
77                 <httpHandlers>
78                         <add verb="*" path="Trace.axd" type="System.Web.Handlers.TraceHandler, System.Web" />
79                         <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web" />
80                         <add verb="*" path="*.asmx" validate="false"
81                              type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services" />
82                         <add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web" />
83                         <add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, System.Web" />
84                         <add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web" />
85                         <add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web" />
86                         <add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web" />
87                         <add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web" />
88                 <add verb="*" path="*.rem" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
89                 <add verb="*" path="*.soap" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
90                         <add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
91                         <add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
92                 </httpHandlers>
93                 <httpModules>
94                         <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
95                         <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
96                         <add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web" />
97                         <add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web" />
98                 </httpModules>
99                 <authentication mode="Forms">
100                         <forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
101                                 <credentials passwordFormat="Clear">
102                                         <!--<user name="gonzalo" password="gonz"/>-->
103                                 </credentials>
104                         </forms>
105                 </authentication>
106                 <machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
107                 <globalization  requestEncoding="utf-8"
108                                 responseEncoding="utf-8"
109                                 fileEncoding="utf-8"/>
110                 <!--
111                                 culture="en-US"
112                                 uiculture="en-US" />
113                 -->
114                 <sessionState mode="InProc" />
115                 <webServices>
116                         <protocols>
117                                 <add name="HttpSoap"/>
118                                 <add name="HttpPost"/>
119                                 <add name="HttpGet"/>
120                                 <add name="Documentation"/>
121                         </protocols>
122                         <wsdlHelpGenerator href="DefaultWsdlHelpGenerator.aspx" />
123                 </webServices>
124                 <webControls clientScriptsLocation="/web_scripts" />
125                 <compilation debug="false" defaultLanguage="c#">
126                         <compilers>
127                         <compiler language="cs;c#;csharp" extension=".cs" warningLevel="1" compilerOptions=""
128                                   type="Microsoft.CSharp.CSharpCodeProvider, System" />
129                         <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
130                                   warningLevel="1" compilerOptions=""
131                                   type="Microsoft.VisualBasic.VBCodeProvider, System" />
132                         </compilers>
133                         <assemblies>
134                                 <!--<add assembly="mscorlib" /> -->
135                                 <add assembly="System" />
136                                 <add assembly="System.Xml" />
137                                 <add assembly="System.Data" />
138                                 <add assembly="System.Web" />
139                                 <add assembly="System.Web.Services" />
140                                 <add assembly="System.Drawing" />
141                                 <add assembly="*" /> <!-- Add assemblies in bin directory -->
142                         </assemblies>
143                 </compilation>
144                 <httpRuntime executionTimeout="90"
145                              maxRequestLength="4096"
146                              useFullyQualifiedRedirectUrl="false"
147                              minFreeThreads="8"
148                              minLocalRequestFreeThreads="4"
149                              appRequestQueueLimit="100" />
150                 <pages  buffer="true"
151                         enableSessionState="true"
152                         autoEventWireup="true"
153                         validateRequest="true" />
154         </system.web>
155         
156         <system.runtime.remoting>
157                 <application>
158                         <channels>
159                                 <channel ref="http client" displayName="http client (delay loaded)" delayLoadAsClientChannel="true" />
160                                 <channel ref="tcp client" displayName="tcp client (delay loaded)" delayLoadAsClientChannel="true" />
161                         </channels>
162                 </application>
163                 <channels>
164                         <channel id="http" type="System.Runtime.Remoting.Channels.Http.HttpChannel, System.Runtime.Remoting" />
165                         <channel id="http client" type="System.Runtime.Remoting.Channels.Http.HttpClientChannel, System.Runtime.Remoting" />
166                         <channel id="http server" type="System.Runtime.Remoting.Channels.Http.HttpServerChannel, System.Runtime.Remoting" />
167                         <channel id="tcp" type="System.Runtime.Remoting.Channels.Tcp.TcpChannel, System.Runtime.Remoting" />
168                         <channel id="tcp client" type="System.Runtime.Remoting.Channels.Tcp.TcpClientChannel, System.Runtime.Remoting" />
169                         <channel id="tcp server" type="System.Runtime.Remoting.Channels.Tcp.TcpServerChannel, System.Runtime.Remoting" />
170                 </channels>
171                         <channelSinkProviders>
172                                 <clientProviders>
173                                         <formatter id="soap" type="System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider, System.Runtime.Remoting" />
174                                         <formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider, System.Runtime.Remoting" />
175                                 </clientProviders>
176                                 <serverProviders>
177                                         <formatter id="soap" type="System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider, System.Runtime.Remoting" />
178                                         <formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider, System.Runtime.Remoting" />
179                                         <provider id="wsdl" type="System.Runtime.Remoting.MetadataServices.SdlChannelSinkProvider, System.Runtime.Remoting" />
180                                 </serverProviders>
181                         </channelSinkProviders>
182         </system.runtime.remoting>
183         
184         <appSettings>
185         <!--<add key="yourkey" value="your value" /> -->
186         <!--<remove key="a key defined higher in the hierarchy" /> -->
187         <!--<clear/> Removes all defined settings -->
188         </appSettings>
189         <system.diagnostics>
190                 <trace autoflush="false" indentsize="4" />
191         </system.diagnostics>
192         <system.drawing>
193         </system.drawing>
194 </configuration>
195
196