温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:asp.net漂亮弹出对话框控件源码及示例
当前文件:
U3PILEHVJGM55/VbNet/Web.config,打开代码结构图
U3PILEHVJGM55/VbNet/Web.config,打开代码结构图1<?xml version="1.0" encoding="utf-8" ?> 2
<configuration> 3
4
<system.web> 5
6
<!-- DYNAMIC DEBUG COMPILATION 7
Set compilation debug="true" to insert debugging symbols (.pdb information) 8
into the compiled page. Because this creates a larger file that executes 9
more slowly, you should set this value to true only when debugging and to 10
false at all other times. For more information, refer to the documentation about 11
debugging ASP.NET files. 12
--> 13
<compilation defaultLanguage="vb" debug="true" /> 14
15
<!-- CUSTOM ERROR MESSAGES 16
Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable. 17
Add <error> tags for each of the errors you want to handle. 18
19
"On" Always display custom (friendly) messages. 20
"Off" Always display detailed ASP.NET error information. 21
"RemoteOnly" Display custom (friendly) messages only to users not running 22
on the local Web server. This setting is recommended for security purposes, so 23
that you do not display application detail information to remote clients. 24
--> 25
<customErrors mode="RemoteOnly" /> 26
27
<!-- AUTHENTICATION 28
This section sets the authentication policies of the application. Possible modes are "Windows", 29
"Forms", "Passport" and "None" 30
31
"None" No authentication is performed. 32
"Windows" IIS performs authentication (Basic, Digest, or Integrated Windows) according to 33
its settings for the application. Anonymous access must be disabled in IIS. 34
"Forms" You provide a custom form (Web page) for users to enter their credentials, and then 35
you authenticate them in your application. A user credential token is stored in a cookie. 36
"Passport" Authentication is performed via a centralized authentication service provided 37
by Microsoft that offers a single logon and core profile services for member sites. 38
--> 39
<authentication mode="Windows" /> 40
41
42
<!-- AUTHORIZATION 43
This section sets the authorization policies of the application. You can allow or deny access 44
to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous 45
(unauthenticated) users. 46
--> 47
<authorization> 48
<allow users="*" /> <!-- Allow all users --> 49
50
<!-- <allow users="[comma separated list of users]" 51
roles="[comma separated list of roles]"/> 52
<deny users="[comma separated list of users]" 53
roles="[comma separated list of roles]"/> 54
--> 55
</authorization> 56
57
<!-- APPLICATION-LEVEL TRACE LOGGING 58
Application-level tracing enables trace log output for every page within an application. 59
Set trace enabled="true" to enable application trace logging. If pageOutput="true", the 60
trace information will be displayed at the bottom of each page. Otherwise, you can view the 61
application trace log by browsing the "trace.axd" page from your web application 62
root. 63
--> 64
<trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" /> 65
66
67
<!-- SESSION STATE SETTINGS 68
By default ASP.NET uses cookies to identify which requests belong to a particular session. 69
If cookies are not available, a session can be tracked by adding a session identifier to the URL. 70
To disable cookies, set sessionState cookieless="true". 71
--> 72
<sessionState 73
mode="InProc" 74
stateConnectionString="tcpip=127.0.0.1:42424" 75
sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" 76
cookieless="false" 77
timeout="20" 78
/> 79
80
<!-- GLOBALIZATION 81
This section sets the globalization settings of the application. 82
--> 83
<globalization requestEncoding="utf-8" responseEncoding="utf-8" /> 84
85
</system.web> 86
87
</configuration> 88


