Teach Yourself C# Web Programming in 21 Days

by Phil Syme and Peter G. Aitken

Published by Sams
November 15, 2001
560 pages, $39.99
ISBN 0-67-232235-8

Download all program listings

View corrections

Email the author

Back to Books page

Detailed Table Of Contents
(NOTE: Each chapter concludes with a Summary, Q&A, and Workshop.)

WEEK 1. AT A GLANCE.

Day 1. Introducing Web Programming with .NET.
What Is the .NET Framework?
Fundamental Concepts.
Configuring Your Environment.
Internet Applications and Request Processing.
Creating a Web Service.
Running the Code Listings.


Day 2. Introducing ASP.NET.
What Is ASP.NET?
Your First ASP.NET Page.
Defining Web Forms.
Coding Behind Forms in ASP.NET.
Creating a Web Application with Visual Studio.NET.
The Response Object.
The Request Object.
Handy Methods in the Page Class.
How ASP.NET Works.


Day 3. Using Web Forms.
Understanding How Web Forms Are Processed.
Performing Basic State Management in Web Applications.
Using Cookies.
Using Hidden Fields and Query Strings.
Working with the Session Object.
Working with the Application Object.
Setting Up Global Objects with the global.asax File.
Configuring the Application.


Day 4. Working with Web Controls.
Understanding the Benefits of Web Controls.
Understanding the Common Features of Web Controls.
Working on the Web Controls Example.
Working with Validation Controls.
Data Binding: Integrating Results with Code.
Beautifying Your Controls.


Day 5. Using Advanced ASP.NET Web Controls.
Building Controls with Code.
Repeating Templates with the Repeater Control.
Displaying Tables with the DataGrid Control.
Displaying Data with the DataList Control.


Day 6. Working with User Controls.
Understanding User Controls.
Using Properties.
Handling Events.
Creating Code Behind User Controls.
Caching Web Forms.
Caching User Controls.


Day 7. Writing Internet Applications for Mobile Devices.
Introducing Mobile Device Support.
Creating Mobile Web Forms.
Working with Mobile Web Controls.
Customizing Pages by Device Type.
Using Style Sheets.
Understanding State Management Issues.


Week 1. In Review.

WEEK 2. AT A GLANCE.

Day 8. Using XML with Your Application.
What Is XML?
What Is XSL?
Understanding the Document Object Model (DOM).


Day 9. Introducing ADO.NET.
Why ADO.NET? Setting Up the Database.
Using Database Connections.
Changing Data by Using Database Commands.


Day 10. Working with Datasets.
What Are DataSets and DataAdapters?
Reading Data into a Dataset.
Changing Data with a Dataset.
Handling DataAdapter Errors.
Working with Multiple Tables.
Using Visual Studio.NET.
Using Additional DataTable Features.


Day 11. Using ADO.NET and XML Together.
Manipulating XML Files Using ADO.NET.
Understanding XML Schemas.
Creating XSD Files.
I Have an XML Schema-Now What?.


Day 12. Putting It All Together with ASP.NET.
Taking a Second Look at Data Binding.
Revisiting the DataView.
Performing Some DataGrid Tricks.


Day 13. Introducing Web Services.
Why Use Web Services?
Implementing Your First Web Service.
Testing the Web Service.
Implementing the Web Service Client.
Understanding How Web Services Work.


Day 14. Publishing Web Services.
How Do Web References Work?
What Is UDDI?


Week 2. In Review.

WEEK 3. AT A GLANCE.

Day 15. Consuming a Web Service.
Passing Parameters and Web Services.
Accessing Data with Web Services.


Day 16. Putting It All Together with Web Services.
Managing State in Web Services.
Dealing with Slow Services.


Day 17. Using Legacy Code with .NET.
Using ASP and ASP.NET Together.
Using COM Components.
Using .NET Components in Legacy Applications.


Day 18. Configuring Internet Applications.
XML and the Web.Config File.
Examining Configuration Files.
Adding Tracing and Debugging.
Customizing Project Compilation.
Adding Error Handling to ASP.NET Pages.
Configuring Session State.
Configuring the ASP.NET Process.
Configuring ASP.NET Pages.
Adding Custom Configuration Sections.


Day 19. Securing Internet Applications.
Understanding Network Security Issues.
Using HTTPS for Encryption.
Understanding Security Terms.
Understanding Authentication.
Understanding Authorization and Impersonation.
Setting Up URL Authorization.
Setting Up Authentication for Web Services.


Day 20. Deploying Internet Applications.
Deploying Web Applications with XCOPY and FTP.
Copying Projects with Visual Studio.
Creating Powerful Setup Programs.


Day 21. Creating Your Application Architecture.
Applications with Great "PARSSeM".
Looking at Logical and Physical Architecture.
Performance and Scalability.
DNA for .NET.
PARSSeM and .NET.


Week 3. In Review.
Appendix A. Answers to Quizzes and Exercises.

Index.


Corrections

Some of the listings have minor changes, due to changes in the .NET platform from Beta 2 to the first Release Candidate. The downloadable listings contain the most up to date code.