Tagged Questions
4
votes
1answer
478 views
Any valid reason to Nest Master Pages in ASP.Net rather than Inherit?
Currently in a debate at work and I cannot fathom why someone would intentionally avoid Inheritance with Master Pages.
For reference here is the project setup:
BaseProject
...
2
votes
2answers
117 views
Is it appropriate to use inheritance to prevent code duplication of the logic for a user control?
Suppose I have two or more UserControl implementations with vastly different implementations but near identical code-behind. One strategy to avoid code duplication is as follows:
Change each ...