Comprehensive, advanced coverage of C# 5.0 and .NET 4.5.1
Whether you’re a C# guru or transitioning from C/C++, staying up
to date is critical to your success. Professional C# 5.0 and
.NET 4.5.1 is your go-to guide for navigating the programming
environment for the Windows platform. After a quick refresher of
the C# basics, the team of expert authors dives in to C# 5.0 and
updates for NET 4.5.1. Includes:
* Different behaviors for .NET 4.5.1 and the changes to Visual
Studio 2013
* Changes to ASP.NET Core, Web Forms, MVC, and Web API
* Updated Windows 8 deployments and localization, event logs, and
data flow
* Shuffling of ADO.NET Entity Framework
* Additions to Windows Workflow Foundation
* New Windows Runtime 2.0 updates
Table of Content
Introduction xxiii
Part I: The C# Language
Chapter 1: .NET Architecture 3
Chapter 2: Core C# 23
Chapter 3: Objects and Types 65
Chapter 4: Inheritance 89
Chapter 5: Generics 107
Chapter 6: Arrays and Tuples 129
Chapter 7: Operators and Casts 151
Chapter 8: Delegates, Lambdas, and Events 183
Chapter 9: Strings and Regular Expressions 209
Chapter 10: Collections 229
Chapter 11: Language Integrated Query 279
Chapter 12: Dynamic Language Extensions 313
Chapter 13: Asynchronous Programming 325
Chapter 14: Memory Management and Pointers 347
Chapter 15: Reflection 373
Chapter 16: Errors and Exceptions 391
Chapter 17: Visual Studio 2013 415
Chapter 18: Deployment 469
Chapter 19: Assemblies 489
Chapter 20: Diagnostics 521
Chapter 21: Tasks, Threads, and Synchronization 555
Chapter 22: Security 605
Chapter 23: Interop 631
Chapter 24: Manipulating Files and the Registry 665
Chapter 25: Transactions 709
Chapter 26: Networking 741
Chapter 27: Windows Services 773
Chapter 28: Localization 805
Chapter 29: Core XAM L 847
Chapter 30: Managed Extensibility Framework 865
Chapter 31: Windows Runtime 895
Chapter 32: Core ADO .NET 919
Chapter 33: ADO .NET Entity Framework 965
Chapter 34: Manipulating XM L 997
Chapter 35: Core WPF 1051
Chapter 36: Business Applications with WPF 1103
Chapter 37: Creating Documents with WPF 1155
Chapter 38: Windows Store App s: User Interface 1177
Chapter 39: Windows Store App s: Contracts and
Chapter 40: Core AS P.NET 1223
Chapter 41: AS P.NET Web Forms 1253
Chapter 42: AS P.NET MV C 1297
Chapter 43: Windows Communication Foundation 1339
Chapter 44: AS P.NET Web API 1381
Chapter 45: Windows Workflow Foundation 1407
Chapter 46: Peer-to-Peer Networking 1433
Chapter 47: Message Queuing 1447
Index 1479
About the author
Christian Nagel is software architect with more than 20
years of development experience. He is a Microsoft Certified
Trainer, Professional Developer, and Microsoft MVP for Visual
C#.
Jay Glynn started writing software more than 20 years
ago. He currently works for VGT as a software engineer writing
server-based software.
Morgan Skinner has programmed in C# and .NET since 2000;
he joined Microsoft in 2001.