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.