Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your email address or mobile phone number.

ASP.NET MVC 1.0 Test Driven Development: Problem - Design - Solution (Wrox Programmer to Programmer) 1st Edition

3.3 out of 5 stars 9 customer reviews
ISBN-13: 978-0470447628
ISBN-10: 0470447621
Why is ISBN important?
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon
Buy used On clicking this link, a new layer will be open
$9.96 On clicking this link, a new layer will be open
Buy new On clicking this link, a new layer will be open
$49.99 On clicking this link, a new layer will be open
More Buying Choices
10 New from $4.98 15 Used from $3.21
Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

$49.99 FREE Shipping. Only 1 left in stock. Ships from and sold by Amazon.com. Gift-wrap available.
click to open popover

Editorial Reviews

From the Back Cover

ASP.NET MVC offers you control over generated HTML and scripts, clean and user-friendly URLs, and clean separation between your UI and code. While traditional ASP.NET Web Forms are beneficial for rapid web development, they are not test-friendly. Thankfully, Test Driven Development (TDD) and ASP.NET MVC provide you with a reliable methodology that decreases the risk for errors when developing web applications. Together, ASP.NET MVC and TDD are direct and clear about what is happening on your page, what gets rendered, and how it gets there, and they do not allow anything to appear that you didn't put there yourself.

This practical guide shows you how to write a real-world web site from conception to production. After a detailed description of the project you'll build, you'll encounter several problems during the process and learn the tools and techniques necessary to solve them. Each chapter introduces the various concepts and features of ASP.NET MVC that will help you implement a solution to a specific problem. Along the way, you'll be exposed to all facets of web application development, such as requirements, design, testing, deployment, beta releases, refactoring, and tool and framework selection, that will arm you with a thorough understanding of best practices for web development using TDD.

What you will learn from this book

  • Ways that ASP.NET MVC is well suited to testability and TDD

  • Various concepts such as unit testing frameworks and tools, inversion of control and dependency injection, code coverage, mocking, JavaScript libraries, and Ajax

  • How the new features of ASP.NET MVC 1.0 integrate with standard ASP.NET 3.5 features

  • How TDD allows you to make changes more frequently and fix bugs easily, while reassuring you that your changes didn't break anything

  • How to use various tools and frameworks within your ASP.NET MVC project

  • Ways to improve your development experience and code quality

Who this book is for
This book is for developers who are interested in improving their web application development skills. No previous experience of working with ASP.NET MVC is assumed. ASP.NET examples are shown in C#.

Wrox Problem – Design – Solution references give you solid, workable solutions to real-world development problems. Each is devoted to a single application, analyzing every problem, examining relevant design issues, and implementing the ideal solution.

About the Author

Emad Ibrahim hates to talk about himself because he doesn't know what to say and how to label himself. He is a programmer, an entrepreneur, a thinker, a dreamer, and a humanist. He is all that and none of that. He is clearly confl icted.
He graduated from Virginia Tech in 1999 without honors and has since worked in small and large companies, in small and large teams. He has written code in coffee shops, libraries, skyscrapers, and basements. He has managed teams across the room, across the country, and across the world.

Product Details

  • Series: Wrox Programmer to Programmer
  • Paperback: 312 pages
  • Publisher: Wrox; 1 edition (September 8, 2009)
  • Language: English
  • ISBN-10: 0470447621
  • ISBN-13: 978-0470447628
  • Product Dimensions: 7.4 x 0.7 x 9.3 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 3.3 out of 5 stars  See all reviews (9 customer reviews)
  • Amazon Best Sellers Rank: #4,263,834 in Books (See Top 100 in Books)

Customer Reviews

Top Customer Reviews

By Elijah Manor on September 13, 2009
Format: Paperback
Before I get into the details of the book, it is important to know that the audience of this book is not for novice programmers or experience non ASP.NET developers. To really get value from this book, you should have some decent exposure to ASP.NET under your belt.

