Synopses & Reviews
With this book, web developers can build engaging and interactive sites and applications using Microsoft's latest web development tools -- ASP.NET 2.0 and the new ASP.NET AJAX framework. You learn to create applications that have all the great tricks you see on popular commercial web sites, such as order forms and the ability to interact with a database. And you can build pages that display information interactively without a page refresh. This straightforward tutorial explains how.
Learning ASP.NET 2.0 with AJAX helps you master the concepts and techniques of Microsoft's tools with plenty of annotated examples, review quizzes, web construction exercises and chapter summaries, so you can practice new skills and test your understanding as you go. With it, you'll learn to:
- Master the fundamental skills of ASP.NET 2.0 to build professional quality web applications
- Integrate new Ajax tools and CSS with ASP.NET 2.0 for flashier and more interactive sites
- Build applications with minimal coding using Visual Studio or its free counterpart, Visual Web Developer
- Connect your site with a database so that users can retrieve, interact and save data
- Debug your application, deal with unexpected problems, and protect your site from malicious users
- Use the community-maintained ASP.NET AJAX Control Toolkit to extend the controls that come with ASP.NET AJAX
- Use personalization tools to give your site a customized look for each user
Ideal for beginning web developers, or those who are new to ASP.NET, this book gets you involved with your own learning through hands-on lessons that are clear and to the point. You get the chance to try out new techniques on the spot. Want to join the world of modern web development? This book will get you started.
In this hands-on guide, bestselling author Liberty and Web expert Hurwitz teach beginning ASP.Net developers how to quickly build more engaging and interactive Web sites by using Microsofts newly released AJAX framework.
About the Author
Jesse Liberty, "Silverlight Geek", is a senior program manager for Microsoft Silverlight in the Silverlight Development Division where he is responsible for the creation of tutorials, videos and other content to facilitate the learning and use of Silverlight.
Even before joining Microsoft, Jesse is well known in the industry in part because of his many bestselling books, including O'Reilly Media's Programming .NET 3.5, Programming C# 3.0, Learning ASP.NET with AJAX and the soon to be published Programming Silverlight. He has over two decades experience writing software, consulting and training, with stints as at AT&T as a Distinguished Software Engineer and at Citibank as a Vice President in the Information Division.
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.
Brian MacDonald has edited programming and networking books for major publishers on topics ranging from securing Windows servers to PHP web programming to running an eBay business. He also coauthored O'Reilly's Learning C# 2005 and Learning ASP.NET 2.0 with AJAX.
Table of Contents
Dedication; Preface; About This Book; About This Series; Learning or Programming?; VB Versus C#; How This Book Is Organized; Conventions Used in This Book; Support: A Note from Jesse Liberty; Using Code Examples; We'd Like to Hear from You; Safari® Books Online; Acknowledgments; Chapter 1: Getting Started; 1.1 Hello World; 1.2 Creating a New Web Site; 1.3 Creating HelloWorld; 1.4 Making the HelloWorld Web Site Interactive; 1.5 What You Just Did; 1.6 Summary; 1.7 BRAIN BUILDER; Chapter 2: Building Web Applications; 2.1 Mastering Web Site Fundamentals; 2.2 Controls; 2.3 Source Code; 2.4 Summary; 2.5 BRAIN BUILDER; Chapter 3: Snappier Web Sites with AJAX; 3.1 Take a Walk on the Client Side; 3.2 ScriptManager; 3.3 Extending Controls with the Control Toolkit; 3.4 Source Code Listing; 3.5 Summary; 3.6 BRAIN BUILDER; Chapter 4: Saving and Retrieving Data; 4.1 Getting Data from a Database; 4.2 Displaying and Updating the Data; 4.3 Source Code Listings; 4.4 Summary; 4.5 BRAIN BUILDER; Chapter 5: Validation; 5.1 Validation Controls; 5.2 The RequiredFieldValidator; 5.3 The Summary Control; 5.4 The Compare Validator; 5.5 Range Checking; 5.6 Regular Expressions; 5.7 Custom Validation; 5.8 Summary; 5.9 BRAIN BUILDER; Chapter 6: Style Sheets, Master Pages, and Navigation; 6.1 Styles and Style Sheets; 6.2 Master Pages; 6.3 Navigation; 6.4 Summary; 6.5 BRAIN BUILDER; Chapter 7: State and Life Cycle; 7.1 Page Life Cycle; 7.2 State; 7.3 Summary; 7.4 BRAIN BUILDER; Chapter 8: Errors, Exceptions, and Bugs, Oh My!; 8.1 Creating the Sample Application; 8.2 Tracing; 8.3 Debugging; 8.4 Error Handling; 8.5 Summary; 8.6 BRAIN BUILDER; Chapter 9: Security and Personalization; 9.1 Forms-Based Security; 9.2 Personalization; 9.3 Themes and Skins; 9.4 Summary; 9.5 BRAIN BUILDER; Chapter 10: Putting It All Together; 10.1 Getting Started; 10.2 Adding Styles; 10.3 Using Master Pages; 10.4 Setting Up Roles and Users; 10.5 Logging In; 10.6 Navigation; 10.7 Products Page; 10.8 Adding AJAX; 10.9 Cart Page; 10.10 Purchase Page; 10.11 Confirm Page; 10.12 Custom Error Pages; 10.13 Summary; 10.14 Source Code Listings; Installing the Applications; What Hardware and Software You'll Need; Visual Web Developer (VWD); Visual Studio 2005; ASP.NET AJAX; Copying a Web Site; Virtual Directories; Copying the Web Site Without Using the IDE; Copying the Web Site with the IDE; Answers to Quizzes and Exercises; Chapter 1: Getting Started; Chapter 2: Building Web Applications; Chapter 3: Snappier Web Sites with AJAX; Chapter 4: Saving and Retrieving Data; Chapter 5: Validation; Chapter 6: Style Sheets, Master Pages, and Navigation; Chapter 7: State and Life Cycle; Chapter 8: Errors, Exceptions, and Bugs, Oh My!; Chapter 9: Security and Personalization; Colophon;