9.4. Summary

In this chapter, we implemented the critical functionality to deal with contact management. We have created contacts one at a time; imported them in bulk; and browsed, edited, and deleted them as well. We implemented each functionality using a TDD approach, starting with a test and writing the necessary code to pass the test. We also created views to ensure that everything is working together and saw validation working in action.

The concepts discussed in this chapter can be applied to other entities in this project — for example, messages, Contact Lists, and so on. Everything is not identical, but the concepts in general are the same and can be tweaked for every individual entity.

Get ASP.NET MVC 1.0 Test Driven Development: Problem - Design - Solution now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.