Synopses & Reviews
Sams Teach Yourself ASP.NET in 21 Days, Second Edition offers an approachalbe guide to the latest in Microsoft .NET technologies. The author's example-packed and accessible presentation style helped make the previous edition a success. The book walks the reader through the .NET Framework and teaches techniques needed to program Web applications efficiently. For experienced user of the previous version of ASP, this title will serve as an invaluable "upgrade" tool. After covering Web Forms and Server Controls, the author explores at database access with ADO.NET and XML. An application will be built throughout the book to illustrate techniques learned each day. XML Web Services are covered in detail due to their tight integration with ASP.NET applications. Overall this title will make ASP.NET accessible for just about anyone, with or without exposure to the older ASP standard.
The author offers an approachable guide to the latest in Microsoft .NET technologies. Payne's example-packed and accessible presentation style helped make the previous edition a success. This book walks the reader through the .NET Framework and teaches techniques needed to program Web applications efficiently.
A structured introduction to building ASP.NET applications using Visual Basic or C#, this book features all code listings updated against the ASP.NET final release. This second edition contains improved coverage of ASP.NET caching and performance tuning and integrating XML into applications.
About the Author
Chris Payne has had a passion for computers and writing since a youngage. He holds a bachelor of science degree in biomedical engineering fromBoston University. Chris supported himself through college by working as anindependent consultant and by writing technical articles focused on Webdevelopment. Currently making his home in Orlando, Florida with his wife, Chrisis working as a Web developer and continuing his career as an author of bothtechnical and fictional material.
Table of Contents
(NOTE: Each chapter concludes with a Summary, Q&A, and a Workshop.
Who Is This Book's Intended Audience? What Do You Need to Know Prior to Reading This Book? What Software Do You Need to Complete the Examples Provided with This Book? How This Book Is Organized. Conventions Used in This Book. Finally….
WEEK 1. AT A GLANCE. Day 1. Getting Started with ASP.NET.
The Way the Web Works. The .NET Framework. Setting Up and Installing ASP.NET. Creating ASP.NET Pages. Elements of an ASP.NET Page. Comparison of ASP and ASP.NET. Day 2. Building ASP.NET Pages.
A Simple ASP.NET Application. Writing ASP.NET and HTML Code. The Impact of the Application. Common Language Runtime and ASP.NET. ASP.NET Programming Languages. Another Look at the Code. Day 3. Using Visual Basic.NET and C#.
Introduction to Visual Basic.NET and C#. Variables. Arrays. Operators. Conditional Logic. Looping Logic. Branching Logic. Classes. Useful VB.NET Functions. For Future VB.NET and C# Gurus: Where to Go. Day 4. Using ASP.NET Objects with C# and VB.NET.
A Recap of Objects. ASP.NET Objects. Day 5. Beginning Web Forms.
Introduction to Forms. Introduction to Web Forms. Web Forms Programming Model. HTML Server Controls. Web Server Controls. Day 6. Learning More About Web Forms.
The Extensibility of Web Forms. User Controls. Custom Controls. Creating Controls at Runtime. Day 7. Validating ASP.NET Pages.
Validation Scenarios. ASP.NET Validation. Using Validation Controls. Customizing Validation. Week 1. In Review.
Bonus Project 1. A Banking Application.
WEEK 2. AT A GLANCE. Day 8. Beginning to Build Databases.
What Are Databases? Creating Databases. The Structured Query Language. Accessing Data with ASP.NET. Day 9. Using Databases with ASP.NET.
Introduction to Accessing Data from ASP.NET. The DataSet. Data Binding. Data Binding Controls. Day 10. Communicating with ADO.NET.
An Introduction to ADO.NET. The DataSet Revisited. Database Interaction with ADO.NET. Using ADO.NET with ASP.NET. Day 11. Using XML in ASP.NET.
An Introduction to XML. Accessing XML with ASP.NET. The XML Document Object Model. XML and the DataSet. Day 12. Employing Advanced Data Techniques.
Advanced Database Techniques. Advanced XML Techniques. Day 13. Reading and Writing Files on the Web Server.
Using Files with ASP.NET. Including External Files. Accessing Files. Isolated Storage. Day 14. Using ASP.NET's Improved Caching Capabilities.
What Is Caching? How ASP.NET Uses Caching. How to Use Caching. Using Caching Effectively. Week 2. In Review.
Bonus Project 2. Hold Banking Application. Adding Data Capability.
WEEK 3. AT A GLANCE. Day 15. Using Business Objects.
Introduction to Components. Creating Business Objects. Developing Business Objects. A Working Example. Working with Non-.NET Components. Day 16. Creating XML Web Services.
The Way the Web Works-Revisited. Introduction to XML Web Services. Building a Web Service. Creating a Web Service from an Existing Business Object. Returning Data from Services. Day 17. Consuming and Securing XML Web Services.
Consuming XML Web Services. Consuming a Web Service Through an ASP.NET Page. Web Service Consumption Recommendations. Securing Web Services. Day 18. Configuring and Deploying ASP.NET Applications.
Introduction to ASP.NET Applications. global.asax. Configuring ASP.NET. Deploying Your Application. Day 19. Separating Code from Content.
The Drive for Separation. Code-Behind Forms. Resource Files and Localization. Day 20. Debugging ASP.NET Pages.
Introduction to Debugging. try and catch. Tracing. The CLR Debugger. Debugging Recommendations. Day 21. Securing Your ASP.NET Applications.
Security Basics. Authentication. Authorization. Impersonation. Dealing with Secured Users. Week 3. In Review.
Bonus Project 3. Adding the Business Objects. The Web Service. Bonus Day 22. Building a Complete Application.
The Scenario: BananaMobiles. Designing the Application. Building the BananaMobile Site. Where to Go from Here. Bonus Day 23. Creating Mobile Web Forms.
What Are Mobile Web Forms? Installing the Mobile Internet Toolkit. Getting Started with Mobile Web Forms. Developing Mobile Pages. Appendix A. Answers to Quiz Questions.
Answers for Day 1. Answers for Day 2. Answers for Day 3. Answers for Day 4. Answers for Day 5. Answers for Day 6. Answers for Day 7. Answers for Day 8. Answers for Day 9. Answers for Day 10. Answers for Day 11. Answers for Day 12. Answers for Day 13. Answers for Day 14. Answers for Day 15. Answers for Day 16. Answers for Day 17. Answers for Day 18. Answers for Day 19. Answers for Day 20. Answers for Day 21. Answers for Day 22. Answers for Day 23. Appendix B. Common ASP.NET Mistakes. ASP.NET Conundrums. Changes from Classic ASP.
Appendix C. ASP.NET Controls: Properties and Methods.
HTML Server Controls. Web Server Controls. Validation Server Controls. Appendix D. ADO.NET Controls: Properties and Methods.
The DataSet and Related Classes. The Managed Providers. Index.