Synopses & Reviews
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.
Synopsis
ASP.NET MVC is a new web development framework created by Microsoft as an alternative to ASP.NET web forms applications introduced years ago to replace ASP. Web forms hide a lot of details and control from the web developer and provide drag and drop functionality to web applications. This is very good for rapid web development but is hard to test and maintain. MVC is well suited to testability and Test Driven Development (TDD). The developer has an incredible level of control and a multitude of extension points that makes MVC very powerful and extensible.
This takes a web application and develop it from concept to production. It introduces ASP.NET developers to advanced, open source and alternative tools. Most of ASP.NET developers just work with the tools handed to them by Microsoft and an occasional 3rdparty library. During the development of the application, the book introduces the readers to new “alternative” tools, frameworks and methodologies to help them create a cutting edge web application.
The book shows using unit testing tools such as nUnit and IoC (Inversion of Control) containers such as Structure Map, Spring and Castle Windsor to perform dependency injection (DI) and make the application extensible and testable. Readers will also use open source JavaScript libraries such as jQuery, Dojo, Prototype and so on to implement “web 2.0”, interactive and ajax functionality. And reader will work with a mocking framework (MOQ or Rhino Mocks) to facilitate the creation of unit tests.
Readers working through the book will develop a web application that will be live and in production by the time the book is finished. The book will document the process of developing this application using MVC and the tools mentioned above. This gives the user a unique experience in that they get to see the creation of a web application from concept to production. This allows the reader to work with all facets of web application development: requirements, design, testing, deployment, beta releases, refactoring, tool and framework selection.
Synopsis
Combines ASP.NET MVC instruction with a testing methodology and tools for enterprise-quality development
If you're a Microsoft Web developer who wants to improve your skills, ASP.NET MVC is the hot new Web development framework you need to learn. This Wrox reference shows you how to use it, with a Test Driven Development (TDD) methodology and tools including MS test, nUnit, and spring.net. It also provides a complete, end-to-end Web site example.
By developing a Web application from concept to production, this book shows you step by step how to use advanced, open source, and alternative tools. You'll discover unit testing tools such as nUnit and IoC (Inversion of Control) containers such as Structure Map, Spring, and Castle Windsor to perform dependency injection (DI) and make the application extensible and testable. ASP.NET MVC is a hot new Web development framework; this guide demonstrates the appropriate testing methodology and toolkit to maximize it Helps serious Microsoft enterprise developers build a quality toolkit for creating better applications Covers unit testing tools such as nUnit and IoC (Inversion of Control) containers such as Structure Map, Spring, and Castle Windsor Applies open source JavaScript libraries such as jQuery, Dojo, and Prototype to implement Web 2.0, interactive, and Ajax functionality Shows how to work with a mocking framework (MOQ or Rhino Mocks) to facilitate the creation of unit tests Develops a Web application from start to finish to demonstrate the tools and how to use them
In the tradition of the popular Wrox Problem-Design-Solution series, this book teaches Web developers specific, real-world skills.
Synopsis
A hands-on journey takes you through the development process of a Web application from concept to productionASP.NET MVC is a new Web development framework created by Microsoft as an alternative to ASP.NET web forms applications. MVC is well suited to testability, and Test Driven Development (TDD) affords you a generous level of control while also making MVC very powerful and extensible. This book takes the ASP.NET MVC and combines it with a testing methodology and tools and guides you through the process of taking Web application from concept to production.
Using a complete working sample application that demonstrates all the tools needed to build an e-commerce Web application, the popular Problem – Design – Solution format gradually introduces you to new alternative tools, frameworks, and methodologies to get you started creating cutting-edge Web applications.
- ASP.NET MVC is Microsoft's hot new Web development framework to use as an alternative to ASP.NET Web forms applications
- Use the popular Problem – Design – Solution recipe and encourages you to get involved with developing a Web application from concept to production
- Introduces new alternative tools, frameworks, and methodologies, such as nUnit and Inversion of Control containers
- Shows you how to use open source JavaScript libraries and work with a mocking framework
As you work with all facets of Web application development-requirements, design, testing, deployment, beta releases, refactoring, tool, and framework selection-you will have developed a live Web application by the time the book is finished.
Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
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.
Table of Contents
Introduction.
Chapter 1: Requirements.
Chapter 2: High-Level Design.
Chapter 3: Membership.
Chapter 4: Refactor: Model Binders, Mocks, and Asserts.
Chapter 5: Client and Server Validation.
Chapter 6: Data Layer and IRepository Pattern.
Chapter 7: Declare Your Independence with Dependency Injection.
Chapter 8: Contact Management.
Chapter 9: Import Contacts.
Chapter 10: Composing Messages.
Chapter 11: HTML WYSIWYG Editing.
Chapter 12: Image Hosting.
Chapter 13: Message Templating.
Chapter 14: Billing and Subscriptions.
Chapter 15: Usage Tracking.
Chapter 16: Fill In the Blanks.
Index.