Sams Teach Yourself C# Web Programming in 21 Days

Phil Syme, Peter Aitken

  • 出版商: SAMS
  • 出版日期: 2001-11-18
  • 定價: $1,485
  • 售價: 5.0$743
  • 語言: 英文
  • 頁數: 560
  • 裝訂: Paperback
  • ISBN: 0672322358
  • ISBN-13: 9780672322358
  • 相關分類: C#
  • 立即出貨(限量) (庫存=10)



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.

Table of Contents



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.



學習如何使用C#進行網路程式設計,並通過實踐技巧和清晰的解釋來掌握。本書討論了一些C#的特性,如垃圾回收、簡化的類型聲明和可擴展性支持,這些特性可以快速開發解決方案。本書以簡單實用的方式解釋了關鍵概念。Web Forms和Web Controls提供了一種優雅的方式來創建動態網頁。本書通過代碼示例和項目來介紹這些主題。網路程式設計中最新的發展之一是使用XML和SOAP通信協議。.NET Web Services利用了這兩種技術,並在本書的後幾節中進行了介紹。

第3天:使用Web Forms
第4天:使用Web Controls
第5天:使用高級ASP.NET Web Controls
Manipulating XML Files Using ADO.NET.
Understanding XML Schem