Synopses & Reviews
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.
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.
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
This book starts by reviewing the overall architecture of .NET in order to give you the background you need to be able to write managed code. After that, the book is divided into a number of sections that cover both the C# language and its application in a variety of areas.
Part I: The C# Language gives a good grounding in the C# language for experienced programmers. You start by looking at basic syntax and data types. Objects, types, inheritance, generics, arrays, tuples, operators, casts, delegates, lambdas, events, strings, regular expressions, collections, Language Integrated, Query (LINQ), Dynamic Language Extensions, memory management, pointers, reflection, errors, and exceptions are all covered.
Part II: Visual Studio looks at Visual Studio 2010 (the best way to use the tool to build applications based on the .NET Framework 4) and deploying your projects.
Part III: Foundation looks at .NET assemblies, instrumentation, security, threading, tasks, synchronization, localization, System.Transactions, networking, interop, XAML, Managed Extensibility Framework, Manipulating Files and the Registry, transactions, building Windows services, and generating your own libraries as assemblies.
Part IV: Data covers accessing databases with ADO.NET, ADO.NET Entity Framework, data services, support in .NET for XML, and the .NET features of SQL Server 2008.
Part V: Presentation shows how to build applications based on the Windows Presentation Foundation and Silverlight, and covers writing components that will run on web sites. It also has coverage on building Windows Forms applications in as well as ASP.NET and ASP.NET MVC.Part VI: Communication covers services for platform-independent communication using the Windows Communication Foundation (WCF). With Message Queuing, asynchronous disconnected communication is shown. This section looks at utilizing the Windows Workflow Foundation 4, peer to peer networking, and creating syndication feeds.
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.
About the Author
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.
Table of Contents
PART I: THE C# LANGUAGE.
CHAPTER 1: .NET Architecture.
CHAPTER 2: Core C#.
CHAPTER 3: Objects and Types.
CHAPTER 4: Inheritance.
CHAPTER 5: Generics.
CHAPTER 6: Arrays and Tuples.
CHAPTER 7: Operators and Casts.
CHAPTER 8: Delegates, Lambdas, and Events.
CHAPTER 9: Strings and Regular Expressions.
CHAPTER 10: Collections.
CHAPTER 11: Language Integrated Query.
CHAPTER 12: Dynamic Language Extensions.
CHAPTER 13: Memory Management and Pointers.
CHAPTER 14: Refl ection.
CHAPTER 15: Errors and Exceptions.
PART II: VISUAL STUDIO.
CHAPTER 16: Visual Studio 2010.
CHAPTER 17: Deployment.
PART III: FOUNDATION.
CHAPTER 18: Assemblies.
CHAPTER 19: Instrumentation.
CHAPTER 20: Threads, Tasks, and Synchronization.
CHAPTER 21: Security.
CHAPTER 22: Localization.
CHAPTER 23: System.Transactions.
CHAPTER 24: Networking.
CHAPTER 25: Windows Services.
CHAPTER 26: Interop.
CHAPTER 27: Core XAML.
CHAPTER 28: Managed Extensibility Framework.
CHAPTER 29: Manipulating Files and the Registry.
PART IV: DATA.
CHAPTER 30: Core ADO.NET.
CHAPTER 31: ADO.NET Entity Framework.
CHAPTER 32: Data Services.
CHAPTER 33: Manipulating XML.
CHAPTER 34: .NET Programming with SQL Server.
PART V: PRESENTATION.
CHAPTER 35: Core WPF.
CHAPTER 36: Business Applications with WPF.
CHAPTER 37: Creating Documents with WPF.
CHAPTER 38: Silverlight.
CHAPTER 39: Windows Forms.
CHAPTER 40: Core ASP.NET.
CHAPTER 41: ASP.NET Features.
CHAPTER 42: ASP.NET Dynamic Data and MVC.
PART VI: COMMUNICATION.
CHAPTER 43: Windows Communication Foundation.
CHAPTER 44: Windows Workfl ow Foundation 4.
CHAPTER 45: Peer-to-Peer Networking.
CHAPTER 46: Message Queuing.
CHAPTER 47: Syndication.
APPENDIX: Guidelines for Windows 7 and Windows Server 2008 R2.
CHAPTER 48: Graphics with GDI+.
CHAPTER 49: Visual Studio Tools for Office.
CHAPTER 50: Managed Add-In Framework.
CHAPTER 51: Enterprise Services.
CHAPTER 52: Directory Services.
CHAPTER 53: C#, Visual Basic, C++/CLI, and F#.
CHAPTER 54: .NET Remoting.
CHAPTER 55: Web Services with ASP.NET.
CHAPTER 56: LINQ to SQL.
CHAPTER 57: Windows Workfl ow Foundation 3.0.