温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:身份证号码验证示例源码
当前文件:
IdCardValid/web.config,打开代码结构图
IdCardValid/web.config,打开代码结构图1<?xml version="1.0"?> 2
<!-- 3
Note: As an alternative to hand editing this file you can use the 4
web admin tool to configure settings for your application. Use 5
the Website->Asp.Net Configuration option in Visual Studio. 6
A full list of settings and comments can be found in 7
machine.config.comments usually located in 8
\Windows\Microsoft.Net\Framework\v2.x\Config 9
--> 10
<configuration> 11
12
13
14
<appSettings/> 15
<connectionStrings/> 16
<system.web> 17
<!-- 18
Set compilation debug="true" to insert debugging 19
symbols into the compiled page. Because this 20
affects performance, set this value to true only 21
during development. 22
--> 23
<compilation debug="false"> 24
25
</compilation> 26
<!-- 27
The <authentication> section enables configuration 28
of the security authentication mode used by 29
ASP.NET to identify an incoming user. 30
--> 31
<authentication mode="Windows" /> 32
<!-- 33
The <customErrors> section enables configuration 34
of what to do if/when an unhandled error occurs 35
during the execution of a request. Specifically, 36
it enables developers to configure html error pages 37
to be displayed in place of a error stack trace. 38
39
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> 40
<error statusCode="403" redirect="NoAccess.htm" /> 41
<error statusCode="404" redirect="FileNotFound.htm" /> 42
</customErrors> 43
--> 44
45
46
47
</system.web> 48
49
</configuration> 50


