Professional C# 4.0 and .NET 4

Front Cover
John Wiley & Sons, Mar 8, 2010 - Computers - 1474 pages
"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: This section gives a good grounding in the C# language itself. This section doesn t presume knowledge of any particular language, although it does assume you are an experienced programmer. You start by looking at C's basic syntax and data types, and then explore the object-oriented features of C# before moving on to look at more advanced C# programming topics. 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 exception are all covered in part 1." "Part II: Visual Studio: This section looks at the main IDE utilized by C# developers worldwide: Visual Studio 2010. The two chapters in this section look at the best way to use the tool to build applications based on the .NET Framework 4. In addition, this section also focuses on the deployment of your projects." "Part III: Foundation: In this section, you look at the principles of programming in the .NET environment. In particular, you look at assemblies, instrumentation, security, threading, tasks, synchronization, localization, System.Transactions, networking, interop, XAML, Managed Extensibility Framework, Manipulating Files and the Registry, transactions, how to build Windows services, and how to generate your own libraries as assemblies, among other topics." "Part IV: Data: Here, you look at accessing databases with ADO.NET, ADO.NET Entity Framework, data services. This part also extensively covers support in .NET for XML and on the Windows operating system side, and the .NET features of SQL Server 2008." "Part V: Presentation: This section shows how to build applications based upon the Windows Presentation Foundation and Silverlight, and covers writing components that will run on web sites, serving up web pages. It also has coverage on building classic Windows applications, which are called Windows Forms in .NET. Windows Forms are the thick-client version of applications, and using .NET to build these types of applications is a quick and easy way of accomplishing this task. Finally, it includes coverage of the tremendous number of features that ASP.NET, ASP.NET MVC, and ASP.Net Dynamic Data provide." "Part VI: Communication: This section is all about communication. It 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, as well as peer to peer networking, and creating syndication feeds." "The book closes with an appendix covering Windows 7 and Windows Server 2008 R2 development." "Online Chapters: Even with such a large book, we can't fit in everything we'd like to tell you about C# and using this language with other .NET technologies, so we've made ten additional chapters available online at wrox.com. These chapters include information on a variety of topics: GDI+, which is a technology that is used for building applications that include advanced graphics; .Visual Studio Tools for Office (VSTO); NET Remoting for communication between .NET clients and servers; Enterprise Services for the services in the background; web services with ASP.NET, LINQ to SQL, Windows Workflow Foundation 3.0, and the Managed Add-In Framework (MAF). It also includes examples showing .NET 4 in others supported languages including Visual Basic, C++/CLI, and F#." --Book Jacket.

From inside the book

Contents

NETWORKING
637
INTEROP
695
CORE XAML
727
MANAGED EXTENSIBILITY FRAMEWORK
747
MANIPULATING FILES AND THE REGISTRY
771
Reading and Writing to Files
784
DATA
815
Core ADO NET
817

CHAPTER
9
CHAPTER
10
CHAPTER
11
CHAPTER
12
CHAPTER
13
CHAPTER
14
CHAPTER
15
NET Architecture
16
Core C
23
Objects and Types
65
Inheritance
89
Generics
107
Arrays and Tuples
129
Operators and Casts
151
Delegates Lambdas and Events
183
Strings and Regular Expressions
207
Collections
225
Language Integrated Query
267
Dynamic Language Extensions
295
Memory Management and Pointers
307
Summary
332
Reflection
333
Summary
349
Errors and Exceptions
351
VISUAL STUDIO
371
CHAPTER
373
Deployment
407
FOUNDATION CHAPTER 18 Assemblies
429
Continues
454
Code Contracts
461
Summary
489
SECURITY
545
LOCALIZATION
569
SYSTEM TRANSACTIONS
605
XXX
838
ADO NET Entity Framework
861
Data Services
885
Manipulating XML
903
NET Programming with SQL Server
955
PRESENTATION CHAPTER 35 Core WPF
981
XXXVI
1008
Summary
1033
Christian Nagel Bill Evjen Jay Glynn Karli Watson Morgan Skinner
1045
Summary
1073
SILVERLIGHT
1095
ADO NET and Data Binding
1169
ASP NET FEATURES
1185
ASP NET DYNAMIC DATA AND MVC
1243
COMMUNICATION
1277
Windows Communication Foundation
1279
Windows Workflow Foundation 4
1309
PeertoPeer Networking
1339
Message Queuing
1357
Syndication
1387
GUIDELINES FOR WINDOWS 7
1397
INDEX
1417
Summary OC48
48
MANAGED ADDIN FRAMEWORK OC77
77
ENTERPRISE SERVICES OC97
97
DIRECTORY SERVICES OC123
124
Account Management OC149
149
C VISUAL BASIC C++CLI AND F OC157
158
NET REMOTING OC191
191
WEB SERVICES WITH ASP NET OC233
192
LINQ TO SQL OC255
256
WINDOWS WORKFLOW FOUNDATION 3 0 OC279
280
Copyright

Other editions - View all

Common terms and phrases

About the author (2010)

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.

Bibliographic information