Deliver to your Kindle or other device


Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.
Pro ASP.NET 4 in C# 2010

Pro ASP.NET 4 in C# 2010 [Kindle Edition]

Matthew MacDonald , Adam Freeman
3.5 out of 5 stars  See all reviews (4 customer reviews)

Kindle Price: £45.59 includes VAT* & free wireless delivery via Amazon Whispernet
* Unlike print books, digital books are subject to VAT.


Amazon Price New from Used from
Kindle Edition £29.47  
Kindle Edition, 30 Jun 2010 £45.59  
Paperback --  
Kindle Daily Deal
Kindle Daily Deal: At least 60% off
Each day we unveil a new book deal at a specially discounted price--for that day only. Learn more about the Kindle Daily Deal or sign up for the Kindle Daily Deal Newsletter to receive free e-mail notifications about each day's deal.

Special Offers and Product Promotions

  • Purchase any Kindle Book sold by and receive £1 credit to try out our Digital Music Store. Here's how (terms and conditions apply)

Customers Who Bought This Item Also Bought

Product Description

Product Description

ASP.NET 4 is the latest version of Microsoft's revolutionary ASP.NET technology. It is the principal standard for creating dynamic web pages on the Windows platform. Pro ASP.NET 4 in C# 2010 raises the bar for high-quality, practical advice on learning and deploying Microsoft's dynamic web solution.

This new edition is updated with everything you need to master the latest version of ASP.NET, including coverage of ASP.NET MVC, ASP.NET AJAX 4, ASP.NET Dynamic Data, and Silverlight 3.

Seasoned .NET professionals Matthew MacDonald and Mario Szpuszta explain how you can get the most from these groundbreaking new technologies. They cover ASP.NET 4 as a whole, illustrating both the brand-new features and the functionality carried over from previous versions of ASP. This book will give you the knowledge you need to code real ASP.NET 4 applications in the best possible style.

What you'll learn

  • Understand why ASP.NET 4 is so special, what its fundamental principles are, the basics of Visual Studio, and how ASP.NET controls are created and how they fit into ASP.NET pages, ultimately creating full applications.
  • Become familiar with ASP.NET MVC, a new feature that is one of the biggest additions to ASP.NET 4, and understand how to use it and integrate it within your existing ASP.NET applications.
  • Discover the intricacies of ADO.NET and how to perform data binding to many sources, from databases to file streams to XML.
  • Learn the various forms of security available and how to best apply them. Once considered the Achilles' heel of all Windows web applications, security has vastly improved and is now a cornerstone of ASP.NET 4.
  • Examine in detail advanced user interface techniques, including user controls, customer server controls, client-side JavaScript, GDI+, and Silverlight 3.
  • Understand how to work with web services, an important skill in an increasingly connected world.
  • Use ASP.NET AJAX 4, with an emphasis on contemporary web development techniques.
  • Perform development using Internet Information Services 7, Microsoft's premier web hosting platform.

About the Apress Pro Series

The Apress Pro series books are practical, professional tutorials to keep you on and moving up the professional ladder.

You have gotten the job, now you need to hone your skills in these tough competitive times. The Apress Pro series expands your skills and expertise in exactly the areas you need. Master the content of a Pro book, and you will always be able to get the job done in a professional development project. Written by experts in their field, Pro series books from Apress give you the hard-won solutions to problems you will face in your professional programming career.

Product details

  • Format: Kindle Edition
  • File Size: 68058 KB
  • Print Length: 1616 pages
  • Publisher: Apress; 4 edition (30 Jun 2010)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • ASIN: B0042JTAPG
  • Text-to-Speech: Enabled
  • X-Ray:
  • Average Customer Review: 3.5 out of 5 stars  See all reviews (4 customer reviews)
  • Amazon Bestsellers Rank: #378,839 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

More About the Authors

Discover books, learn about writers, and more.

Customer Reviews

