下卷 579
11. Validation 579
The RequiredFieldValidator 581
The Summary Control 586
The Compare Validator 590
Range Checking 598
Regular Expressions 599
Custom Validation 602
Validation Groups 604
12. Forms-Based Security 607
Authentication 609
Setting Up Forms-Based Authentication 624
13. Master Pages and Navigation 659
Master Pages 659
Navigation 673
Filtering Based on Security 694
14. Personalization 700
Creating Personalized Websites 700
Themes and Skins 724
Web Parts 733
15. Custom and User Controls 747
User Controls 747
Custom Controls 764
Derived Controls 777
Composite Controls 780
16. Web Services 792
Introducing Web Services 793
Understanding Web Service Protocols and Standards 794
Using SOAP Web Services 797
Developing an ASP.NET SOAP Web Service 801
Calling the Web Service 811
Developing a WCF Web Service 816
Creating and Consuming AJAX-Enabled Web Services 829
Introducing REST and JSON 835
Learning More About Web Services 847
17. Caching and Performance 849
Types of Caching 850
Data Caching 851
Output Caching 858
Fragment Caching: Caching Part of a Page 864
Object Caching 869
The HttpCachePolicy Class 887
Performance 889
Benchmarking and Profiling 896
18. Application Logic and Configuration 898
Introducing IIS 7.0 898
Application-Wide Logic 907
Configuring the Application 932
Modifying web.config with IIS 7.0 944
Web Site Administration Tool 969
Custom Configuration Sections 974
19. Tracing, Debugging, and Error Handling 981
Creating the Sample Application 981
Tracing 984
Debugging 991
Error Handling 1010
Custom Error Pages 1010
20. Deployment 1015
Assemblies 1016
Local Deployment 1029
Global Deployment 1035
Windows Installer 1037
Web Deployment Projects 1052
21. Epilogue: From Now to vNext 1060
(Some of) The Winnowing Process 1060
On the Stove 1062
On the Far Horizon 1068
A. Installing the AJAX Control Toolkit 1071
B. Relational Database Technology: A Crash Course 1078
C. Keyboard Shortcuts 1085
Index 1097