This is the ultimate guide to C# 4 and the .NET 4 framework. Updated with more coverage of intermediate and advanced features, new examples, and detailed discussions of recent language and framework additions, this book covers everything you will need to know about C# and putting it to work. You will also find in-depth reviews of various topics including traditional Windows programming, working in Visual Studio 2010 with C#, base Class Libraries, and communication with Enterprise Services among others.
Autorentext
Christian Nagel is a Microsoft Regional Director, software architect, and author of many .NET books. He founded CN innovation and is an associate of thinktecture.
Bill Evjen is Global Head of Platform Architecture for Thomson Reuters, Lipper. He is also a Microsoft Regional Director and the founder of INETA.
Jay Glynn is the Principle Architect at PureSafety, a leading provider of results-driven software and information solutions for workforce safety and health.
Karli Watson is a freelance author and a consultant for Infusion Development.
Morgan Skinner works in premier support for developers at Microsoft.
Klappentext
Start using the new features of C# 4 and .NET 4 right away
The new C# 4 language version is indispensable for writing code in Visual Studio 2010. This essential guide emphasizes that C# is the language of choice for your .NET 4 applications. The unparalleled author team of experts begins with a refresher of C# basics and quickly moves on to provide detailed coverage of all the recently added language and Framework features so that you can start writing Windows applications and ASP.NET web applications immediately.
-
Reviews the .NET architecture, objects, generics, inheritance, arrays, operators, casts, delegates, events, Lambda expressions, and more
-
Details integration with dynamic objects in C#, named and optional parameters, COM-specific interop features, and type-safe variance
-
Provides coverage of new features of .NET 4, Workflow Foundation 4, ADO.NET Data Services, MEF, the Parallel Task Library, and PLINQ
-
Has deep coverage of great technologies including LINQ, WCF, WPF, flow and fixed documents, and Silverlight
-
Reviews ASP.NET programming and goes into new features such as ASP.NET MVC and ASP.NET Dynamic Data
-
Discusses communication with WCF, MSMQ, peer-to-peer, and syndication
Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
wrox.com
Programmer Forums
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.
Code Downloads
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Read More
Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
Inhalt
INTRODUCTION LI
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 207
CHAPTER 10: COLLECTIONS 225
CHAPTER 11: LANGUAGE INTEGRATED QUERY 267
CHAPTER 12: DYNAMIC LANGUAGE EXTENSIONS 295
CHAPTER 13: MEMORY MANAGEMENT AND POINTERS 307
CHAPTER 14: REFLECTION 333
CHAPTER 15: ERRORS AND EXCEPTIONS 351
PART II: VISUAL STUDIO
CHAPTER 16: VISUAL STUDIO 2010 373
CHAPTER 17: DEPLOYMENT 407
PART III: FOUNDATION
CHAPTER 18: ASSEMBLIES 431
CHAPTER 19: INSTRUMENTATION 461
CHAPTER 20: THREADS, TASKS, AND SYNCHRONIZATION 491
CHAPTER 21: SECURITY 545
CHAPTER 22: LOCALIZATION 569
CHAPTER 23: SYSTEM.TRANSACTIONS 605
CHAPTER 24: NETWORKING 637
CHAPTER 25: WINDOWS SERVICES 667
CHAPTER 26: INTEROP 695
CHAPTER 27: CORE XAML 727
CHAPTER 28: MANAGED EXTENSIBILITY FRAMEWORK 747
CHAPTER 29: MANIPULATING FILES AND THE REGISTRY 771
PART IV: DATA
CHAPTER 30: CORE ADO.NET 817
CHAPTER 31: ADO.NET ENTITY FRAMEWORK 861
CHAPTER 32: DATA SERVICES 885
CHAPTER 33: MANIPULATING XML 903
CHAPTER 34: .NET PROGRAMMING WITH SQL SERVER 955
PART V: PRESENTATION
CHAPTER 35: CORE WPF 983
CHAPTER 36: BUSINESS APPLICATIONS WITH WPF 1035
CHAPTER 37: CREATING DOCUMENTS WITH WPF 1075
CHAPTER 38: SILVERLIGHT 1095
CHAPTER 39: WINDOWS FORMS 1117
CHAPTER 40: CORE ASP.NET 1149
CHAPTER 41: ASP.NET FEATURES 1185
CHAPTER 42: ASP.NET DYNAMIC DATA AND MVC 1243
CHAPTER 43: WINDOWS COMMUNICATION FOUNDATION 1279
CHAPTER 44: WINDOWS WORKFLOW FOUNDATION 4 1309
CHAPTER 45: PEER-TO-PEER NETWORKING 1339
CHAPTER 46: MESSAGE QUEUING 1357
CHAPTER 47: SYNDICATION 1387
APPENDIX: GUIDELINES FOR WINDOWS 7 AND WINDOWS SERVER 2008 R2 1397
INDEX 1417