Synopses & Reviews
O'Reilly has once again updated its bestselling tutorial on ASP.NET, the world's leading web development tool from Microsoft. In Programming ASP.NET, Third Edition, authors Jesse Liberty and Dan Hurwitz give you the lowdown on the technology's latest version, ASP.NET 2.0, as well as Visual Studio 2005.
Among the most significant improvements to ASP.NET 2.0 are new server controls and services that make you dramatically more productive. In fact, when compared to its predecessor, ASP.NET 2.0 reduces the amount of code you have to write by about 75%. Creating interactive web applications has never been easier-but that still doesn't mean it's hassle-free! The difficulty in ASP.NET 2.0 is that it's so complete and flexible that there are many pieces that must be woven together to build a robust, scalable, and efficient application.
Fortunately, Programming ASP.NET, Third Edition is on the case, dispensing all the information you need to be effective with this dynamic tool. For starters, the book features a comprehensive tutorial on Web Forms, the user interface that gives web applications their look and feel. It then offers detailed explanations of all new controls, including web server controls, HTML controls, and custom controls. Used properly, these controls are able to take care of nearly all the foundation work-security, data access, layout, etc.-that you would normally have to write yourself. Free of these burdensome tasks, you can instead focus on your specific application.
Other new material found in this updated edition even shows you how to create ASP.NET 2.0 pages for mobile devices. With Programming ASP.NET, Third Edition at your side, there's virtually no end to the programming possibilities.
About the Author
Jesse Liberty is a Senior Program Manager at Microsoft the best-selling author of O'Reilly Media's Learning ASP.NET with AJAX, Programming C#, Programming .NET 3.5, and a dozen other books on programming. He is on the Silverlight Development Team, and a frequent contributor to O'Reilly Network websites and publications. Jesse is a former Distinguished Software Engineer at AT&T and Vice President for technology development at CitiBank, and was an independent consultant for 12 years.
Dan Hurwitz is the president of Sterling Solutions, Inc., where for nearly two decades he has been providing contract programming and database development to a wide variety of clients.
Table of Contents
Dedication; Preface; About This Book; How This Book Is Organized; Who This Book Is For; Conventions Used in This Book; Support: A Note from Jesse Liberty; Using Code Examples; We'd Like to Hear from You; Safari Enabled; Acknowledgments; Chapter 1: ASP.NET 2.0; 1.1 .NET Framework 2.0; 1.2 ASP.NET 2.0; 1.3 New Features; 1.4 On to VS2005; Chapter 2: Visual Studio 2005; 2.1 Start Page; 2.2 Projects and Solutions; 2.3 The Integrated Development Environment (IDE); Chapter 3: Controls: Fundamental Concepts; 3.1 Events; 3.2 ASP.NET Server Controls; 3.3 HTML Server Controls; 3.4 Client-Side Processing; Chapter 4: Basic Controls; 4.1 The Basics; 4.2 Label Control; 4.3 TextBox Control; 4.4 HiddenField Control; 4.5 Button Controls; 4.6 HyperLink Control; 4.7 Selecting Values; 4.8 Selecting from a List; 4.9 Tables; 4.10 Panel Control; 4.11 Images; Chapter 5: Advanced Controls; 5.1 MultiView and View Controls; 5.2 Wizard Control; 5.3 FileUpload Control; 5.4 AdRotator Control; 5.5 Calendar; Chapter 6: Web Site Fundamentals; 6.1 The Page; 6.2 Code-Behind; 6.3 Moving to Another Page; 6.4 State; 6.5 Lifecycle; 6.6 Directives; Chapter 7: Tracing, Debugging, and Error Handling; 7.1 Creating the Sample Application; 7.2 Tracing; 7.3 Debugging; 7.4 Error Handling; Chapter 8: Validation; 8.1 The RequiredFieldValidator; 8.2 The Summary Control; 8.3 The Compare Validator; 8.4 Range Checking; 8.5 Regular Expressions; 8.6 Custom Validation; 8.7 Validation Groups; Chapter 9: Web Data Access; 9.1 Getting Data from a Database; 9.2 Data Source Controls; 9.3 GridView Control; 9.4 Multiuser Updates; 9.5 DataList Control; 9.6 Repeater Control; 9.7 DetailsView Control: Examining One Record at a Time; 9.8 FormView Control: Examining Single Records as Master/Detail; Chapter 10: ADO.NET; 10.1 The ADO.NET Object Model; 10.2 Getting Started with ADO.NET; 10.3 Creating Data Objects by Hand; 10.4 Stored Procedures; 10.5 Updating with SQL and ADO.NET; 10.6 Updating Data with Transactions; 10.7 Binding to Business Objects; Chapter 11: Forms-Based Security; 11.1 Authentication; 11.2 Forms-Based Authentication in Detail; 11.3 Add Roles to ASP.NET Accounts; Chapter 12: Master Pages and Navigation; 12.1 Master Pages; 12.2 Navigation; 12.3 Filtering Based on Security; Chapter 13: Personalization; 13.1 Creating Personalized Web Sites; 13.2 Personalizing with Complex Types; 13.3 Anonymous Personalization; 13.4 Themes and Skins; 13.5 Web Parts; 13.6 Enabling Editing and Layout Changes; Chapter 14: Custom and User Controls; 14.1 User Controls; 14.2 Custom Controls; Chapter 15: Creating Web Services; 15.1 How Web Services Work; 15.2 Protocols and Standards; 15.3 Creating a Simple Web Service; 15.4 WebService Directive; 15.5 Deriving from the WebService Class; 15.6 Application State via HttpContext; 15.7 WebServiceBinding Attribute; 15.8 WebMethod Attribute; 15.9 WebService Attribute; 15.10 Data Types; 15.11 StockTickerComplete; 15.12 Creating Discovery Documents; 15.13 Deployment; Chapter 16: Consuming Web Services; 16.1 Discovery; 16.2 Creating the Client with VS2005; 16.3 Creating the Client Manually; 16.4 Using Asynchronous Method Calls; Chapter 17: Caching and Performance; 17.1 Types of Caching; 17.2 Data Caching; 17.3 Output Caching; 17.4 Object Caching; 17.5 The HttpCachePolicy Class; 17.6 Performance; 17.7 Benchmarking and Profiling; Chapter 18: Application Logic and Configuration; 18.1 Internet Information Server (IIS); 18.2 Understanding Web Applications; 18.3 Application-Wide Logic; 18.4 Configuring the Application; Chapter 19: Deployment; 19.1 Assemblies; 19.2 Local Deployment; 19.3 Global Deployment; 19.4 Windows Installer; Appendix A: Keyboard Shortcuts; Appendix B: Relational Database Technology: A Crash Course; B.1 Tables, Records, and Columns; B.2 Table Design; B.3 SQL; Colophon;