I've got a site with two master pages: one for one-column layout and one for two-column layout. These are nested within a master page that provides a common header and footer.
I have functionality that I want each of the content pages to have; should I:
- create a page base class and inherit that inside my content pages, or
- create a master page base class and inherit that inside one of my levels of nested master page?
Ultimately I want the content pages to have access to a connection object and to a configuration object that I want to be instantiated as each page loads.