Implementing the Page Controller pattern in asp.net?
I have read the Microsoft bible on design patterns (everyone should read it, it's really good) at http://msdn.microsoft.com/practices...ise/default.asp
anyway, when I am reading though their implementation of the MVC pattern, I bein to wonder... surely there must me a better way to implement page reusability than using .inc files? The idea is to make a basepage class that sett all things that are common for ALL pages, and then for each aspx.vb page, inherit from that class and here set all things that are specific for this page (like pagenr or whatever). Now the aspx code for the generic stuff has to be inserted somehow onto all pages, and in the article they solve it by writing an inc file. The first thing that popped in my mind when reading about the page controller pattern was : "why not use web form user components?" I made a lame attempt to implement this pattern with user components, but hit a nag, since I couldn't inherit the way I wanted.
Now Im asking the community, can I implement the page controller pattern (part of MVC) using user controls???
kind regards
Henrik