Synopses & Reviews
Teach yourself the fundamentals of Web development with ASP.NET 4-one step at a time. With STEP BY STEP, you get the guidance and learn-by-doing examples you need to start building Web applications and Web services in the Microsoft Visual Studio® 2010 environment. The author-a highly regarded programming expert, writer, and instructor-illuminates ASP.NET features through practical examples that help developers quickly grasp concepts and apply techniques to the real world. The book also includes a companion CD with code samples, data sets, and a fully searchable eBook.
A Note Regarding the CD or DVD:
The print version of this book ships with a CD or DVD. For those customers purchasing one of the digital formats in which this book is available, we are pleased to offer the CD/DVD content as a free download via O'Reilly Media's Digital Distribution services. To download this content, please visit O'Reilly's web site, search for the title of this book to find its catalog page, and click on the link below the cover image (Examples, Companion Content, or Practice Files). Note that while we provide as much of the media content as we are able via free download, we are sometimes limited by licensing restrictions. Please direct any questions or concerns to email@example.com.
Teach yourself the fundamentals of Web development with ASP.NET 4-one step at a time. With STEP BY STEP, you get the guidance and learn-by-doing examples you need to start building Web applications and Web services in the Microsoft Visual Studio(R) 2010 environment. The author-a highly regarded programming expert, writer, and instructor-illuminates ASP.NET features through practical examples that help developers quickly grasp concepts and apply techniques to the real world. The book also includes a companion CD with code samples, data sets, and a fully searchable eBook.
For customers who purchase an ebook version of this title, instructions for downloading the CD files can be found in the ebook.
About the Author
George Shepherd is an expert on the Microsoft .NET Framework and develops some of the industry's leading third-party .NET-based tools. He is the coauthor of several popular programming books, an instructor for DevelopMentor, a speaker at industry conferences, and has served as a contributing editor for MSDN Magazine. He's been programming with Windows since version 2.0, in the 1980s.
Table of Contents
Acknowledgments; Introduction; Who This Book Is For; Conventions and Features in This Book; Prerelease Software; Hardware and Software Requirements; Code Samples; Support for This Book; Part I: Fundamentals; Chapter 1: Web Application Basics; 1.1 HTTP Requests; 1.2 Hypertext Markup Language; 1.3 Dynamic Content; 1.4 Classic ASP: Putting ASP.NET into Perspective; 1.5 Web Development Concepts; 1.6 ASP.NET; 1.7 Chapter 1 Quick Reference; Chapter 2: ASP.NET Application Fundamentals; 2.1 The Canonical Hello World Application; 2.2 The ASP.NET Compilation Model; 2.3 Coding Options; 2.4 The ASP.NET HTTP Pipeline; 2.5 Visual Studio and ASP.NET; 2.6 Chapter 2 Quick Reference; Chapter 3: The Page Rendering Model; 3.1 Rendering Controls as Tags; 3.2 Packaging the UI as Components; 3.3 Adding Controls Using Visual Studio; 3.4 Chapter 3 Quick Reference; Chapter 4: Custom Rendered Controls; 4.1 The Control Class; 4.2 Visual Studio and Custom Controls; 4.3 A Palindrome Checker; 4.4 Controls and Events; 4.5 HtmlTextWriter and Controls; 4.6 Controls and ViewState; 4.7 Chapter 4 Quick Reference; Chapter 5: Composite Controls; 5.1 Composite Controls versus Rendered Controls; 5.2 Custom Composite Controls; 5.3 User Controls; 5.4 When to Use Each Type of Control; 5.5 Chapter 5 Quick Reference; Chapter 6: Control Potpourri; 6.1 Validation; 6.2 Image-Based Controls; 6.3 TreeView; 6.4 MultiView; 6.5 Chapter 6 Quick Reference; Part II: Advanced Features; Chapter 7: A Consistent Look and Feel; 7.1 Managing User Interface Consistency; 7.2 ASP.NET Master Pages; 7.3 Themes; 7.4 Skins; 7.5 Chapter 7 Quick Reference; Chapter 8: Configuration; 8.1 Windows Configuration; 8.2 .NET Configuration; 8.3 Configuring ASP.NET from IIS; 8.4 Chapter 8 Quick Reference; Chapter 9: Logging In; 9.1 Web-Based Security; 9.2 ASP.NET Authentication Services; 9.3 Managing Users; 9.4 ASP.NET Login Controls; 9.5 Authorizing Users; 9.6 Chapter 9 Quick Reference; Chapter 10: Data Binding; 10.1 Representing Collections Without Data Binding; 10.2 Representing Collections with Data Binding; 10.3 Simple Data Binding; 10.4 Accessing Databases; 10.5 The .NET Database Story; 10.6 ASP.NET Data Sources; 10.7 Other Data-Bound Controls; 10.8 LINQ; 10.9 Chapter 10 Quick Reference; Chapter 11: Web Site Navigation; 11.1 ASP.NET Navigation Support; 11.2 Using Navigation Controls; 11.3 Building Navigable Web Sites; 11.4 Trapping the SiteMapResolve Event; 11.5 Defining Custom Attributes for Each Node; 11.6 Security Trimming; 11.7 URL Mapping; 11.8 URL Rewriting; 11.9 Chapter 11 Quick Reference; Chapter 12: Personalization; 12.1 Personalizing Web Visits; 12.2 Personalization in ASP.NET; 12.3 Using Personalization; 12.4 Chapter 12 Quick Reference; Chapter 13: Web Parts; 13.1 A Brief History of Web Parts; 13.2 What Good Are Web Parts?; 13.3 Developing Web Parts Controls; 13.4 The Web Parts Architecture; 13.5 Developing a Web Part; 13.6 Chapter 13 Quick Reference; Part III: Caching and State Management; Chapter 14: Session State; 14.1 Why Session State?; 14.2 ASP.NET and Session State; 14.3 Introduction to Session State; 14.4 Session State and More Complex Data; 14.5 Configuring Session State; 14.6 Tracking Session State; 14.7 Other Session Configuration Settings; 14.8 The Wizard Control: An Alternative to Session State; 14.9 Chapter 14 Quick Reference; Chapter 15: Application Data Caching; 15.1 Getting Started with Caching; 15.2 Using the Data Cache; 15.3 Impact of Caching; 15.4 Managing the Cache; 15.5 Chapter 15 Quick Reference; Chapter 16: Caching Output; 16.1 Caching Page Content; 16.2 Managing Cached Content; 16.3 Caching User Controls; 16.4 When Output Caching Makes Sense; 16.5 Other Cache Providers; 16.6 Chapter 16 Quick Reference; Part IV: Diagnostics and Plumbing; Chapter 17: Diagnostics and Debugging; 17.1 Page Tracing; 17.2 Application Tracing; 17.3 Debugging with Visual Studio; 17.4 Error Pages; 17.5 Unhandled Exceptions; 17.6 Chapter 17 Quick Reference; Chapter 18: The HttpApplication Class and HTTP Modules; 18.1 The Application: A Rendezvous Point; 18.2 Overriding HttpApplication; 18.3 HttpModules; 18.4 Global.asax vs. HttpModules; 18.5 Chapter 18 Quick Reference; Chapter 19: HTTP Handlers; 19.1 ASP.NET Request Handlers; 19.2 The Built-in Handlers; 19.3 Handlers and IHttpHandler; 19.4 Handlers and Session State; 19.5 Generic Handlers (ASHX Files); 19.6 Chapter 19 Quick Reference; Part V: Dynamic Data, XBAP, MVC, AJAX, and Silverlight; Chapter 20: Dynamic Data; 20.1 DDDDDDynamic Data Controls; 20.2 Dynamic Data Details; 20.3 Chapter 20 Quick Reference; Chapter 21: ASP.NET and WPF Content; 21.1 Improving Perceived Performance by Reducing Round-Trips; 21.2 What Is WPF?; 21.3 WPF Content and Web Applications; 21.4 What About Silverlight?; 21.5 Chapter 21 Quick Reference; Chapter 22: The ASP.NET MVC Framework; 22.1 The Model-View-Controller (MVC) Architecture; 22.2 ASP.NET and MVC; 22.3 ASP.NET MVC vs. Web Forms; 22.4 MVC and Testing; 22.5 How MVC Plays with ASP.NET; 22.6 Chapter 22 Quick Reference; Chapter 23: AJAX; 23.1 Rich Internet Applications; 23.2 What Is AJAX?; 23.3 ASP.NET and AJAX; 23.4 ASP.NET Server-Side Support for AJAX; 23.5 AJAX Client Support; 23.6 Getting Familiar with AJAX; 23.7 The Timer; 23.8 Updating Progress; 23.9 Extender Controls; 23.10 Chapter 23 Quick Reference; Chapter 24: Silverlight and ASP.NET; 24.1 Web Applications Mature; 24.2 What Is Silverlight?; 24.3 Creating a Silverlight Application; 24.4 Architecture; 24.5 XAML; 24.6 Compiling the Silverlight Application; 24.7 Adding Silverlight Content to a Web Page; 24.8 Controls and Events; 24.9 Silverlight and Layout; 24.10 Integrating with HTML; 24.11 Animations; 24.12 WCF Services and Silverlight; 24.13 Chapter 24 Quick Reference; Part VI: Services and Deployment; Chapter 25: Windows Communication Foundation; 25.1 Distributed Computing Redux; 25.2 A Fragmented Communications API; 25.3 WCF for Connected Systems; 25.4 WCF Constituent Elements; 25.5 How WCF Plays with ASP.NET; 25.6 Writing a WCF Service; 25.7 Building a WCF Client; 25.8 Chapter 25 Quick Reference; Chapter 26: Deployment; 26.1 Visual Studio Web Sites; 26.2 Precompiling; 26.3 Visual Studio 2010 Deployment Support; 26.4 Chapter 26 Quick Reference;