2008-12-08 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.Web / Test / mainsoft / MainsoftWebApp / Web.config
1 <?xml version="1.0" encoding="utf-8"?>
2 <configuration>
3   <system.web>
4     <!--clientTarget>
5       <add alias="ie5" userAgent="Unknown" />
6     </clientTarget-->
7     <!--  DYNAMIC DEBUG COMPILATION
8           Set compilation debug="true" to enable ASPX debugging.  Otherwise, setting this value to
9           false will improve runtime performance of this application. 
10           Set compilation debug="true" to insert debugging symbols (.pdb information)
11           into the compiled page. Because this creates a larger file that executes
12           more slowly, you should set this value to true only when debugging and to
13           false at all other times. For more information, refer to the documentation about
14           debugging ASP.NET files.
15     -->
16     <compilation defaultLanguage="c#" debug="true" batch="false" />
17     <!--  CUSTOM ERROR MESSAGES
18           Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable. 
19           Add <error> tags for each of the errors you want to handle.
20
21           "On" Always display custom (friendly) messages.
22           "Off" Always display detailed ASP.NET error information.
23           "RemoteOnly" Display custom (friendly) messages only to users not running 
24            on the local Web server. This setting is recommended for security purposes, so 
25            that you do not display application detail information to remote clients.
26     -->
27     <!-- customErrors mode="RemoteOnly" /-->
28     <!--  AUTHENTICATION 
29           This section sets the authentication policies of the application. Possible modes are "Windows", 
30           "Forms", "Passport" and "None"
31
32           "None" No authentication is performed. 
33           "Windows" IIS performs authentication (Basic, Digest, or Integrated Windows) according to 
34            its settings for the application. Anonymous access must be disabled in IIS. 
35           "Forms" You provide a custom form (Web page) for users to enter their credentials, and then 
36            you authenticate them in your application. A user credential token is stored in a cookie.
37           "Passport" Authentication is performed via a centralized authentication service provided
38            by Microsoft that offers a single logon and core profile services for member sites.
39     -->
40     <authentication mode="None" />
41     <!--  AUTHORIZATION 
42           This section sets the authorization policies of the application. You can allow or deny access
43           to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous 
44           (unauthenticated) users.
45     -->
46     <authorization>
47       <allow users="*" />
48       <!-- Allow all users -->
49       <!--  <allow     users="[comma separated list of users]"
50                              roles="[comma separated list of roles]"/>
51                   <deny      users="[comma separated list of users]"
52                              roles="[comma separated list of roles]"/>
53             -->
54     </authorization>
55     <!--  APPLICATION-LEVEL TRACE LOGGING
56           Application-level tracing enables trace log output for every page within an application. 
57           Set trace enabled="true" to enable application trace logging.  If pageOutput="true", the
58           trace information will be displayed at the bottom of each page.  Otherwise, you can view the 
59           application trace log by browsing the "trace.axd" page from your web application
60           root. 
61     -->
62     <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
63     <!--  SESSION STATE SETTINGS
64           By default ASP.NET uses cookies to identify which requests belong to a particular session. 
65           If cookies are not available, a session can be tracked by adding a session identifier to the URL. 
66           To disable cookies, set sessionState cookieless="true".
67     -->
68     <!-- sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" /-->
69     <!--  GLOBALIZATION
70           This section sets the globalization settings of the application. 
71     -->
72     <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
73   </system.web>
74 </configuration>