With that said, this book is a very good overview of both ASP.NET MVC and Test Driven Development (TDD). It takes the reader through the process of developing a whole application using the Test First methodology. I found this interesting in that some decisions Emad made initially were later refactored in the book as the application evolved and changed, which is a great way to see the value of TDD and its approach.

This book covers quite a few advanced programming concepts that may be new to you such as various Design Patterns (Strategy, Null Objects, Repository, etc...), Design Principles (Open-Closed Principle, YAGNI, DRY, Inversion of Control, Single Responsibility, Convention Over Configuration, etc...). Emad does a good job about explaining these concepts as he approaches them in the application.

About the same time that I was reading this book, I was in the process of evaluating various tools and frameworks to use for a new ASP.NET MVC v2 project I am working on. I found it interesting that Emad ended up choosing most of the same tools that I had at the time such as: MbUnit, Ninject, Moq, and jQuery. If you are familiar with tools other than the ones he chose at the time of writing this book, you should be able to easily substitute your favorite tool instead. Most of the competitors for these tools have basically the same features.
Read more ›
2 Comments 6 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
The author seems to be well versed with TDD and explains the concept very well. He starts off with a high level design and slowly introduces us to different layers like Service layer, Validation layer, Repository layer as we go along from one chapter to another. In between the author introduces the MVC way of programming and how it differs from the WebForms way of programming - but assumes the reader already is aware of MVC as not much time is spent explaining MVC as this is a book more about TDD than MVC. (You can read different books which do a much better job of introducing to MVC than this one)

The book shows enough coding to make the reader understand what is going on (kind of gives the big picture) - but I would recommend that the reader download the sources (the author provides a link where you can download the source) and look to get finer details. The author makes sure that he is using MbUnit which is freely available for his unit test - though he briefly explains the other choices one could use.

The system the author is trying to develop is a message creation web site which has contact management and the ability to send emails to multiple contacts. The system has both client side validation (using Javascript library JQuery) and server side validation (using validation layer). The author explains how even if the client side validation is disabled the server side takes care of validation.

I would recommend this book if you don't know what TDD is and how to get started on it.

PROS : Flow is simple to understand what is happening.

CONS : A separate appendix explaining about the individual tools used would have given a much better reader experience.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
I had high hopes for this book when I picked it up. Unfortunately, the content did not deliver. While I agree that it is nice to see the author made use of some good good design patterns and principles, It just wasn't enough. First of all, if your not utilizing Test Driven Development in any MVC project, you probably should really consider gaining some insight into this methodology. MVC is perfect for TDD. Inversion of Control/Dependency Injection patterns are a no brainer also. All MVC books out there use this pattern so there was nothing new here.

The problem I have with this book is that it seemed rushed and there were numerous errors in the code. I'm wondering if this book was started with the beta version of MVC and the author attempted to refactor after the final release. In the begining of the book, the author stated he was going to use the YUI editor for the rich text component of the site. However, he actually chose to go with jWYSIWYG, a extremely light, no frills editor that is just not suited for most robust applications.

The test framework he chose was MbUnit. Why? He explains that Visual Studio has a built-in test framework (MSTest) but chose not to use it because " I didn't want to assume that you have a few thousand dollars to spare on a copy of Visual Studio". He also admitted that most of the test frameworks have a very fast dev lifecycle and that the version in the book may be slightly outdated from the one that you are likely to download. IMHO, that is bad. Most people reading this book are senior level developers making a living with Visual Studio and the tools it offers. It's very likely that they already have a copy of VS Pro or Team or they have access to it at work or through MSDN.
Read more ›
2 Comments 4 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Set up an Amazon Giveaway

ASP.NET MVC 1.0 Test Driven Development: Problem - Design - Solution (Wrox Programmer to Programmer)
Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more
This item: ASP.NET MVC 1.0 Test Driven Development: Problem - Design - Solution (Wrox Programmer to Programmer)
Pages with Related Products. See and discover other items: .net, javascript, asp.net