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.
Chapter 1 Getting Started
Creating a New Web Site
Making the HelloWorld Web Site Interactive
What You Just Did
Chapter 2 Building Web Applications
Mastering Web Site Fundamentals
Chapter 3 Snappier Web Sites with AJAX
Take a Walk on the Client Side
Extending Controls with the Control Toolkit
Source Code Listing
Chapter 4 Saving and Retrieving Data
Getting Data from a Database
Displaying and Updating the Data
Source Code Listings
Chapter 5 Validation
The Summary Control
The Compare Validator
Chapter 6 Style Sheets, Master Pages, and Navigation
Styles and Style Sheets
Chapter 7 State and Life Cycle
Page Life Cycle
Chapter 8 Errors, Exceptions, and Bugs, Oh My!
Creating the Sample Application
Chapter 9 Security and Personalization
Themes and Skins
Chapter 10 Putting It All Together
Using Master Pages
Setting Up Roles and Users
Custom Error Pages
Source Code Listings
Appendix Installing the Applications
What Hardware and Software You'll Need
Visual Web Developer (VWD)
Visual Studio 2005
Appendix Copying a Web Site
Copying the Web Site Without Using the IDE
Copying the Web Site with the IDE
Appendix 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
Jesse Liberty, Microsoft .NET MVP, is the best-selling author of O'Reilly Media's "Programming ASP.NET", "Programming C#", "Programming Visual Basic 2005" and over a dozen other books on web and object-oriented programming. He is president of Liberty Associates, Inc. where he provides contract programming, consulting and on-site training in .NET.Jesse is a frequent contributor to O'Reilly Network web sites as well as many industry publications and has spoken at numerous industry events. He is a former Distinguished Software Engineer at AT&T and Vice President for technology development at CitiBank.
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.
The animal on the cover of Learning ASP.NET 2.0 with AJAX is a pelagic stingray (Pteroplaytrygon violacea). The pelagic stingary is found worldwide in temperate to tropical seas, in both open bays and deep ocean waters. While many other varieties of rays live near the sandy ocean floor, the pelagic stingray primarily swims in open water. It has many small sharp teeth and is sometimes seen feeding upside-down or using its pectoral fins to push food into its mouth. It eats crustaceans, jellyfish, octopus, squid, and small fish such as mackerel and herring.
Pelagic stingrays can grow up to five feet long and almost three feet wide. This is small relative to other rays, which can be as long as 14 feet, yet is substantial enough that its only predators are large marine creature, such as hammerhead and oceanic whitetip sharks. Its coloring, dark purple or gray on top with a paler underside, serves to camouflage the stingray from predators above. The pelagic stingray wards off these predators with serrated, venomous spines, which protrude about one-third of the way down its tail.
Pups, or baby stingrays, are born in small litters after a two- to four-month gestational period. At birth, they are between 6 and 10 inches long, and they are able to feed and take care of themselves. Though pelagic stingrays are often caught unintentionally in fishing nets, they are not currently endangered, and some scientists have noted a recent increase in pelagic stingray populations.
The cover image is from Dover's Animals. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed.