| | |  | Data Recovery | Home » » Pro C# 2010 and the .NET 4 Platform | | | | | | | Description: | | The first edition of this book was released at the 2001 Tech-Ed conference in Atlanta, Georgia. At that time, the .NET platform was still a beta product, and in many ways, so was this book. This is not to say that the early editions of this text did not have merit—after all, the book was a 2002 Jolt Award finalist and it won the 2003 Referenceware Excellence Award. However, over the years that author Andrew Troelsen spent working with the common language runtime (CLR), he gained a much deeper understanding of the .NET platform and the subtleties of the C# programming language, and he feels that this fifth edition of the book is as close to a “final release” as he’s come yet. This new edition has been comprehensively revised and rewritten to make it accurately reflect the C# 4 language specification for the .NET 4 platform. You’ll find new chapters covering the important concepts of dynamic lookups, named and optional arguments, Parallel LINQ (PLINQ), improved COM interop, and variance for generics. If you’re checking out this book for the first time, do understand that it's targeted at experienced software professionals and/or graduate students of computer science (so don't expect three chapters on iteration or decision constructs!). The mission of this text is to provide you with a rock-solid foundation in the C# programming language and the core aspects of the .NET platform (assemblies, remoting, Windows Forms, Web Forms, ADO.NET, XML web services, etc.). Once you digest the information presented in these 25 chapters, you’ll be in a perfect position to apply this knowledge to your specific programming assignments, and you’ll be well equipped to explore the .NET universe on your own terms. What you’ll learn - Be the first to understand the .NET 4 platform and Visual C# 2010.
- Discover the ins and outs of the leading .NET technology.
- Learn from an award-winning author who has been teaching the .NET world since version 1.0.
- Find complete coverage of the WPF, WCF, and WF foundations that support the core .NET platform.
Who this book is for This book is for anyone with some software development experience who is interested in the new .NET Framework 4 and the C# language. Whether you are moving to .NET for the first time or are already writing applications on .NET 2.0 or .NET 3.5, this book will provide you with a comprehensive grounding in the new technology and serve as a complete reference throughout your coding career. Table of Contents - The Philosophy of NET
- Building C# Applications
- Core C# Programming Constructs, Part I
- Core C# Programming Constructs, Part II
- Defining Encapsulated Class Types
- Understanding Inheritance and Polymorphism
- Understanding Structured Exception Handling
- Understanding Object Lifetime
- Working with Interfaces
- Understanding Generics
- Delegates, Events, and Lambdas
- Advanced C# Language Features
- LINQ to Objects
- Configuring NET Assemblies
- Type Reflection, Late Binding, and Attribute-Based Prog
- Processes, AppDomains, and Object Contexts
- Understanding CIL and the Role of Dynamic Assemblies
- Dynamic Types and the Dynamic Language Runtime
- Multithreaded and Parallel Programming
- File I/O and Object Serialization
- ADO.NET Part I: The Connected Layer
- ADO.NET Part II: The Disconnected Layer
- ADO.NET Part III: The Entity Framework
- Introducing LINQ to XML
- Introducing Windows Communication Foundation
- Introducing Windows Workflow Foundation 40
- Introducing Windows Presentation Foundation and XAML
- Programming with WPF Controls
- WPF Graphics Rendering Services
- WPF Resources, Animations, and Styles
- WPF Control Templates and UserControls
- Building ASP.NET Web Pages
- ASP.NET Web Controls, Master Pages and Theme
- ASP.NET State Management Techniques
| | | Product Details: | | | Author:
| Andrew Troelsen | | Paperback:
| 1752 pages | | Publisher:
| Apress | | Publication Date:
| May 14, 2010 | | Language:
| English | | ISBN:
| 1430225491 | | Product Length:
| 9.2 inches | | Product Width:
| 7.4 inches | | Product Height:
| 2.6 inches | | Product Weight:
| 5.65 pounds | | Package Length:
| 9.2 inches | | Package Width:
| 7.5 inches | | Package Height:
| 2.6 inches | | Package Weight:
| 5.8 pounds | | Average Customer Rating:
| based on 52 reviews |
| | | | Customer Reviews: | |
Average Customer Review:
( 52 customer reviews )
Write an online review and share your thoughts with other customers.
Most Helpful Customer Reviews
64 of 66 found the following review helpful:
Learning .NET? Start Here!Jun 04, 2010
By Philip F. Japikse As a speaker and a User Group leader, I often get asked "Where do I start learning .NET?". My answer is always "Start with the Troelsen book from Apress". This has been true for previous versions of the framework, and after reading the latest edition covering .NET 4, it still holds true.
Andrew takes you on the path that covers what the line of business software developer needs to know about the capabilities of .NET. The book begins with pertinent background information on the evolution of .NET, the Common Type System (CTS), the Common Language Runtime (CLR), and tools like ILDASM and Red-Gate's Reflector. Although not the most exiting reading if you are eager to start writing code, it is important for .NET developers to understand these concepts and tools.
Chapter 2 discusses the various tools (including Notepad++) that can be used to develop in C#. The majority of the readers will be using Visual Studio, but it's good to know (and call out) that you do not have to purchase anything to write C# applications!
Parts 2 and 3 take a deep dive into the C# language itself and along the way explains the pillars of Object Oriented Programming (OOP) and how to implement them in C# and .NET. This is extremely useful to the reader who does not have OOP experience, but is also useful to those coming from another OO language to learn the specifics in C#.
Andrew does a great job explaining the more advanced topics like Generics, Lambdas, Language Integrated Query (LINQ), Multi-Threading, and (recent additions to the framework) the Dynamic Language Runtime and Parallel Programming.
A chapter on Windows Workflow Foundation and Windows Communication Foundation provide a nice intro to those topics, three chapters on ADO.NET (including the new release of the Entity Framework), and whole sections devoted to Windows Presentation Foundation (used for Windows development) and ASP.NET (used web application development) are the core pieces required for standard line of business development.
I have two disappointments with the book, the first is that the ADO.NET chapters include samples for binding data to Windows Forms (WinForms) and not Windows Presentation Foundation. I firmly believe the future of Windows Client development is WPF (not WinForms), and Andrew echoes this by focusing on WPF in the rest of the text. In fact, WinForms is relegated to an Appendix.
My other disappointment is that the new ASP.NET MVC framework isn't discussed as an alternative to ASP.NET WebForms. There are plenty of books out there on MVC, but what I have really liked about these books is that they have presented all of the relevant options and left it up to the reader to decide which direction.
In summary, this book is massive (weighing in at over 1500 pages), and is still the single place to start learning .NET and C#. I have always used his books on the language to learn all the options available as a developer (and get a decent understanding of those topics), then picked up books that do a deep dive into the specifics (like Matthew McDonald's Pro WPF in C# 2010: Windows Presentation Foundation in .NET 4).
24 of 25 found the following review helpful:
The Bible of C# and .NET 4.0Jun 02, 2010
By Frank Stepanski Wow, this book is over 1500 pages and practically covers every possible topic that is covered in the online MSDN, but only 10x better.
There arent many books that can be the "only" .NET book in your library, except this one. Every existing and new topic that is in the newest version of .NET 4.0 is covered.
This 5th edition continues this trend and it is obvious that a huge amount of work went into keeping this book up to date. Where advances in the framework or language allow. Many aspects of the latest language editions are given enough coverage as to be useful without overbearing the overall time. In addition the author provides a good explanation as to the background for some of the new language features
Troelsen covers just about everything you'd want to see in a book of this type, going into as much detail as he can on just about everything (he does gloss over some of the deprecated features, so those maintaining or porting legacy software may want to keep a copy of one of the older editions on hand as well). His chapters on the newer technologies to be found in .NET 4.0, such as Windows Presentation Foundation and Windows Communication Foundation, are especially impressive (and welcome), and are worth the price of admission alone.
I guarantee that if you read this book all the way through and take your time to understand its content (which is totally painless) you will have a quality foundation. It's true you can buy other books with more indepth content but these books will simply be more specialized and so cover a narrower subject framework.
The author gives a presentation of C# and then moves on to describing the features of the .NET framework from ADO.NET to ASP.NET.
ASP.NET and ADO.NET are given several strong chapters (including an excellent introduction to LINQ), and WCF and WF each get a good introductory chapter; WPF gets good (but admittedly not-comprehensive) coverage starting at XAML, proceeding to working with WPF Controls and ending at 2D graphics, resources and themes. Of course, Pro C# 2010 really shines in presenting the new C# .NET 4.0 additions, why they are there, and when to use them.
This is as close to a "bible" version of .NET as you can get. Buy it and you wont be dissapointed.
12 of 12 found the following review helpful:
Good C# programming - has advanced contentDec 14, 2010
By Gilbert M. Vanegas
"Computer Programmer Analyst"
Book review - "Pro C# 2010 and the .NET 4 Platform", by Andrew Troelsen ISBN: 978-1-4302-2549-2 - Published 2010 by Apress
Hello, this is my book review for "Pro C# 2010 and the .NET 4 Platform.
Over the years, I have programmed in a wide variety of languages including C, C++,C#, VB.NET, Visual Basic, Java, Cobol, Pascal, Assembler etc.. For those of us programmers who use Microsoft .NET framework, it has been increasingly apparent to me that C# is positioned to be the dominant language in the .NET framework, at least for the foreseeable future. With that in mind, I think C# is the way to go at this point of time, if you program with Microsoft .NET framework technologies. This is readily apparent because most of the latest documentation and samples I have seen are written in C#, In some cases, you will see both languages (C# and VB.NET) with samples provided, but if only one language sample is provided, usually it is in C#.
I have always believed that computer programming is not "memorizing language syntax", because new languages and compilers are always on the horizon. It is more important to understand computer programming principles like object oriented programming and design, how variable scoping works, deployment issues etc., how to effectively analyze, test and debug solutions to given problems, algorithms etc... In general, knowing all the features of a given framework (whether it be .net framework, PHP or java based or what have you) is most important, because then you know about the feature and can implement a solution to solve your problem).
That being said, it is always important to read programming language documentation so you can get a solid understanding of the available features of a given language. This is where a book like "Pro C# 2010 and the .NET 4 platform" becomes invaluable.
This book is jam-packed full of information and totals about 1,700 pages!
The 1st part of the book deals with specific details about C# and shows concise, to the point examples of what the author is describing in the C# programming language. From the basics such as data types, variable scoping, iterators, language syntax, methods, constructors, the use of the static keyword to object oriented concepts (inheritance, polymorphism, encapsulation). C# topics related to the .net framework such as garbage collection, exception handling, interfaces, generics, delegates, lambda expressions, events, anonymous methods,operator overloading are covered later on in the book as well. There are well over 500 pages that go into great detail about the programming language features built into C#. After that nice detailed look at the C# programming language, we get into more .net specific ideas that are necessary for the programmer to effectively make use of C# along with .NET FRAMEWORK version 4.0.
Concepts like .net assemblies (compiled units of work, similar in concept to a DLL, but with some major differences) and more advanced topics related to .net assemblies are detailed in its own chapter.
Reflection is covered also, which is a way of determining the attributes (including method names etc.) of your programming code at runtime.
.NET framework concepts such as the CLR (common language runtime, threading, parallel programming, asynchronous calls) are also covered in a nice level of detail.
Later sections of the book go into more specific ways of how to solve common programming problems with the C# language. For example, how to deal with I/O (streams, serialization) , how to connect to databases with ADO.NET, using newer technologies such as LINQ (language integrated query, a way of querying collections of data in a standard language constructs).
It then goes on to deal with WCF (soa architecture concepts), WF (windows workflow foundation), WPF (rich user desktop interfaces (check out the Zune software, which is WPF)).
Later chapters deal with the venerable ASP.NET platform, which is widely used for building websites such as e-commerce sites or business websites.
CONCLUSION: I do like this book immensely, it is a great addition to any programmers library, what I most like about the book is its treatment of the C# language itself, which is mostly what I was after in this book, I wanted to read more about all the nuts and bolts of the C# language, which evolves as each new version of the .net framework is released to production. While I have studied many C# programming books in the past, this is the first one I have gotten that deals with the new .net framework 4.0 (released around June 2010 timeframe). This could easily be a textbook in a C#/object oriented programming class, which is a compliment to its versatility and level of detail. No book can cover all the topics completely, for example, while the coverage of asp.net is quite extensive, I have read asp.net books that cover well into 1,000 pages alone. It does a good job like I said with those wanting to just become more proficient at learning the C# programming language in general.
One notable omission is the lack of much content about Silverlight, which is related to WPF, but more targeted to web based interfaces. I thought, why all this stuff about WPF, without hardly any content about Silverlight? However, with the book 1,700 pages + long, I can certainly understand that not everything under the sun is covered. Really, the title of the book is "Pro C# 2010 and the .NET 4 Platform" and it does cover just about everything about C# and using .NET FRAMEWORK 4.0, that an advanced programmer would need to know.
I do recommend this book and respect the enormous amount of work and time that the author put into creating it.
15 of 17 found the following review helpful:
Everything you need to know about .NET 4Jun 28, 2010
By P. Margolin This is an excellent book to use to learn all the features of C# 4.0. Beginners will find easy to understand descriptions of various topics and more experienced readers can use at as an excellent reference. Even advanced programmers have a lot to learn because of all the new .NET 4.0 and C# 4.0 features.
The book starts out by explaining the philosophy of .NET and how it is structured. Then it gives a brief overview of how to use Visual Studio 2010 and some of the new features of the IDE. It then covers an introduction to C# including types and programming constructs, exception handling, object oriented programming, generics and the lifetime of a .NET object. Next there are a few chapters which cover some of the advanced features of C# such as anonymous types, extension methods, pointer types, LINQ, lambdas, reflection, and also working with assemblies, processes and app domains. There is also an entire chapter on the new dynamic language runtime feature of .NET 4 which allows developers to easily call out to code written in dynamic languages on the .NET platform and also COM interop code.
A very important section is the introduction to Task Parallel Library (TPL) and multithreaded programming. TPL is a very good library which abstracts away a lot of the complexity of building multithreaded programs and makes a developers' job a lot easier. As hardware manufacturers add more and more cores to the processor, the only way to speed up your programs is to make them multithreaded.
This book contains three chapters on ADO.NET including how to connect to databases, querying databases and also working with the Entity framework. Another important and useful chapter is on the Windows Communication Foundation, which is used for building connected and service oriented applications.
There are also two parts on building user facing applications. One covers WPF (five chapters) and desktop development and another covers building web sites with ASP.NET. I've personally been using WPF for over a year and I think it is far superior to Windows Forms. WPF is growing in popularity and even the Windows Forms topic has been pushed into the appendix in this book.
What I really like about this book is that it covers pretty much every topic on .NET 4 and you can find any tool you need to build your applications. Therefore it makes an excellent reference book for when you need to lookup how to use some specific API. The only downside is that it can't cover everything in depth, but you can always find resources for some particular API.
11 of 13 found the following review helpful:
Decent book, but full of typos, 2010 edition worst than 2008Jan 17, 2011
By coffee_fan I like the treatment this book has on several topics. It has good depth, no gripe there. What this book is lacking is some serious editorial work. For one, it is full of repetitive conjugation errors like using past participles in place of present tense. These errors were present in the 2008 version of the book and are still present in the 2010 version. Seems like nobody gave it the TLC needed to clean this out and rather relied on an automated system which repeats the same errors over and over.
Additionally, on the chapters I read, often the examples, although interesting, couldn't be followed exactly to get something going, because nobody took the time to make sure they worked. In fact in an example that did not make sense I had to go to the 2008 edition to understand how things were working, because somebody decided to arbitrarily chop the example in the 2010 edition.
In summary, this book although good, requires much more attention from the reader to get something out of it than other C# books like the Albahari ones.
See all 52 customer reviews on Amazon.com
| | |
|