| |
|
Line 14
|
Parallel
|
Line 14
|
Parallel
|
| 14 |
<connectionStrings/> |
14 |
<connectionStrings/> |
| 15 |
--> |
15 |
--> |
| 16 |
<system.web> |
16 |
<system.web> |
|
<!-- If you want the attributes enableViewState and enableViewStateMac to be true |
17 |
<!-- If you want the attributes enableViewState and enableViewStateMac to be true |
| 18 |
change them at page level --> |
18 |
change them at page level --> |
| 19 |
<pages enableViewState="false" enableViewStateMac="false" validateRequest="false" /> |
19 |
<pages enableViewState="false" enableViewStateMac="false" validateRequest="false"/> |
| 20 |
|
20 |
<identity impersonate="true"/> |
| 21 |
<identity impersonate="true"/> |
21 |
<!-- |
| 22 |
|
|
|
| 23 |
<!-- |
|
|
| 24 |
Set compilation debug="true" to insert debugging |
22 |
Set compilation debug="true" to insert debugging |
| 25 |
symbols into the compiled page. Because this |
23 |
symbols into the compiled page. Because this |
| 26 |
affects performance, set this value to true only |
24 |
affects performance, set this value to true only |
| 27 |
during development. |
25 |
during development. |
| 28 |
--> |
26 |
--> |
| 29 |
<compilation debug="false"/> |
27 |
<compilation debug="false"/> |
| 30 |
<!-- |
28 |
<!-- |
| 31 |
The <authentication> section enables configuration |
29 |
The <authentication> section enables configuration |
| 32 |
of the security authentication mode used by |
30 |
of the security authentication mode used by |
| 33 |
ASP.NET to identify an incoming user. |
31 |
ASP.NET to identify an incoming user. |
| 34 |
--> |
32 |
--> |
| 35 |
|
33 |
<authentication mode="Windows"/> |
| 36 |
<authentication mode="Windows"/> |
34 |
<!-- |
| 37 |
|
|
|
| 38 |
<!-- |
|
|
| 39 |
The <customErrors> section enables configuration |
35 |
The <customErrors> section enables configuration |
| 40 |
of what to do if/when an unhandled error occurs |
36 |
of what to do if/when an unhandled error occurs |
| 41 |
during the execution of a request. Specifically, |
37 |
during the execution of a request. Specifically, |
| |
| |
|
Line 47
|
Parallel
|
Line 43
|
Parallel
|
| 47 |
<error statusCode="404" redirect="FileNotFound.htm" /> |
43 |
<error statusCode="404" redirect="FileNotFound.htm" /> |
| 48 |
</customErrors> |
44 |
</customErrors> |
| 49 |
--> |
45 |
--> |
| 50 |
<httpRuntime maxRequestLength="25000" /> |
46 |
<httpRuntime maxRequestLength="25000"/> |
| 51 |
|
47 |
<globalization uiCulture="en-US" culture="en-US"/> |
| 52 |
<globalization |
48 |
<!-- |
| 53 |
uiCulture="en-US" |
|
|
| 54 |
culture="en-US" |
|
|
| 55 |
/> |
|
|
| 56 |
|
|
|
| 57 |
<!-- |
|
|
| 58 |
Disabling request validation for your application |
49 |
Disabling request validation for your application |
| 59 |
To disable request validation for your application, you must modify or create a Web.config file |
50 |
To disable request validation for your application, you must modify or create a Web.config file |
| 60 |
for your application and set the validateRequest attribute of the <PAGES /> section to false: |
51 |
for your application and set the validateRequest attribute of the <PAGES /> section to false: |
| 61 |
Reference: http://www.asp.net/faq/RequestValidation.aspx |
52 |
Reference: http://www.asp.net/faq/RequestValidation.aspx |
| 62 |
--> |
53 |
--> |
| 63 |
|
54 |
</system.web> |
| 64 |
|
|
|
| 65 |
</system.web> |
|
|
| 66 |
</configuration> |
55 |
</configuration> |
| |