ASP.NET 1.x Inheritance Hooey

the inheritance patternThe image at left reveals my inheritance-based redesign away from earlier hooey. All of the “edit” ASPX pages inherit from the default ASPX page. So, now, I realize why Microsoft allows the word “visual” to be added to “inheritance” instead of just using the word inheritance with regard to ASP.NET 2.0 marketing fluff. (And I use the word ‘allow’ because Fritz Onion would not be able to use the term when writing for MSDN.) This acquiescence may be related to the following:

Hey, Bryan! All of those server control members declared in the code-behind class are declared as protected so that its sub-classing ASPX page ‘magically’ overrides them through the auto-wiring powers of ASP.NET.

rasx()