How to use WebForm basepage in MVC?

 
85   96.0
Jan 20, 2012
 
Hi all. In the Design Pattern Framework there is a webform BasePage that inherrits System.Web.UI.Page.
How would I use BasePage if I convert from WebForms to MVC?

In MVC, the controller inherrits from System.Web.MVC.Controller.



610   99.9
24 days ago
Zhang:

I would add similar functionality in the BaseController, a controller that you derive from System.Web.MVC.Controller.
Then, each of your controllers would derive from BaseController, rather than Controller.

Hope this helps.
Dan