Synopses & Reviews
Delve into the features, principles, and pillars of the ASP.NET MVC framework-deftly guided by Web development luminary Dino Esposito. ASP.NET MVC forces developers to think in terms of distinct components-model, view, controller-that make it easier to manage application complexity. Plunge into the framework's internal mechanics and gain a practical, what-why-how perspective behind each ASP.NET MVC building block. You'll understand how and when to use this programming model as an alternative to Web Forms-to gain full control of HTML, simplify testing and extensibility, and design better Web sites and experiences. As always, Esposito provides the detailed, insightful guidance and illustrative code samples you need to get productive quickly.
Completely reengineered for ASP.NET 4—this definitive guide deftly illuminates the core architecture and programming features of ASP.NET 4 in a single, pragmatic volume. Web development expert Dino Esposito provides essential, architectural-level guidance, along with the in-depth technical insights designed to take you—and your solutions—to the next level. The book covers Dynamic Data, AJAX, Microsoft Silverlight, ASP.NET MVC, Web forms, LINQ, and security strategies—and features extensive code samples in Microsoft Visual C#(R) 2010.
About the Author
Dino Esposito is a well-known ASP.NET and AJAX expert. He speaks at industry events, including DevConnections and Microsoft TechEd, contributes to MSDN Magazine and other publications, and has written several popular Microsoft Press books, including Microsoft ASP.NET and AJAX: Architecting Web Applications.
Table of Contents
Acknowledgments; Introduction; Who Should Read This Book?; System Requirements; Code Samples; Errata & Book Support; We Want to Hear from You; Stay in Touch; Part I: The ASP.NET Runtime Environment; Chapter 1: ASP.NET Web Forms Today; 1.1 The Age of Reason of ASP.NET Web Forms; 1.2 The AJAX Revolution; 1.3 ASP.NET of the Future; 1.4 Summary; Chapter 2: ASP.NET and IIS; 2.1 The Web Server Environment; 2.2 Deploying ASP.NET Applications; 2.3 Summary; Chapter 3: ASP.NET Configuration; 3.1 The ASP.NET Configuration Hierarchy; 3.2 Managing Configuration Data; 3.3 Summary; Chapter 4: HTTP Handlers, Modules, and Routing; 4.1 Writing HTTP Handlers; 4.2 Writing HTTP Modules; 4.3 URL Routing; 4.4 Summary; Part II: ASP.NET Pages and Server Controls; Chapter 5: Anatomy of an ASP.NET Page; 5.1 Invoking a Page; 5.2 The Page Class; 5.3 The Page Life Cycle; 5.4 Summary; Chapter 6: ASP.NET Core Server Controls; 6.1 Generalities of ASP.NET Server Controls; 6.2 HTML Controls; 6.3 Web Controls; 6.4 Summary; Chapter 7: Working with the Page; 7.1 Dealing with Errors in ASP.NET Pages; 7.2 Page Personalization; 7.3 Page Localization; 7.4 Adding Resources to Pages; 7.5 Summary; Chapter 8: Page Composition and Usability; 8.1 Page Composition Checklist; 8.2 Page Usability Checklist; 8.3 Summary; Chapter 9: ASP.NET Input Forms; 9.1 Programming with Forms; 9.2 Validation Controls; 9.3 Working with Wizards; 9.4 Summary; Chapter 10: Data Binding; 10.1 Foundation of the Data Binding Model; 10.2 Data-Bound Controls; 10.3 Data-Binding Expressions; 10.4 Managing Tables of Data; 10.5 Data Source Components; 10.6 Summary; Chapter 11: The ListView Control; 11.1 The ListView Control; 11.2 Working with the ListView Control; 11.3 Summary; Chapter 12: Custom Controls; 12.1 Extending Existing Controls; 12.2 Building Controls from Scratch; 12.3 Building a Data-Bound Control; 12.4 Building a Composite Templated Control; 12.5 Summary; Part III: Design of the Application; Chapter 13: Principles of Software Design; 13.1 The Big Ball of Mud; 13.2 Universal Software Principles; 13.3 SOLID Principles; 13.4 Tools for Dependency Injection; 13.5 Summary; Chapter 14: Layers of an Application; 14.1 A Multitiered Architecture; 14.2 The Business Layer; 14.3 The Data Access Layer; 14.4 Summary; Chapter 15: The Model-View-Presenter Pattern; 15.1 Patterns for the Presentation Layer; 15.2 Implementing Model View Presenter; 15.3 Testability in Web Forms with MVP; 15.4 Summary; Part IV: Infrastructure of the Application; Chapter 16: The HTTP Request Context; 16.1 Initialization of the Application; 16.2 The global.asax File; 16.3 The HttpContext Class; 16.4 The Server Object; 16.5 The HttpResponse Object; 16.6 The HttpRequest Object; 16.7 Summary; Chapter 17: ASP.NET State Management; 17.1 The Applications State; 17.2 The Sessions State; 17.3 Working with a Sessions State; 17.4 Customizing Session State Management; 17.5 The View State of a Page; 17.6 Summary; Chapter 18: ASP.NET Caching; 18.1 Caching Application Data; 18.2 Distributed Cache; 18.3 Caching ASP.NET Pages; 18.4 Summary; Chapter 19: ASP.NET Security; 19.1 Where the Threats Come From; 19.2 The ASP.NET Security Context; 19.3 Using Forms Authentication; 19.4 The Membership and Role Management API; 19.5 Quick Tour of Claims-Based Identity; 19.6 Security-Related Controls; 19.7 Summary; Part V: The Client Side; Chapter 20: Ajax Programming; 20.1 The Ajax Infrastructure; 20.2 Partial Rendering in ASP.NET; 20.3 Considerations Regarding Partial Rendering; 20.4 REST and Ajax; 20.5 Summary; Chapter 21: jQuery Programming; 21.1 Power to the Client; 21.2 Working with jQuery; 21.3 Summary;