How to use WebForm basepage in MVC?
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.
Zhang Zhao, Jan 20, 2012
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 McMillan, Jan 28, 2012