Book Image

ASP.NET 3.5 Application Architecture and Design

By : Vivek Thakur
Book Image

ASP.NET 3.5 Application Architecture and Design

By: Vivek Thakur

Overview of this book

Table of Contents (14 chapters)
About the Author
About the Reviewers

Chapter 6. Design Patterns

In the first chapter of this book, we learned that a design pattern is a re-usable solution that can be used in our projects so that time-tested programming techniques can be employed to solve similar kinds of problems. This chapter is devoted exclusively to design patterns and how we can use some of the famous design patterns in our ASP.NET web applications.

In the previous chapters we have already studied some design patterns such as:

  • Lazy Loading design pattern: This is used to defer the loading of object properties until needed. This pattern helped us improve performance as data was only loaded when required.

  • Page controller design: This is used to move the programming logic from markup to code-behind controller files for better code management.

  • Front controller design: This is a centralized controller based approach to get rid of issues with page controller approach.

  • MVC design: This is a powerful pattern used to separate the view from logic based on a front...