目录
BackCover
Visual C# .NET Programming
Introduction
How to Download the Code
How to Contact the Author
Part I:Prelude: Service with a Smile
Chapter 1: Creating a Web Service
Understanding Web Services
One If by Hand
Creating an ASP.NET Web Service in Visual Studio
Adding a Class Module
XML Comments
Conclusion
Chapter 2: Consuming the Service on the Web
Understanding ASP.NET
Creating an ASP.NET Web Application
Consuming the IsPrime Web Method
Finding Services to Consume
Conclusion
Part II:Allemande: Striding Forward
Chapter 3: Windows Uses Web Services, Too!
Creating a Windows Application Project
Forms
The Lowly Message Box
Changing the Shape of a Window
The Asynchronous Pattern
Conclusion
Chapter 4: Building a Better Windows Interface
Round Buttons Dancing
ListBoxes Listing
Menus
Doing the Common Dialog Thing
MDI Applications
Conclusion
Chapter 5: Reflecting on Classes
Assemblies and Namespaces
.NET Namespaces
Reflection
Tracking Members with the Class View Window
Navigating with the Object Browser
Creating a Class Library
Conclusion
Part III:Courante: The Dance of the Language
Chapter 6: Zen and Now: The C# Language
Identifiers
Keywords
Variables
Types
Type Conversion
Commenting Code
Operators
Flow Control Statements
Structs
Exceptions
Conclusion
Chapter 7: Arrays, Indexers, and Collections
Arrays
Indexers
Collection Classes
Conclusion
Chapter 8: The Life of the Object in C#
Guns, Germs, and Steel
Creating a Class
Class Members
Constructors
Class Variables, Fields, and Properties
Whose Form Is It?
Methods
Delegates and Events
Overloading Operators
Polymorphism and Overriding
Creating a Custom Collection
Conclusion
Chapter 9: Everything Is String Manipulation
C# String Basics
The Char Type
Control Characters
Char Static Methods
Creating Strings
String Methods
The StringBuilder Class
Implementing the ToString Method
Interfaces
Regular Expressions
The Regular Expression Classes
A Regular Expression Test Bed
The Syntax of Regular Expressions
Regular Expression Examples
Conclusion
Part IV:Gigue: Leaping to Success
Chapter 10: Working with Streams and Files
Files and Directories
Working with Initialization Information
Streams
Asynchronous I/O
Conclusion
Chapter 11: Messaging
Observing Windows Messages
Subclassing a Message
MessageQueue Preliminaries
Working with Message Queues and Messages
Messaging as Architecture
Conclusion
Chapter 12: Working with XML and ADO.NET
Understanding XML
XML Namespaces
Creating an XML Schema
Validating Against the Schema
Creating an XML Data File
Serializing XML
Reading and Writing XML
The document.Object Model (DOM)
XSL Transformations
Database Basics
ADO.NET
Conclusion
Chapter 13: Web Services as Architecture
Managing Session and State
Exposing Data Using a Web Service
Managing Transactions
Exposing a Private Message Queue Using a Web Service
Getting the Picture with TerraService
Conclusion
Appendix: Using C# .NET’s Help System
Dynamic Help and F1
Contents
Index
Search
Filtering Help Results
