Skip to content

10. Conclusion

Let’s review what we’ve covered in this document:

  • Chapters 1 through 8 introduced us to the fundamentals of the ASP.NET MVC framework;
  • Chapter 9 was devoted to a case study, starting with a simplified architecture:

This simplified architecture allowed us to focus solely on the [web] layer and also made testing easier. Then we used the following more complex architecture:

We observed that the [business], [DAO], and [EF5] layers introduced significant complexity to the entire application, which, in hindsight, justified the use of a simplified architecture for developing the [web] layer.

Readers who have completed this case study should have gained a solid understanding of ASP.NET MVC and the Single-Page Application (SPA) concept.

There is certainly one thing missing from this document: unit tests. These should have been performed in various places:

  • tests of the [DAO] layer;
  • tests of the actual [business] layer;
  • tests of the [web] layer actions.

Adam Freeman, in his book "Pro ASP.NET MVC 4" published by Apress, rightly emphasizes the importance of these tests. There are many examples of them in his book.

Serge Tahé, November 2013