| Acknowledgments |
|
xiii | |
| Introduction |
|
xv | |
|
Part I Overview of Microsoft ASP.NET Configuration |
|
|
|
Introduction to the Microsoft ASP.NET Configuration |
|
|
3 | (10) |
|
ASP.NET Configuration Overview |
|
|
3 | (7) |
|
Dissecting the ASP.NET Configuration Files |
|
|
4 | (5) |
|
Applying Configuration File Modifications |
|
|
9 | (1) |
|
|
|
10 | (1) |
|
Editing Configuration Files |
|
|
10 | (2) |
|
|
|
12 | (1) |
|
Examining the ASP.NET Configuration Architecture |
|
|
13 | (14) |
|
Hierarchical Configuration Model |
|
|
13 | (4) |
|
Targeting Configuration Settings |
|
|
16 | (1) |
|
Preventing Configuration Settings from Being Overridden |
|
|
17 | (1) |
|
Examining Configuration Section Handlers |
|
|
17 | (6) |
|
|
|
23 | (4) |
|
Part II ASP.NET Configuration Settings |
|
|
|
Configuration Section and Application Settings |
|
|
27 | (8) |
|
Working with <donfigSections> |
|
|
27 | (3) |
|
|
|
27 | (1) |
|
Declaring a Section Group |
|
|
28 | (1) |
|
|
|
29 | (1) |
|
|
|
30 | (1) |
|
Working with <appSettings> |
|
|
30 | (4) |
|
|
|
30 | (1) |
|
|
|
31 | (1) |
|
|
|
32 | (1) |
|
|
|
32 | (1) |
|
Reading <appSettings> Values |
|
|
33 | (1) |
|
|
|
34 | (1) |
|
System.Web Configuration Settings |
|
|
35 | (62) |
|
Working with the <authentication> Section |
|
|
36 | (8) |
|
Configuring the Authentication Mode |
|
|
37 | (7) |
|
<authentication> Key Points |
|
|
44 | (1) |
|
Working with the <authorization> Section |
|
|
44 | (3) |
|
|
|
47 | (1) |
|
<authorization> Key Points |
|
|
47 | (1) |
|
Working with the <crowserCaps> Section |
|
|
47 | (5) |
|
Understanding <crowserCaps> Elements |
|
|
48 | (4) |
|
|
|
52 | (1) |
|
Working with the <dlientTarget> Section |
|
|
52 | (2) |
|
|
|
53 | (1) |
|
Using Client Target in Your Pages |
|
|
53 | (1) |
|
Adding and Removing Aliases |
|
|
54 | (1) |
|
<dlientTarget> Key Points |
|
|
54 | (1) |
|
Working with the <dompilation> Section |
|
|
54 | (4) |
|
Adding Assemblies to Compilation |
|
|
57 | (1) |
|
|
|
58 | (1) |
|
Working with the <dustomErrors> Section |
|
|
58 | (3) |
|
Customizing HTTP Error Messages |
|
|
60 | (1) |
|
<dustomErrors> Key Points |
|
|
60 | (1) |
|
Working with the <globalization> Section |
|
|
61 | (1) |
|
<globalization> Key Points |
|
|
61 | (1) |
|
Working with the <httpHandlers> Section |
|
|
62 | (6) |
|
Creating a Custom HTTP Handler |
|
|
63 | (4) |
|
File Extension-Based Security |
|
|
67 | (1) |
|
<httpHandlers> Key Points |
|
|
67 | (1) |
|
Working with the <httpModules> Section |
|
|
68 | (4) |
|
|
|
68 | (1) |
|
Creating a Custom HTTP Module |
|
|
68 | (3) |
|
|
|
71 | (1) |
|
Working with the <httpRuntime> Section |
|
|
72 | (1) |
|
|
|
73 | (1) |
|
Working with the <identity> Section |
|
|
73 | (2) |
|
|
|
75 | (1) |
|
Working with the <machineKey> Section |
|
|
75 | (2) |
|
|
|
77 | (1) |
|
Working with the <pages> Section |
|
|
77 | (2) |
|
Enable or Disable View State? |
|
|
78 | (1) |
|
|
|
79 | (1) |
|
|
|
79 | (1) |
|
Working with the <processModel> Section |
|
|
79 | (6) |
|
Customizing the Server Unavailable Message |
|
|
84 | (1) |
|
Running ASP.NET on a Domain Controller |
|
|
84 | (1) |
|
Troubleshooting ASP.NET Deadlocks |
|
|
85 | (1) |
|
<processModel> Key Points |
|
|
85 | (1) |
|
Working with the <securityPolicy> Section |
|
|
85 | (1) |
|
<securityPolicy> Key Points |
|
|
86 | (1) |
|
Working with the <sessionState> Section |
|
|
86 | (3) |
|
|
|
87 | (1) |
|
Configuring SQL State Server |
|
|
88 | (1) |
|
<sessionState> Key Points |
|
|
89 | (1) |
|
Working with the <trace> Section |
|
|
89 | (1) |
|
|
|
90 | (1) |
|
Working with the <trust> Section |
|
|
90 | (1) |
|
|
|
91 | (1) |
|
Working with teh <webControls> Section |
|
|
91 | (1) |
|
|
|
91 | (1) |
|
Working with the <webServices> Section |
|
|
92 | (5) |
|
|
|
92 | (1) |
|
<serviceDescriptionFormatExtensionTypes> Sub-Section |
|
|
93 | (1) |
|
Soap Extensions Sub-Sections |
|
|
93 | (1) |
|
<wsdlHelpGenerator> Section |
|
|
94 | (1) |
|
|
|
95 | (2) |
|
Mobile Controls Configuration Settings |
|
|
97 | (12) |
|
Working with the <mobileControls> Section |
|
|
98 | (4) |
|
Working with the <deviceFilters> Section |
|
|
102 | (4) |
|
Building a Comparative Filter |
|
|
103 | (1) |
|
Building an Evaluator Filter |
|
|
104 | (1) |
|
Using Filters with Mobile Controls |
|
|
105 | (1) |
|
Updating the Mobile Controls Devices |
|
|
106 | (1) |
|
|
|
107 | (2) |
|
Microsoft .NET Configuration Settings |
|
|
109 | (24) |
|
Examining the <system.diagnostics> Group |
|
|
109 | (5) |
|
Working with the <trace> Section |
|
|
110 | (1) |
|
Working with the <switches> Section |
|
|
111 | (2) |
|
Working with the <assert> Section |
|
|
113 | (1) |
|
<system.diagnostics> Key Points |
|
|
114 | (1) |
|
Examining the <system.net> Group |
|
|
114 | (7) |
|
Working with the <authenticationModules> Section |
|
|
115 | (1) |
|
Working with the <donnectionManagement> Section |
|
|
116 | (1) |
|
Working with the <defaultProxy> Section |
|
|
117 | (2) |
|
Working with the <settings> Section |
|
|
119 | (1) |
|
Working with the <webRequestModules> Section |
|
|
120 | (1) |
|
|
|
121 | (1) |
|
Examining the <system.runtime.remoting> Group |
|
|
121 | (11) |
|
Working with the <application> Section |
|
|
122 | (6) |
|
Working with the <dhannels> Section |
|
|
128 | (2) |
|
Working with the <dhannelSinkProviders> Section |
|
|
130 | (1) |
|
Working with the <debug> Section |
|
|
131 | (1) |
|
<system.runtime.remoting> Key Points |
|
|
132 | (1) |
|
Examining the <system.windows.forms> Group |
|
|
132 | (1) |
|
|
|
132 | (1) |
|
CLR Configuration Settings |
|
|
133 | (12) |
|
Working with the <mscorlib> Section |
|
|
133 | (3) |
|
Using the <dryptographySettings> Section |
|
|
133 | (3) |
|
Working with the <runtime> Section |
|
|
136 | (5) |
|
Using the <developmentMode> Element |
|
|
136 | (1) |
|
Using the <assemblyBinding> Section |
|
|
136 | (5) |
|
Working with the <startup> Section |
|
|
141 | (2) |
|
Using the <requiredRuntime> Element |
|
|
141 | (1) |
|
Using the <supportedRuntime> Element |
|
|
142 | (1) |
|
|
|
143 | (2) |
|
|
|
145 | (14) |
|
|
|
145 | (2) |
|
ASP.NET IIS Install Utility |
|
|
147 | (1) |
|
Working with Application Pools |
|
|
147 | (7) |
|
Managing Application Pools |
|
|
148 | (1) |
|
Configuring Application Pools |
|
|
148 | (6) |
|
Creating a New Application |
|
|
154 | (1) |
|
Using Windows Authentication |
|
|
155 | (1) |
|
Accessing the User Identity |
|
|
156 | (1) |
|
|
|
156 | (3) |
|
Part III Creating Custom Settings |
|
|
|
Creating and Using Custom Sections |
|
|
159 | (36) |
|
Examining the .NET Handlers |
|
|
159 | (1) |
|
Creating a Custom Section with the Available Handlers |
|
|
160 | (3) |
|
Creating a Section Using NameValueFileSectionHandler |
|
|
160 | (1) |
|
Creating a Section Using DictionarySectionHandler |
|
|
161 | (1) |
|
Creating a Section Using SingleTagSectionHandler |
|
|
162 | (1) |
|
Nesting Configuration Sections |
|
|
162 | (1) |
|
Creating a Custom Section with a Custom Section Handler |
|
|
163 | (12) |
|
Examining the IConfigurationSectionHandler Interface |
|
|
164 | (1) |
|
Creating a Simple Custom Section Handler |
|
|
165 | (2) |
|
Creating a Complex Custom Section Handler |
|
|
167 | (8) |
|
|
|
175 | (4) |
|
Part IV Appendix and Glossary |
|
|
|
Appendix: Microsoft .NET Framework Configuration Tool |
|
|
179 | (16) |
|
Managing the Global Assembly Cache |
|
|
180 | (1) |
|
Viewing All the Assemblies in the GAC |
|
|
180 | (1) |
|
Adding a New Assembly to the GAC |
|
|
181 | (1) |
|
|
|
182 | (3) |
|
|
|
185 | (1) |
|
Adjusting .NET Security Settings |
|
|
186 | (1) |
|
Increasing an Assembly's Trust |
|
|
187 | (2) |
|
|
|
189 | (1) |
|
|
|
189 | (1) |
|
Creating a Deployment Package |
|
|
190 | (1) |
|
Resetting All Policy Levels |
|
|
191 | (1) |
|
Configuring and Repairing .NET Applications |
|
|
191 | (1) |
|
Configuring an Application |
|
|
192 | (1) |
|
|
|
193 | (2) |
| Glossary |
|
195 | (4) |
| Index |
|
199 | |