home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / Install / program files / Borland / BDS / 3.0 / Objrepos / DelphiDotNet / Web.config < prev    next >
Encoding:
Extensible Markup Language  |  2004-10-22  |  3.1 KB  |  85 lines

  1. ∩╗┐<?xml version="1.0" encoding="utf-8" ?>
  2. <configuration>
  3.   <system.web>
  4.  
  5.     <!--  DYNAMIC DEBUG COMPILATION
  6.           Set compilation debug="true" to enable ASPX debugging.  Otherwise, setting this value to
  7.           false will improve runtime performance of this application. 
  8.           Set compilation debug="true" to insert debugging symbols (.pdb information)
  9.           into the compiled page. Because this creates a larger file that executes
  10.           more slowly, you should set this value to true only when debugging and to
  11.           false at all other times. For more information, refer to the documentation about
  12.           debugging ASP .NET files.
  13.     -->
  14.     <compilation
  15.          defaultLanguage="c#"
  16.      debug="true">
  17.      <assemblies>
  18. [!DbkAssembly]
  19.      </assemblies>
  20.     </compilation>
  21.  
  22.     <httpModules>
  23. [!DbkModuleHandler]
  24.     </httpModules>
  25.  
  26.     <!--  CUSTOM ERROR MESSAGES
  27.           Set customError mode values to control the display of user-friendly 
  28.           error messages to users instead of error details (including a stack trace):
  29.  
  30.           "On" Always display custom (friendly) messages  
  31.           "Off" Always display detailed ASP.NET error information.
  32.           "RemoteOnly" Display custom (friendly) messages only to users not running 
  33.           on the local Web server. This setting is recommended for security purposes, so 
  34.           that you do not display application detail information to remote clients.
  35.     -->
  36.     <customErrors 
  37.     mode="RemoteOnly" 
  38.     /> 
  39.  
  40.     <!--  AUTHENTICATION 
  41.           This section sets the authentication policies of the application. Possible modes are "Windows", "Forms", 
  42.           "Passport" and "None"
  43.     -->
  44.     <authentication mode="Windows" /> 
  45.  
  46.     <!--  APPLICATION-LEVEL TRACE LOGGING
  47.           Application-level tracing enables trace log output for every page within an application. 
  48.           Set trace enabled="true" to enable application trace logging.  If pageOutput="true", the
  49.           trace information will be displayed at the bottom of each page.  Otherwise, you can view the 
  50.           application trace log by browsing the "trace.axd" page from your web application
  51.           root. 
  52.     -->
  53.     <trace
  54.         enabled="false"
  55.         requestLimit="10"
  56.         pageOutput="false"
  57.         traceMode="SortByTime"
  58.         localOnly="true"
  59.     />
  60.  
  61.     <!--  SESSION STATE SETTINGS
  62.           By default ASP .NET uses cookies to identify which requests belong to a particular session. 
  63.           If cookies are not available, a session can be tracked by adding a session identifier to the URL. 
  64.           To disable cookies, set sessionState cookieless="true".
  65.     -->
  66.     <sessionState 
  67.             mode="InProc"
  68.             stateConnectionString="tcpip=127.0.0.1:42424"
  69.             sqlConnectionString="data source=127.0.0.1;user id=sa;password="
  70.             cookieless="false" 
  71.             timeout="20" 
  72.     />
  73.  
  74.     <!--  GLOBALIZATION
  75.           This section sets the globalization settings of the application. 
  76.     -->
  77.     <globalization 
  78.             requestEncoding="utf-8" 
  79.             responseEncoding="utf-8" 
  80.    />
  81.    
  82.  </system.web>
  83.  
  84. </configuration>
  85.