Even if this pattern comes with a lot of advantages, there
are distinct disadvantages too. Firstly, it is too complex to implement and is
not suitable for smaller application; rather, implementing this pattern in such
applications will have adverse effects in the application's performance and
design. In this regard, the MSDN states, "You are building a Web
application in Microsoft ASP.NET, and, based on the complexity of your
application, you need to separate different aspects of the program to reduce code
duplication and to limit the propagation of change." This is where this
design pattern fits in.
Well, let us now dig into some code. In the section that
follows we will learn how we can implement this pattern in ASP.NET
applications.