Pro C# with .NET 3.0, Special Edition

Front Cover
Apress, Apr 29, 2007 - Computers - 1188 pages

C# 2005 has enjoyed huge success in the year since its launch, firmly establishing itself as the premier language for development on Microsofts successful .NET 2.0 platform. With the launch of the .NET 3.0 extensions in early 2007, the horizons of this language are being extended, and it is becoming even more powerful as it is able to leverage the new .NET 3.0 Foundations.

In recognition of this, Apress presents Pro C# with .NET 3.0, Special Edition to provide you with a complete A-to-Z reference for using C# with the .NET 2.0 platform and the .NET 3.0 extensions. The book contains new chapters that explore the interactions between the existing framework and the new extensions, giving you an edge when you evaluate and implement .NET 3.0 for the first time. To provide even more support, a bonus PDF download will be available with each purchase, offering over 500 pages of carefully selected additional content to help broaden your understanding of both .NET 2.0 and .NET 3.0.

 

Contents

CHAPTER 1
3
CHAPTER
4
CHAPTER
5
CHAPTER
7
CHAPTER
8
CHAPTER
10
CHAPTER
12
CHAPTER
13
Dynamically Loading Assemblies
402
Understanding Attributed Programming
408
Summary
424
Understanding NET Application Domains
435
Summarizing Processes AppDomains and Context
444
The Issue of Concurrency
467
Understanding RoundTrip Engineering
481
NET Base Class Library C and CIL Data Type Mappings
492

CHAPTER
14
CHAPTER
16
CHAPTER
18
CHAPTER
19
CHAPTER
20
CHAPTER
21
CHAPTER
22
CHAPTER
24
CHAPTER
25
Usingildasm exe
26
CHAPTER
28
CHAPTER
29
CHAPTER
31
Building C Applications
33
Debugging at the Command Line
41
Building NET Applications Using Visual C 2005 Express
50
The C Programming Language
64
INDEX
67
The System Console Class
73
Method Parameter Modifiers
89
Understanding Value Types and Reference Types
96
Understanding Boxing and Unboxing Operations
104
System Object
110
The System String Data Type
123
NET Array Types
127
ObjectOriented Programming with C 2 0
139
Reviewing the Pillars of OOP
145
Cs Inheritance Support
154
Cs Polymorphic Support
162
Understanding Object Lifetime
179
The System GC Type
185
Building Finalizable and Disposable Types
194
The Simplest Possible Example
200
SystemLevel Exceptions System SystemException
208
Interfaces and Collections
221
Interfaces As Return Values
228
Implementing Interfaces Using Visual Studio 2005
234
Building Comparable Objects IComparable
242
Callback Interfaces Delegates and Events
255
The System MulticastDelegate and System Delegate Base Classes
262
A More Elaborate Delegate Example
270
Understanding C Events
277
C Method Group Conversions
285
Internal Representation of Type Indexers
292
Understanding Generics
321
Creating Generic Methods
329
Creating Generic Base Classes
339
Programming with NET Assemblies
346
Building and Consuming a SingleFile Assembly
354
Type Reflection Late Binding and AttributeBased
391
Building a NET Assembly with CIL
500
A Brief Word Regarding System CodeDOM
513
The NET Remoting Layer
565
Building Your First Distributed Application
575
Revisiting the Activation Mode of WKO Types
581
Working with MBV Objects
586
Building a Better Window with System Windows Forms
605
The Functionality of the Control Class
612
The Functionality of the Form Class
618
Rendering Graphical Data with GDI+
649
Understanding Paint Sessions
655
Defining a Color Value
663
Survey of the System Drawing Drawing2D Namespace
672
Working with Pens
673
Summary
698
Configuring the Tab Order
718
Summary
758
The System Data Types
764
The NET 2 0 Provider Factory Model
770
Obtaining Multiple Result Sets Using a Data Reader
784
Working with DataTables
800
CHAPTER 23
822
Summary
825
The Inheritance Chain of the Page Type
855
Summary
888
Maintaining Session Data
906
Web Services
919
Building an XML Web Service Using Visual Studio 2005
926
Understanding the WebService Attribute
929
Exploring the Web Service Description Language WSDL
935
The wsdl exe CommandLine Utility
942
Exposing Custom Types from Web Methods
948
Programming with NET 3 0
956
Summary
968
Building a XAMLFree WPF Application
976
Transforming Markup into a NET Assembly
984
Introducing Windows Communication Foundation
1021
Hosting the WCF Service
1030
Communicating with the WCF Service
1036
Introducing Windows Workflow Foundation
1047
The WFAssemblies and Core Namespaces
1054
Invoking Web Services Within Workflows
1063
Building a Reusable WF Code Library
1069
Understanding Implicitly Typed Local Variables
1076
An Introduction to LINQ
1107
Using LINQ to Query Generic Collections
1114
Investigating the LINQ Query Operators
1122
Summary
1149
Copyright

Other editions - View all

Common terms and phrases

About the author (2007)

Andrew Troelsen is a partner, trainer, and consultant at Intertech Inc., and is a leading authority on both .NET and COM. His book Pro C# 2005 and the .NET 2.0 Platform won the prestigious 2003 Referenceware Excellence Award and is in its third edition. Also of note are his earlier five-star treatment of traditional COM in the bestselling Developer's Workshop to COM and ATL mirrored in his book, COM and .NET Interoperability, and his top-notch investigation of VB .NET in Visual Basic .NET and the .NET Platform: An Advanced Guide. Troelsen has a degree in mathematical linguistics and South Asian studies from the University of Minnesota, and is a frequent speaker at numerous .NET-related conferences. He currently lives in Minneapolis with his wife, Amanda, and spends his free time investigating .NET and waiting for the Wild to win the Stanley Cup. You can check out his blog at AndrewTroelsen.blogspot.com.

Bibliographic information