Page inheritance in mixed asp.net Forms and MVC application
        Posted  
        
            by Rising Star
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Rising Star
        
        
        
        Published on 2010-05-27T15:30:43Z
        Indexed on 
            2010/05/27
            15:51 UTC
        
        
        Read the original article
        Hit count: 285
        
I'm working on a web application.  One of my co-workers has written some asp.net forms pages.  The page classes all inherit from BasePageClass, which of course inherits from the Page class.  I wish to add some MVC controllers that I've been told need to use the same logic implemented in the BasePageClass.  Ordinarily, I would want to inherit the functions in the BasePageClass in the controller classes, but this breaks the inheritance heirarchy.
What is the best practice for solving this problem?
© Stack Overflow or respective owner