Save 40% on books and eBooks + 70% on videos now through May 31*—use code PROGRAM. Shop now.
Sams Teach Yourself ASP.NET in 21 Days will strive to introduce readers to ASP.NET through individual lessons contained in chapters. These lessons will begin with a thorough overview of the technology and framework involved, and gradually expand to more difficult lessons requiring deeper engineering skills and knowledge. Although each chapter will be self-contained, each subsequent chapter will build upon previous lessons to ensure that each topic is not only taught, but also used.
The book will introduce the ASP.NET Framework, Visual Basic .NET, and C#, the new COM framework. The book will cover applications of these technologies.
Sams Teach Yourself ASP.NET in 21 Days is the perfect book to introduce beginner and intermediate readers to the new technologies and frameworks presented by ASP.NET. By guiding readers through short but increasingly complex lessons, this book will give readers a strong foundation in ASP.NET, and the knowledge to develop their own creative solutions. Readers will delve into the new framework, the C# and Visual Basic programming languages, and techniques to approach difficult problems.
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.
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. That's Not ASP!
Introduction to Visual Basic.NET. Variables. Arrays. Operators. Conditional Logic. Looping Logic. Branching Logic. Classes. Useful VB.NET Functions. For Future VB.NET Gurus: Where to. That's Not ASP!
Introduction to C# Syntax Examples. A Recap of Objects. ASP.NET Objects. Resources for Future C# Gurus. That's Not ASP!
Introduction to Forms. Introduction to Web Forms. Web Forms Programming Model. HTML Server Controls. Web Server Controls.
The Extensibility of Web Forms. User Controls. Custom Controls. Creating Controls at Runtime.
Validation Scenarios. ASP.NET Validation. Using Validation Controls. Customizing Validation.Week 1 In Review.
A Banking Application. Summary.Week 2 At a Glance.
What Are Databases? Creating Databases. The Structured Query Language (SQL). Accessing Data with ASP.NET.
Introduction to Accessing Data from ASP.NET. The DataSet. Data Binding. Data Binding Controls.
An Introduction to ADO.NET. The DataSet Revisited. Database. Using ADO.NET with ASP.NET.
An Introduction to XML. Accessing XML with ASP.NET. The XML Document Object Model. XML and the DataSet.
Advanced Database Techniques. Advanced XML Techniques.
Using Files with ASP.NET. Including External Files. Accessing Files. Isolated Storage.
What Is Caching? How ASP.NET Uses Caching. How to Use Caching. Using Caching Effectively.
Bonus Project 2. Summary.Week 3 At a Glance.
Introduction to Components. Creating Business Objects. Developing. Business Objects. A Working Example. Working with Non .NET Components.
The Way the Web Works-Revisited. Introduction to Web Services. Building a Web Service. Creating a Web Service from an Existing Business Object. Returning Data from Services.
Consuming Web Services. Consuming a Web Service Through an ASP.NET Page. Web Service Consumption Recommendations. Securing Web Services.
Introduction to ASP.NET Applications. global.asax. Configuring. Deploying Your Application.
The Drive for Separation. Code-Behind Forms. Resource Files and Localization.
Introduction to Debugging. Try and Catch. Tracing. The CLR Debugger. Debugging Recommendations.
Security Basics. Authentication. Authorization. Impersonation.Week 3 In Review.
Adding the Business Objects. The Web Service. Summary.Bonus Days.
The Scenario: BananaMobiles. Designing the Application. Building the BananaMobile Site. Where to Go from Here.
What Are Mobile Web Forms? Installing the Mobile Web SDK. Getting Started with Mobile Web Forms. Developing Mobile Pages.
ASP.NET Conundrums. Changes from Classic ASP.
HTML Server Controls. Web Server Controls. Validation Server Controls.
The DataSet and Related Objects. The Managed Providers.
Listing 9.7: The included source file, listing0907.aspx is incorrect. The source code in the book is the correct version.
Listing 11.10: Lines 38 and 39 are extraneous. The source file does not include these lines.
Listing 11.11: The catch block at line 24 assigns a value to a string variable that doesn’t get used anywhere. Should insert a new line after 24, before 25:
output.Text = strOutput
Listing 11.12: Lines 36-40 should read:
strOutput += " " & _
"ColumnName = """ & xmldoc.DataSet. _
Tables(i).Columns(j).ColumnName & """, " & _
type = " & xmldoc.DataSet.Tables(i). & _
Columns(j).DataType.ToString() & "<br>"