Book Description

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.

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.

Product Description

From the Back Cover

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.

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.

About the Author

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.

I always used to by books from Wrox when I was doing COM and ATL programmming. After the company moved away from COM and C++ the obvious choice was C# .Net. Without any hesitation I chose this book as I was a Wrox press die hard fan. But oh boy I got really dissapointed after reading this book. This book is based on explaining a lot of examples and trying to teach things with examples in most of the cases. It is not for someone who is a professional and wants to get into the C# and .Net world. This book contains a series of syntax errors which are truely far from the standars set by Wrox press books.

It's a very big book with lots of information and, in particular, lots of sample code - which is good.

I've only read a few chapters so far but I'm a little disappointed with a number of omissions. Tuples are given half a page, TextReader/ Writer are not mentioned at all, Serialization is not covered (although XML serialization might be). I've noticed a number of errors so far.

Apart from the first few chapters it doesn't seem to introduce topics - it just assumes that you know the subject, and then only delves into certain aspects.

So, very much a mixed bag, and I'm having to supplement my reading with the (excellent) 'C# in a Nutshell'.

I still recommend it though, but it couldn't be used as a single resource - despite its size.

I've been developing continually in .net since release 1.0 back in early 2002 (in VB.net initially), and have been using C#.net since 2005, so I was already pretty familiar with the various releases of the framework, and with C#. This comprehensive book still managed to teach me things I didn't previously know. The simple and logical layout, with both brief and detailed chapter listings, also made it easy to identify and skip to the sections covering those parts of the language that I needed to brush up on. Wrox books, written as they are by real-world developers for other real-world developers, are ordinarily good, and I've got quite a collection of them at home, including ones that had been written for previous releases of C#. This book is a cut above the usual, though, even within that high calibre field. There isn't much to know that isn't in here. I highly recommended it, for brand new and experienced developers alike.

Excellent book and fairly complete with a nice and easy to read format. I bought this mainly as a reference so its contents we're well suited for this purpose as well as general learning. I did find the text somewhat small but it does cram a lot of information in one place which I like.

Unfortunately not all the chapters are in the hard copy, some of the other more advance topics are available online only.

Highly recommended, but there is a newer edition out with more update to date chapters.

Very broad coverage of using C# in with .net 4. Coverage of new features like MEF, the new features of XAML and WPF and a good section on visual studio 2010. So far I have not found anything I need to find out more about that is not in the book. Definately worth the money.