Dofactory.com
Dofactory.com
 Back to list
Views:   8.1K
Replies:  1
Archived

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
Reply 1
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
Dan McMillan, Jan 28, 2012
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.