small medium large xlarge

Test-Drive ASP.NET MVC


It’s testable. It’s light-weight. It’s open-source. It’s… Microsoft? Yes, finally, Microsoft has figured it out. ASP.NET MVC 2.0 lets you test drive your code, control the output of your HTML, and leverage C# and .NET in an easy-to-use web framework. It’s ready to go toe-to-toe with other popular web frameworks such as Ruby on Rails. Programming in C# is fun again!

In Test-Drive ASP.NET MVC (Pragmatic Bookshelf, $32.95), author Jonathan McCracken shows you all you need to know to get started developing web applications using test-driven development (TDD) in ASP.NET MVC.

From building your first page, to data access, to integrating with web services such as, Test-Drive ASP.NET MVC guides you step by step. You’ll come away with a complete understanding of web services and data access, and you’ll learn how to test each component so that your code is bug-free and maintainable from the start. You’ll see how to handle security, logging, and error handling. Then, you’ll protect your site with ASP.NET MVC’s advanced security features.

Software isn’t useful until it’s deployed into production. You’ll see how to do automated deployment using MSBuild, a build tool product that can help you get your site online repeatably and reliably. Throughout, you’ll work with open source projects that complement ASP.NET MVC, including NHibernate, MVCContrib, and Castle Windsor Container. These tools speed up developing database components, architecture layers, and testing your code.

As you build and deploy your application, you’ll not only learn the framework itself, but also gain valuable experience with the test-first methodology, driving your application development through small and measurable incremental improvements.

If you work in the Microsoft space, you need this book.

About the Author

Jonathan McCracken is the Director of Services with ThoughtWorks Canada. He has developed .NET applications for a wide range of companies, including Microsoft. Jonathan has been developing software since 1994 and his .NET experience goes all the way back to .NET 1.0 in 2002.

What People Are Saying

“A fantastic introduction to the way ASP.NET MVC applications were meant to be developed: in a test-first fashion.”—James Kovacs

“Jonathan’s friendly, clear writing style, the practical examples, and the helpful best-practice guidance combine to make this book a must-read for every ASP.NET developer”—Jeff Cohen

Book Information

Cover Image For Test-Drive ASP.NET MVC…

Test-Drive ASP.NET MVC

by Jonathan McCracken

ISBN: 9781934356531, 296 pages, $32.95US, $41.95CA, 7.5×9.

Pragmatic Bookshelf Titles are distributed to bookstores internationally by O’Reilly Media.

Additional Resources

Sample chapters, table of contents, and more information is available on the book’s home page.

About Pragmatic Bookshelf

The Pragmatic Bookshelf features books written by developers for developers. The titles continue the well-known Pragmatic Programmer style, and continue to garner awards and rave reviews. As development gets more and more difficult, the Pragmatic Programmers will be there with more titles and products to help programmers stay on top of their game.


Press and Editorial Queries Only:
Contact Andy Hunt or Dave Thomas
Pragmatic Bookshelf
800-699-7764 (+1 919-847-3884)

<< Hello, Android 3rd Edition | SQL Antipatterns: Avoiding the Pitfalls of Database Programming >>