Pro C# 2010 and the .NET 4 Platform

Front Cover
Apress, Jul 7, 2010 - Computers - 1752 pages
We’re a Team, You and I Technology authors write for a demanding group of people (I should know—I’m one of them). You know that building software solutions using any platform (e. g. , . NET, Java, and COM) is extremely complicated and is highly specific to your department, company, client base, and subject matter. Perhaps you work in the electronic publishing industry, develop systems for the state or local government, or work at NASA or a branch of the military. Speaking for myself, I have developed children’s educational software (Oregon Trail / Amazon Trail anyone?), various n-tier systems, and projects within the medical and financial industries. The chances are almost 100 percent that the code you write at your place of employment has little to do with the code I write at mine (unless we happened to work together previously!). Therefore, in this book, I have deliberately chosen to avoid creating examples that tie the example code to a specific industry or vein of programming. Given this, I explain C#, OOP, the CLR, and the . NET 4. 0 base class libraries using industry-agnostic examples. Rather than having every blessed example fill a grid with data, calculate payroll, or whatnot, I’ll stick to subject matter everyone can relate to: automobiles (with some geometric structures and employee payroll systems thrown in for good measure). And that’s where you come in. My job is to explain the C# programming language and the core aspects of the .
 

Contents

PART 1 Introducing C and the NET Platform
2
CHAPTER 1 The Philosophy of NET
3
CHAPTER 2 Building C Applications
41
PART 2 Core C Programming Constructs
70
CHAPTER 3 Core C Programming Constructs Part I
73
CHAPTER 4 Core C Programming Constructs Part II
125
CHAPTER 5 Defining Encapsulated Class Types
167
CHAPTER 6 Understanding Inheritance and Polymorphism
219
CHAPTER 19 Multithreaded and Parallel Programming
727
CHAPTER 20 File IO and Object Serialization
775
The Connected Layer
825
The Disconnected Layer
885
The Entity Framework
951
CHAPTER 24 Introducing LINQ to XML
993
CHAPTER 25 Introducing Windows Communication Foundation
1013
CHAPTER 26 Introducing Windows Workflow Foundation 40
1077

CHAPTER 7 Understanding Structured Exception Handling
259
CHAPTER 8 Understanding Object Lifetime
289
PART 3 Advanced C Programming Constructs
320
CHAPTER 9 Working with Interfaces
321
CHAPTER 10 Understanding Generics
361
CHAPTER 11 Delegates Events and Lambdas
397
CHAPTER 12 Advanced C Language Features
439
CHAPTER 13 LINQ to Objects
489
PART 4 Programming with NET Assemblies
523
CHAPTER 14 Configuring NET Assemblies
525
CHAPTER 15 Type Reflection Late Binding and AttributeBased Programming
581
CHAPTER 16 Processes AppDomains and Object Contexts
625
CHAPTER 17 Understanding CIL and the Role of Dynamic Assemblies
653
CHAPTER 18 Dynamic Types and the Dynamic Language Runtime
701
PART 5 Introducing the NET Base Class Libraries
726
PART 6 Building Desktop User Interfaces with WPF
1116
CHAPTER 27 Introducing Windows Presentation Foundation and XAML
1117
CHAPTER 28 Programming with WPF Controls
1179
CHAPTER 29 WPF Graphics Rendering Services
1245
CHAPTER 30 WPF Resources Animations and Styles
1285
CHAPTER 31 WPF Control Templates and User Controls
1325
PART 7 Building Web Applications with ASP NET
1378
CHAPTER 32 Building ASPNET Web Pages
1379
CHAPTER 33 ASPNET Web Controls Master Pages and Themes
1429
CHAPTER 34 ASPNET State Management Techniques
1473
APPENDIX A Programming with Windows Forms
1511
APPENDIX B PlatformIndependent NET Development with Mono
1561
Index
1583
Copyright

Other editions - View all

Common terms and phrases

About the author (2010)

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