home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 February / CMCD0205.ISO / Software / Freeware / Programare / portablenet / Portable.NET-0.6.10.exe / share / machine.default next >
Extensible Markup Language  |  2004-10-31  |  9KB  |  215 lines

  1. <?xml version="1.0"?>
  2. <configuration>
  3.  
  4. <!--
  5.  
  6. Machine defaults file.
  7.  
  8. This file contains configuration information that is expected to be
  9. static across all installations of the system.  The "machine.config"
  10. file is the proper location for information that may change between
  11. installations.
  12.  
  13. Copyright (C) 2003  Southern Storm Software, Pty Ltd.
  14.  
  15. This program is free software; you can redistribute it and/or modify
  16. it under the terms of the GNU General Public License as published by
  17. the Free Software Foundation; either version 2 of the License, or
  18. (at your option) any later version.
  19.  
  20. This program is distributed in the hope that it will be useful,
  21. but WITHOUT ANY WARRANTY; without even the implied warranty of
  22. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  23. GNU General Public License for more details.
  24.  
  25. You should have received a copy of the GNU General Public License
  26. along with this program; if not, write to the Free Software
  27. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  28.  
  29. -->
  30.  
  31. <configSections>
  32.  
  33.     <!-- Define the structure of the "appSettings" section -->
  34.     <section name="appSettings"
  35.              type="System.Configuration.NameValueFileSectionHandler, System"/>
  36.  
  37.     <!-- Configuration data for System.Diagnostics -->
  38.     <section name="system.diagnostics"
  39.              type="System.Diagnostics.DiagnosticsConfigurationHandler, System"/>
  40.  
  41.     <!-- Configuration data for System.Net -->
  42.     <sectionGroup name="system.net">
  43.         <section name="authenticationModules"
  44.                  type="System.Net.Configuration.NetAuthenticationModuleHandler, System"/>
  45.         <section name="connectionManagement"
  46.                  type="System.Net.Configuration.ConnectionManagementHandler, System"/>
  47.         <section name="defaultProxy"
  48.                  type="System.Net.Configuration.DefaultProxyHandler, System"/>
  49.         <section name="settings"
  50.                  type="System.Net.Configuration.NetConfigurationHandler, System"/>
  51.         <section name="webRequestModules"
  52.                  type="System.Net.Configuration.WebRequestModuleHandler, System"/>
  53.     </sectionGroup>
  54.  
  55.     <!-- Configuration data for System.Web -->
  56.     <sectionGroup name="system.web">
  57.         <section name="authentication"
  58.                  type="System.Web.Configuration.AuthenticationConfigHandler, System.Web"
  59.                  allowDefinition="MachineToApplication"/>
  60.         <section name="authorization"
  61.                  type="System.Web.Configuration.AuthorizationConfigHandler, System.Web"/>
  62.         <section name="browserCaps"
  63.                  type="System.Web.Configuration.HttpCapabilitiesSectionHandler, System.Web"/>
  64.         <section name="clientTarget"
  65.                  type="System.Web.Configuration.ClientTargetSectionHandler, System.Web"/>
  66.         <section name="compilation"
  67.                  type="System.Web.Configuration.CompilationConfigurationHandler, System.Web"/>
  68.         <section name="customErrors"
  69.                  type="System.Web.Configuration.CustomErrorsConfigHandler, System.Web"/>
  70.         <section name="deviceFilters"
  71.                  type="System.Web.Mobile.MobileDeviceCapabilitiesSectionHandler, System.Web.Mobile"/>
  72.         <section name="globalization"
  73.                  type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web"/>
  74.         <section name="httpHandlers"
  75.                  type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web"/>
  76.         <section name="httpModules"
  77.                  type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web"/>
  78.         <section name="httpRuntime"
  79.                  type="System.Web.Configuration.HttpRuntimeConfigurationHandler, System.Web"/>
  80.         <section name="identity"
  81.                  type="System.Web.Configuration.IdentityConfigHandler, System.Web"/>
  82.         <section name="machineKey"
  83.                  type="System.Web.Configuration.MachineKeyConfigHandler, System.Web"
  84.                  allowDefinition="MachineToApplication"/>
  85.         <section name="mobileControls"
  86.                  type="System.Web.UI.MobileControls.MobileControlsSectionHandler, System.Web.Mobile"/>
  87.         <!-- This is to changed from System.Web.UI to System.Web.Configuration to cater to ml-pnet quirks -->
  88.         <section name="pages"
  89.                  type="System.Web.Configuration.PagesConfigurationHandler, System.Web"/>
  90.         <section name="processModel"
  91.                  type="System.Web.Configuration.ProcessModelConfigurationHandler, System.Web"
  92.                  allowDefinition="MachineOnly"/>
  93.         <section name="securityPolicy"
  94.                  type="System.Web.Configuration.SecurityPolicyConfigHandler, System.Web"
  95.                  allowDefinition="MachineToApplication"/>
  96.         <section name="sessionState"
  97.                  type="System.Web.SessionState.SessionStateSectionHandler, System.Web"
  98.                  allowDefinition="MachineToApplication"/>
  99.         <section name="trace"
  100.                  type="System.Web.Configuration.TraceConfigurationHandler, System.Web"/>
  101.         <section name="trust"
  102.                  type="System.Web.Security.CodeAccessSecurityHandler, System.Web"
  103.                  allowDefinition="MachineToApplication"/>
  104.         <section name="webControls"
  105.                  type="System.Web.Configuration.WebControlsSectionHandler, System.Web"/>
  106.         <section name="webServices"
  107.                  type="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler, System.Web.Services"/>
  108.     </sectionGroup>
  109.  
  110.     <!-- Configuration data for System.Windows.Forms -->
  111.     <section name="system.windows.forms"
  112.              type="System.Windows.Forms.WindowsFormsSectionHandler, System.Windows.Forms"/>
  113.  
  114.     <!-- Ignore sections that don't follow the standard pattern -->
  115.     <section name="mscorlib"
  116.              type="System.Configuration.IgnoreSectionHandler, System"
  117.              allowLocation="false"/>
  118.     <section name="runtime"
  119.              type="System.Configuration.IgnoreSectionHandler, System"
  120.              allowLocation="false"/>
  121.     <section name="startup"
  122.              type="System.Configuration.IgnoreSectionHandler, System"
  123.              allowLocation="false"/>
  124.     <section name="system.runtime.remoting"
  125.              type="System.Configuration.IgnoreSectionHandler, System"
  126.              allowLocation="false"/>
  127.  
  128. </configSections>
  129.  
  130. <!-- The following section should match the sources used for ml-pnet -->
  131. <system.web>
  132.     <httpHandlers>
  133.         <add verb="*" path="Trace.axd" type="System.Web.Handlers.TraceHandler, System.Web" />
  134.         <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web" />
  135.         <add verb="*" path="*.asmx" validate="false" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services" />
  136.         <add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web" />
  137.         <add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, System.Web" />
  138.         <add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web" />
  139.         <add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web" />
  140.         <add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web" />
  141.         <add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web" />
  142.         <add verb="*" path="*.rem" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
  143.           <add verb="*" path="*.soap" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
  144.         <add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
  145.         <add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
  146.     </httpHandlers>
  147.  
  148.     <httpModules>
  149.         <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
  150.         <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
  151.         <add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web" />
  152.         <add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web" />
  153. </httpModules>
  154.  
  155.     <authentication mode="Forms">
  156.     </authentication>
  157.     
  158.     <machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
  159.     <globalization  requestEncoding="utf-8"
  160.             responseEncoding="utf-8"
  161.             fileEncoding="utf-8"/>
  162.     <!--
  163.             culture="en-US"
  164.             uiculture="en-US" />
  165.     -->
  166.     <sessionState mode="InProc" />
  167.     
  168.     <webServices>
  169.         <protocols>
  170.             <add name="HttpSoap"/>
  171.             <add name="HttpPost"/>
  172.             <add name="HttpGet"/>
  173.             <add name="Documentation"/>
  174.         </protocols>
  175.         <wsdlHelpGenerator href="DefaultWsdlHelpGenerator.aspx" />
  176.     </webServices>
  177.  
  178.     <webControls clientScriptsLocation="/web_scripts" />
  179.  
  180.     <compilation debug="false" defaultLanguage="c#">
  181.         <compilers>
  182.         <compiler language="cs;c#;csharp" extension=".cs" warningLevel="1" compilerOptions=""
  183.               type="Microsoft.CSharp.CSharpCodeProvider, System" />
  184.         <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
  185.               warningLevel="1" compilerOptions=""
  186.               type="Microsoft.VisualBasic.VBCodeProvider, System" />
  187.         </compilers>
  188.         <assemblies>
  189.             <!--<add assembly="mscorlib" /> -->
  190.             <add assembly="System" />
  191.             <add assembly="System.Xml" />
  192.             <add assembly="System.Data" />
  193.             <add assembly="System.Web" />
  194.             <add assembly="System.Web.Services" />
  195.             <add assembly="System.Drawing" />
  196.             <add assembly="*" /> <!-- Add assemblies in bin directory -->
  197.         </assemblies>
  198.     </compilation>
  199.     
  200.     <httpRuntime executionTimeout="90"
  201.              maxRequestLength="4096"
  202.              useFullyQualifiedRedirectUrl="false"
  203.              minFreeThreads="8"
  204.              minLocalRequestFreeThreads="4"
  205.              appRequestQueueLimit="100" />
  206.  
  207.     <pages     buffer="true"
  208.         enableSessionState="true"
  209.         autoEventWireup="true"
  210.         validateRequest="true" />
  211.  
  212. </system.web>
  213.  
  214. </configuration>
  215.