3.5 out of 5 stars
3.5 out of 5 stars
Most Helpful Customer Reviews
3 of 3 people found the following review helpful
5.0 out of 5 stars The best book for ASP.Net 4.0 4 Dec 2011
I bought this book as a companion to Matthew MacDonald's other work on asp.NET 4.0 `Beginning ASP.NET 4.0 in c# 2010" and I have been more than impressed with both works. The beginners book is as the title implies, for beginners, but the depth of this work makes it a complete reference in itself. However for the developer with some understanding of ASP.NET, the pro version is, in my opinion, the definitive work. I have a book shelf full of ASP.NET books, but this one is the one that always stays on my desk.
As always, Matthew has produced a scholarly work, but has also managed to make it readable as well. I would recommend it to any serious developers as a `must-have'.
Comment | 
Was this review helpful to you?
5.0 out of 5 stars Excellent book on ASP.NET 3 Aug 2013
By Rui
Format:Paperback|Verified Purchase
This one of the best books on ASP.NET 4.0, covering many aspects of .Net 4.0 web programming, focusing a lot more on Web Forms than on MVC. It have several editions of this book and it is as good as a single book on a vast subject can be. It can be used both to learn how to develop Web form web apps and as a reference.

The book is composed of 5 parts. Part I explores core concepts of the .Net platform and .net framework as well as a brief introduction on Visual Studio 2008. Part II introduces data access, especially ADO.NET. I find it to be one of the best books covering ADO.NET It also covers LINQ and how to access XML content, although in a less comprehensive way. Part III deals with building websites, using webforms. Part 4 deals with security and the contents can be leveraged even when developing MVC websites. Part 5 deals with more advanced user interface concepts (using GDI graphics, custom controls, javascript and ajax) and part 6 deals presents, albeit briefly, subjects such as ASP.NET MVC and Dynamic Data.

Overall it's a very good, well written book, excellent regarding web form related contents, that provides a good overview of ASP.NET website developement.
Comment | 
Was this review helpful to you?
9 of 24 people found the following review helpful
3.0 out of 5 stars Constant Flipping 30 Mar 2011
By Mike
Format:Paperback|Verified Purchase
This is the first book I have bought electronically and read on a kindle, I also have the paperback version. In terms of content, I have found the books to be interesting and informative in terms of its content. I will let others comment more on that. My biggest issue with this book is with the coding samples or tables. These have been added to the kindle version as images, so that even if you increase the font size of the text on the kindle the text of the table and coding samples remains the same. And when the text (within the image) is already quite small the only choice you have is to use the 4-way and move the cursor over the image and click the centre button to zoom in on the image. This usually means that the image gets flipped from vertical to horizontal and to then have to flip the kindle on its side to read it. Even then the text is still very small and difficult to read. Why this could not have been implemented as text I don't kmow.
Was this review helpful to you?
1 of 6 people found the following review helpful
1.0 out of 5 stars Ignore the kindle version 20 Nov 2011
Format:Paperback|Verified Purchase
I'm afraid this Kindle version does not work for me. The Index at the book doesn't work, it doesn't redirect you to the pages in the book. The examples seem to be images, and although I can see them OK (I'm using Kindle on the PC) they don't register in the search. I know that there must be a section in the book on DropDownLists, and the search find 22 matches, it's not possible to work out which section of the book I need to read to understand them. And impossible to find an example that uses it.

If you find that you normally use a book by looking in the index, (and that's how professionals will use it) ignore this book.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on (beta) 4.4 out of 5 stars  30 reviews
25 of 29 people found the following review helpful
5.0 out of 5 stars Very complete and detailed - Highly recommended 15 Sep 2010
By Gilbert M. Vanegas - Published on
Book review - "Pro ASP.NET 4 in C# 2010, by Matthew MacDonald, Adam Freeman and Mario Szpuszta. ISBN-13: 978-1-4302-2529-4 - Published by APRESS

Hi all, this is my book review of the new "Pro ASP.NET 4 in C# 2010 book". Since .NET framework 4.0 went into production in June 2010, I was pleased to see that an ASP.NET book targeting the .net framework 4.0 is out for publication. Also, I was pleased to see that the samples deal with C#. I believe that C# will be the dominant language in the .net framework arena for the foreseeable future. As one who programs in both C# and VB.NET, I would have to lean towards C# as the language of choice. We can see this trend also in the fact that most of the latest programming examples out there related to .NET framework are written in C#.
In general, we don't see a whole lot of new features in ASP.NET 4.0, but there are supposed to be improvements in performance and stability in ASP.NET 4.0.
New features worth mentioning include:
* Session state compression for out of process session state service (such as the venerable adStateServer sql server storage for session state)
* ASP.NET MVC - an alternative way (other than classic webforms way) to separate your website logic into three logical parts (Model, View and Controller). This MVC pattern has been around for awhile now, but it is now officially adopted into ASP.NET 4.0. Some people love the MVC model and believe it simplifies while others believe MVC just adds extra effort.
* ASP.NET Dynamic Data - A way of quickly generating data-centric websites that focus on viewing and editing database records. The pages are populated by inferring the schema of the data model (Entity Framework or LINQ to SQL) It is based upon LINQ (language integrated query). The dynamic data model is supposed to also allow more advanced customizations, than you may have seen with this type of "easy, code-generation of database data for maintaining websites" in the past.

As I read through this book, I realized that ASP.NET 4.0 is still based upon technologies that have been around for years now. ASP.NET 4.0 is a very mature and powerful technology. Much of the content of this book covers topics that would be covered in earlier versions of ASP.NET. This is not a criticism at all because the authors of the book meant to give a "complete description and understanding of ALL of ASP.NET" and not just coverage of the new features in ASP.NET 4.0 (of which there are relatively few new features as I previously stated). This book is almost 1600 pages long and has excellent coverage of the diverse topics that fall under the umbrella of ASP.NET.
This book is a complete treatise on ASP.NET topics such as:

* Web forms
* Server Controls
* User Controls
* An explanation of the ASP.NET processing pipeline and how they work including HTTPMODULES.
* An explanation of ASP.NET state management (remember HTTP is a stateless protocol, so ASP.NET has including things like View State, Session State and Application State as an abstraction of state that helps developers build web applications).
* ADO.NET - how to talk to databases with the .net framework - also explaining the use of dataset objects in disconnected architectures
* Explanation of databinding (especially in terms of the objectdatasource/sqldatasource controls)
* How to use data centric server controls (read up on gridview /formview /listview /detailsview) server controls.
* An examination of LINQ (which is a relatively new topic to the .net framework and has to deal with being able to query and iterate through collections of data in a common way using a language known as LINQ (language integrated query)
* How to use caching to solve issues such as increasing website performance and scalability of your web applications.
* How to deal with XML and the many ways of getting at xml (XPATH/LINQ/XSL etc.)
* How to write and use USER Controls which are a way for developers to easily reuse "nuggets" of programming and presentation layer by encapsulating the content into a user control A user control can then be "dragged" onto a page design surface and be used over and over within your website.
* Themes and Master Pages cover the ways that ASP.NET can enable reuse and standardize the "look and feel" of a website.
* Navigational Controls - (recommended readings are about sitemap /menus /multiviews)
* How to manage and deploy websites, whether it be simple xcopy, or use of web deployment packages).
* A very detailed explanation of ASP.NET security, including forms authentication and ssl. What I particularly appreciate about this book is it has very detailed information about the built-in security features that come with ASP.NET (these security features first came out in ASP.NET 2.0). This includes the ASP.NET membership api/forms authentication /role providers /profile providers and how to check principal permissions. There are more than 40 detailed pages on how to build your own custom membership provider which basically extends upon the provider model provided in ASP.NET. In my opinion, out of the box security concepts as provided in the membership/roles/profile providers are one of the most powerful and time-saving measures in ASP.NET. For example, I am building a custom "membership" portal that builds upon the standard forms authentication/membership provider/role and profile provider. This stuff is powerful and gets you up and running very quickly, much more quickly than if you had to roll your own authentication/authorization/user profile programming code. Believe me, I've been there and done that (wrote my own custom security code), but in today's fast paced software developer world, it's nice to be able to piggy back on ASP.NET security because it's powerful, well designed and easy to implement. I think this area is one of my most favorite topics of this book, because it has so much useful information here.
* The book goes on to deal with nice chapters on creating ASP.NET server controls, ASP.NET server controls are a way for programmers to build their own control that can be placed into the visual studio toolbox and used as a software component. Those of you who are familiar with Infragistics/Telerik and Component One know that server controls are powerful ways of allowing programmers to take advantage of nice web control suites to build very nice web interfaces. The companies mentioned above have written their own server controls that are available for programmers use. Microsoft also supplies ASP.NET server controls out of the box (textbox/gridview) etc. In this book, the chapter shows you the API that Microsoft provides so that any programmer can build their own server controls.
* How to deal with graphics and gdi programming as pertains to the ASP.NET world. Things like using pens/brushes as you would see in any type of graphics programming.
* JavaScript and Ajax get good treatment in this book as well, Ajax is an important technology in today's web environment for enabling very rich, responsive web user interfaces.
* Web parts are covered also in this book which is a neat technology, CMS systems such as SharePoint, make heavy use of web parts, so this is a must read for serious ASP.NET developers who also may want to leverage SharePoint and build custom web parts.
* MVC/Silverlight and dynamic data round out the rest of the book. Silverlight is an exciting technology that I expect to really get into in the near future, Silverlight 4 just came out and I want to see if we can build real business applications (LOB) with it. Dynamic data I have high hopes for, I haven't had a chance to play around much with it (Deadlines, deadlines), but I hope to see what dynamic data can do for me, this is one of the newest topics out in ASP.NET 4.0.

WHEW! This book has a LOT of useful information for any ASP.NET developer, even though I own at least 4 other ASP.NET programming books, I would definitely rate this book as a "must-have", it is chock-full of information that developers can use and take advantage of. As a full-time programmer, the more productive you can be, the more versatile and valuable you can be (not to mention, the more income you can generate). I highly recommend this book for those of you who use ASP.NET, it is very complete and the authors did a very commendable job detailing the broad and diverse topic of ASP.NET programming! With this book, you can tell a ton of effort was put into it. Note that there is also a "beginning ASP.NET 4 in C# 2010" book also published by Apress, I haven't had a chance to look at it, but the "pro" book that I am reviewing here certainly qualifies as professional level, because of the depth and breadth of its content!
One thing the book DOES lack, however is a sample website or "final project" that I have seen other ASP.NET books provide. I downloaded the source code for the book and it has samples for every chapter in the book. This book rocks though for sure!!!
With ASP.NET technology, it is a proven platform for building web applications and Microsoft has built something very powerful over the years. ASP.NET (and in general the .net framework) along with the excellent Microsoft Visual Studio programmers IDE is, in my humble opinion the best in class web programming environment out there. You can't go wrong by choosing ASP.NET as your web development platform of choice.
13 of 14 people found the following review helpful
5.0 out of 5 stars Very thorough 2 Aug 2011
By Paul Gehrman - Published on
Format:Paperback|Verified Purchase
At almost 1500 pages, this book covers ASP.NET in great detail. It gives a good overview of just about any topic you can think of in the .NET 4 framework, and the explanations and code examples are clear. You couldn't really ask for much more.

I also appreciated the authors' honesty with respect to the subject of LINQ to Entities. While many authors (and unfortunately a lot of developers) have fawned over this technology (and ORM generally), the authors state with regard to LINQ to Entities: "At worst, this model breaks down the proper division of layers in a carefully structured component-based application, [and] confuses data retrieval with data processing". (Bingo! ORM in a nutshell. This idea that you should essentially model your data twice and largely ignore the primary purpose of your business layer which is to solve problems, not model data).

The authors go on to say: "It's no exaggeration to say that LINQ to Entities gives developers the most powerful tool for shooting themselves in the foot that they've had in a long time. If in doubt, and if you don't need the more powerful LINQ to Entities features, it's best to stick to the more modest approach of simple [what a concept!], straightforward [ORM isn't straightforward?!] ADO.NET commands." While this short passage may not seem that important in the context of a 1500 page book, it is enormously so. The development community has become somewhat smitten with ORM and the OO astronauts have won some battles in the larger war. This is why I appreciate the authors providing such important advice here.
12 of 14 people found the following review helpful
4.0 out of 5 stars Great Book, but beware on Kindle 8 Dec 2010
By K. Pankratz - Published on
Format:Kindle Edition|Verified Purchase
I love the Professional series Apress books, especially those written by MacDonald or Troelsen. But my bookshelves are overflowing and I've had to resort to stacking them on the ground. I took the plunge and bought a Kindle and started getting some of my books in that format. This is where the Apress books faulter. When displaying source code it is provided as an image instead of text which results in the following:
* Book has a MUCH larger file size (10-20MB range)
* Source code is often blurry even after zooming
* Source images are sometimes cropped on the edges resulting in missing brackets or quotes
* You can't cut & paste the text (because it's an image instead)
* It's difficult or impossible to highlight or make notes as I like to do on an important piece or where I dicover an error.

I also purchased some O'Reilly books and at least the ones I have display their source code as text in a different font type so it is still quite usable and in a much smaller file size.

While it is not a show stopper it could be much better and more productive if they left images to diagrams and charts and kept the source code as text. I'm still glad I got the book as it is so informative, it just had more potential in the Kindle format. I'd give the book itself 5 stars, but the Kindle version only 3 stars.
7 of 8 people found the following review helpful
5.0 out of 5 stars Great Resource and great book 5 Sep 2010
By J. Rodriguez - Published on
Format:Paperback|Verified Purchase
I've been getting this same book (Pro ASP.NET X in C#) for years now. This is the third version I have. These books have helped me become a master in this technology. The authors always know what they're talking about and everything is well explained and concise. Both a good book to read and to use as a reference.
4 of 4 people found the following review helpful
5.0 out of 5 stars A BOOK FOR PRO DEVELOPERS 14 Jan 2011
By Jorge A. Maldonado Barrera - Published on
Format:Paperback|Verified Purchase
This is really a book for pro ASP.NET developers, it describes a lot of issues about the subject. Actually, I have only read 5 chapters and I have learned very much compared to other books which teach you how to write an ASP.NET app but do not cover the inner workings. Nevertheless, I reviewed every topic covered in the index and I am sure I bought what I was looking for although patience should be on your side to read about 1500 pages.
I recommend this book to anyone who wants to get an in-depth understanding of such a technology.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Popular Highlights

 (What's this?)
To streamline your view state and keep page sizes small, avoid initializing controls in code. Instead, set the properties in the control tag &quote;
Highlighted by 22 Kindle users
ASP.NET 4 adds a ClientIDMode property that allows you to change the naming behavior for an entire page, a section of a page, or an individual control. &quote;
Highlighted by 18 Kindle users
To use automatic postback, you simply need to set the AutoPostBack property of a web control to true (the default is false, which ensures optimum performance if you don’t need to react to a change event). &quote;
Highlighted by 17 Kindle users

Customer Discussions

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

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

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category