machine.config 8.6 KB

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