Professional C# 4.0 and .NET 4 and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Kindle Edition
 
   
Sell Back Your Copy
For a $11.10 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Professional C# 4.0 and .NET 4 (Wrox Programmer to Programmer)
 
 
Start reading Professional C# 4.0 and .NET 4 on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Professional C# 4.0 and .NET 4 (Wrox Programmer to Programmer) [Paperback]

Christian Nagel (Author), Bill Evjen (Author), Jay Glynn (Author), Karli Watson (Author), Morgan Skinner (Author)
3.6 out of 5 stars  See all reviews (14 customer reviews)

List Price: $59.99
Price: $36.51 & this item ships for FREE with Super Saver Shipping. Details
You Save: $23.48 (39%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 3 left in stock--order soon (more on the way).
Want it delivered Friday, February 3? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $21.59  
Paperback $36.51  
Sell Back Your Copy for $11.10
Whether you buy it used on Amazon for $21.99 or somewhere else, you can sell it back through our Book Trade-In Program at the current price of $11.10.
Used Price$21.99
Trade-in Price$11.10
Price after
Trade-in
$10.89

Book Description

0470502258 978-0470502259 March 8, 2010 1
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#.

Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.


Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Professional C# 4.0 and .NET 4 (Wrox Programmer to Programmer) + Professional Visual Studio 2010 (Wrox Programmer to Programmer) + Beginning Visual C# 2010 (Wrox Programmer to Programmer)
Price For All Three: $93.28

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Professional Visual Studio 2010 (Wrox Programmer to Programmer) $30.42

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Beginning Visual C# 2010 (Wrox Programmer to Programmer) $26.35

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

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.

  • 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.

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.

Morgan Skinner works in premier support for developers at Microsoft.


Product Details

  • Paperback: 1536 pages
  • Publisher: Wrox; 1 edition (March 8, 2010)
  • Language: English
  • ISBN-10: 0470502258
  • ISBN-13: 978-0470502259
  • Product Dimensions: 9.2 x 7.4 x 1.9 inches
  • Shipping Weight: 4.5 pounds (View shipping rates and policies)
  • Average Customer Review: 3.6 out of 5 stars  See all reviews (14 customer reviews)
  • Amazon Best Sellers Rank: #129,208 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

14 Reviews
5 star:
 (6)
4 star:
 (3)
3 star:
 (1)
2 star:
 (2)
1 star:
 (2)
 
 
 
 
 
Average Customer Review
3.6 out of 5 stars (14 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

25 of 27 people found the following review helpful:
5.0 out of 5 stars One stop shopping for the new C# and .NET versions 4.0, March 30, 2010
Amazon Verified Purchase(What's this?)
This review is from: Professional C# 4.0 and .NET 4 (Wrox Programmer to Programmer) (Paperback)
C# and .NET are reintroduced in this one book for the 2010 audience of programmers. The two subjects are wedded in the text to form one complete reference. I have just finished reading this book and I can tell you that it will take another two readings to fully absorb the contents because of the numerous details. At just over 1400 pages, this is a compendium of the two programming areas that has enormous scope. I am impressed that the authors and the publisher were able to complete this project before the release of the two in April. Operations specific to the .NET v4 release are noted in the text.

I found the information in this book to be comprehensive and detailed in many ways. With 47 chapters and an appendix this book is going to be the cornerstone of my .NET computing from this time on. My previous references are getting dated and don't give me enough information to pass the employment interviews. This book and one other are going to be my entire reference library for C# programming in general.

I found the information to be very well written to the point that even after six years of using C# it increased my knowledge and understanding of this wonderful new computer language. I have over a dozen books on .NET and C# in my library and this is the best written of them all. For this reason I am giving it 5 stars. I believe that this is the best introduction to these two subject areas

Of course, if you want to work in depth on one of the chapters covered in this book, another reference that expands on the material will be required.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


7 of 7 people found the following review helpful:
4.0 out of 5 stars The latest in .NET 4, June 28, 2010
By 
Michelle Marcus (St. Louis, MO United States) - See all my reviews
(REAL NAME)   
This review is from: Professional C# 4.0 and .NET 4 (Wrox Programmer to Programmer) (Paperback)
First, let me disclose that I got a free version of this book in order for me to review it.

I think other reviewers were correct that this book covers a great deal of topics but it does not go too deep. But if you only buy one book a year, this will touch a little bit of everything you might need.

I was most looking forward to the very first part of the book, "The C# Language" because I really wanted to know what had changed from the previous version. Unfortunately, the latest changes and additions are not really separated into their own chapters and instead, you are given an entire overview of the language. If nothing else, I always find it beneficial to review important concepts that I may have forgotten about.

I also was excited to see a couple of chapters about Visual Studio 2010 and Deployment, but again, there is not much depth.

On a positive note, the book does cover quite a bit of new topics that I at least wanted to have some knowledge about such as Managed Extensibility Framework, XAML, WPF, Silverlight, WCF, and Workflow Foundation 4. Since I may not be working with these technologies any time soon, an overview chapter is suffice.

And you can never go wrong with a ton of downloadable code examples.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


9 of 10 people found the following review helpful:
4.0 out of 5 stars A comprehensive reference manual, July 14, 2010
This review is from: Professional C# 4.0 and .NET 4 (Wrox Programmer to Programmer) (Paperback)
When Microsoft decided to step into the managed code arena in 2002, many people were skeptical. It seemed that Microsoft was addressing their inability to gain a foothold in the Java world by attempting to replace Java with their own version of a managed code language.

Over the next eight years, skepticism has died down as Microsoft has remained committed to supporting C#, managed code, and the .Net framework, and in the course of that support has released several versions of both the framework and the language, with each major release supporting exciting new features like generics, LINQ, and, in the .Net Framework Version 4, dynamic typing.

With each version, Christian Nagel and his coauthors have released a massive tome describing as many aspects of the framework and the language as they can fit in. The latest release, coming in at more than 1400 pages, is a comprehensive look at all the major aspects of C# and the .Net Framework, and many of the minor aspects as well. Wrox was kind enough to send me a copy of the book to review.

The book is divided into six parts. The first covers the basic aspects of C#, and the second covers Visual Studio. Then, the four remaining sections cover the majority of the .Net framework, the managed code assemblies that handle, for the Windows platform, almost any low-level task a developer would need to perform. The final four parts are: Part 3, fundamental objects; part 4, data access; part 5, GUI's; and part 6, communication. Experts will note immediately that the later sections cover both the "older" and "newer" styles of coding, e.g., part 5 discusses Windows Forms as well as Silverlight and Asp.Net MVC, while part 6 covers the Windows Communication Foundation.

Developers who want a quick overview of what's new in version 4.0 of the framework should probably look elsewhere. A couple of pages in the introduction cover the new features, but through the rest of the book, new features are not clearly denoted in any way. This book is definitely a reference to the entire framework, not a tutorial on using the C# 4 new features.

Chapter 1 is titled ".Net Architecture". It gives an overview of exactly what Microsoft is trying to accomplish with the framework, and goes into the mechanisms of translating a C# program into running code by means of the Common Language Runtime (CLR), Intermediate Language (IL), and the Just-In-Time Compiler (Jitter). Important features of IL that are commonly found in higher-level languages are covered, such as objects and interfaces, garbage collection, and exceptions. An overview of different types of programs that can be created with the .Net framework is given.

Chapter 2, then, starts the discussion of C#. Creating a "Hello, World" program is the initial demonstration, and the authors show how to do this using a text editor and a command-line compiler. Then the basics of creating programs are covered - loops, conditionals, and using statements. A list of every C# reserved keyword is given. Chapter 3 covers classes and structures, with constructors, member functions, and statics, and the base Object class that all other classes derive from. This leads directly into inheritance and interfaces in chapter 4, along with public, private, and internal modifiers,

Rolling along in C#, Chapter 5 covers generics, the ability to create methods and classes that work on any type of object. Two new C# features are introduced and explained: covariance and contravariance. Chapter 6 covers arrays, with some discussion of the building blocks that lead to the power of LINQ, including the IEnumerable interface, and the "foreach" and "yield" keywords. Chapter 7 covers operators, including the casting operators "is" and "as", nullable objects,and boxing, a bit of complexity for converting between value objects and reference objects. Quite a bit of attention is given to operator overloading and user-defined casts, not necessarily the most useful features of the language.

Chapter 8 begins coverage of some of the more functionally-oriented aspects of C#, such as delegates and lambda expressions, but chapters 9 and 10 return to fundamentals: strings, queues, bit vectors, and regular expressions. Chapter 11 finally introduces LINQ, and a new feature, Parallel LINQ, which provides developers with the ability to use multiple threads when processing a loop.

Chapter 12 is also on a new feature, the "dynamic" type. Dynamics are types that bypass standard compile-time checking, so you can call methods and set properties on them that are not defined in the type. The authors actually show the IL that is generated when you use a dynamic type.

Chapter 13 discusses memory management. In most cases, this topic does not come up as an issue as the C# garbage collector handles everything automatically. However, issues arise often enough that careful study of this chapter is a useful exercise for any developer with a serious interest in the .Net framework. The stack and heap are covered, along with finalizers and the IDisposable interface, and also techniques for direct access of memory (which is highly discouraged in just about all cases).

Chapter 14 covers reflection, the ability to examine the structure of an object at runtime, and chapter 15 is on exception handling. This concludes the basic discussion of C#.

Chapters 16 and 17 are on Visual Studio. A few of the different project type options are discussed, and a few of the options, but certainly Visual Studio is complex and powerful enough to deserve its own book, so only the very basics are covered here. Building an application, debugging, and configuration are discussed, along with deployment options.

Part 3 of the book is titled "Foundation", but it's really a mishmash of several topics of specialized interest. Most applications will require usage of one or more of these items at some point, so developers will need to know of their usage, but one could easily write a game of Tetris without reading any of these chapters. Topics covered include assemblies (global registration and versioning), logging (tracing and performance monitoring), security, localization, interacting with COM and native API's, and file and registry reading and writing.

One chapter is devoted to threads, which have had quite a bit of work done on them. The new Task library is covered, as well as parallel looping, and a new framework for cancelling long-running tasks. Also, Code Contracts are covered as part of the logging and diagnostics chapter.

A chapter on networking is included, and in 2010 every programmer should know how to request a file from the web in some language or other. This information is covered, along with techniques for embedding web pages into applications, and direct socket programming. These concepts are less globally useful, but the chapter on Windows Services is interesting.

Two chapters are devoted to rather unique aspects of the .Net framework: XAML, and MEF. XAML, an XML-based language that is generally used for display markup, has undergone quite a few enhancements for .Net 4, and this chapter is unusually clear in explaining which features are new to this version. MEF, the Managed Extensibility Framework, is a mechanism for writing application plugins.

Part 4 is about data. One chapter is devoted to ADO.Net, which can be comfortably skipped except by die-hards, because another chapter is devoted to the Entity Framework, Microsoft's entry into the object-relational mapping arena. Many developers may already be using another ORM such as NHibernate, but EF offers many nice abstractions over ADO.Net, so it is a more than plausible choice for an ORM. Other chapters cover XML manipulation, creating data webservices using the WCF framework, and coding in C# for SQL Server.

In part 5, all the building blocks come together to actually display things on the screen. While the choices for display really come down to either a standalone application or a browser, every technology Microsoft has developed for display is here. For developing a new application, the important things to know are: basic WPF and the XAML layout required to display things like textures and animations; data display and validation; Silverlight, Microsoft's strategy for displaying rich interactions in a browser; and Asp.Net MVC, basic HTTP request routing. These subjects are covered in chapters 35, 36, 38, and 42. The other chapters have some useful information, such as creating documents for screen display and printing, Ajax, and master pages, but for the most part they can be skipped over. They cover almost every technology that Microsoft has ever developed for presentation, and are really only presented for completeness.

Part 6 is on communication. A good overview of WCF is given, but this might be the only important chapter in the section. Other chapters cover Windows Workflow Foundation, which is an interesting technology but not one with proven value; some classes designed to work with P2P applications, RSS feeds, and message queuing.

Overall, this book has a spectacular amount of reference material. On top of the nearly 1500 pages of text and examples, there are several chapters available online for items the authors thought were important but didn't make it into the book. However, the authors have not made it simple to determine which topics are important or new, and which can be safely relegated to someday. It's easy to jump into the book and find yourself struggling to understand concepts like user-defined casting or ADO.Net, which many developers neither need nor want to understand. Yet, these are given equal billing with truly important and useful techniques... Read more ›
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Back Cover | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(7)
(2)
(1)
(1)
(1)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject