Home > Store > Programming > C#

Sams Teach Yourself C# Web Programming in 21 Days

Register your product to gain access to bonus material or receive a coupon.

Sams Teach Yourself C# Web Programming in 21 Days

Best Value Purchase

Book + eBook Bundle

  • Your Price: $48.59
  • List Price: $80.98
  • About Watermarked eBooks
  • This PDF will be accessible from your Account page after purchase and requires the free Adobe® Reader® software to read it.

    The eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

    Watermarked eBook FAQ

More Purchase Options


  • Your Price: $35.99
  • List Price: $44.99
  • Usually ships in 24 hours.

eBook (Watermarked)

  • Your Price: $28.79
  • List Price: $35.99
  • About Watermarked eBooks
  • This PDF will be accessible from your Account page after purchase and requires the free Adobe® Reader® software to read it.

    The eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

    Watermarked eBook FAQ


  • Copyright 2002
  • Dimensions: 7-3/8" x 9-1/8"
  • Pages: 560
  • Edition: 1st
  • Book
  • ISBN-10: 0-672-32235-8
  • ISBN-13: 978-0-672-32235-8
  • eBook (Watermarked)
  • ISBN-10: 0-7686-5840-3
  • ISBN-13: 978-0-7686-5840-8

Learn how to how to use C# for Internet programming with the hands-on techniques and clear explanations. This book discusses some C# features that allow rapid development of solutions such as garbage collection, simplified type declarations, and scalability support. The book explains key concepts in a simple and practical manner. Web Forms and Web Controls usher in an elegant way to make dynamic Web pages. The book covers these topics with how-to code examples and projects. One of the newest developments in Internet programming is the use of XML and the SOAP communication protocol. .NET Web Services harness these two technologies, and is covered in later sections of the book.



Visit the authors' book companion website to download the source code for the examples developed in the book and view updates and/or corrections to the book at http://www.pgacon.com/csip21/

Sample Content

Online Sample Chapters

ASP.NET Programming: Using Web Forms

Introducing Web Services

Table of Contents

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



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.


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.


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.

Day 1, “Introducing Web Programming with .NET”. Day 2, “Introducing ASP.NET”. Day 3, “Using Web Forms”. Day 4, “Working with Web Controls”. Day 5, “Using Advanced ASP.NET Web Controls”. Day 6, “Working with User Controls”. Day 7, “Writing Internet Applications for Mobile Devices”. Day 8, “Using XML with Your Application”. Day 9, “Introducing ADO.NET”. Day 10, “Working with Datasets”. Day 11, “Using ADO.NET and XML Together”. Day 12, “Putting It All Together with ASP.NET”. Day 13, “Introducing Web Services”. Day 14, “Publishing Web Services”. Day 15, “Consuming a Web Service”. Day 16, “Putting It All Together with Web Services”. Day 17, “Using Legacy Code with .NET”. Day 18, “Configuring Internet Applications”. Day 19, “Securing Internet Applications”. Day 20, “Deploying Internet Applications”. Day 21, “Creating Your Application Architecture”.



Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership