Try our conversational search powered by Generative AI!

webforms parallel mvc


I'm currently working with a customer that has a quite large episerver cms 6 r2 site up and running with about 60 different custommade pagetypes.

The customer want to upgrade this site to episerver 7 and also develop new functionality and pagetypes with the mvc pattern that episerver 7 supports.

It's quite a large job to rewrite all older pagetypes from webforms to mvc , so our question is if it is possible to run parallel webform and mvc pattern on a same episerver installation/site?

Anyone with similiar problems from their episerver upgrade projects?

Oct 02, 2013 10:37

Yes you can run MVC and WebForms in parallell. 

However you cannot mix Mvc and webform templates on the same request. For example a page rendered through a MVC controller/View cannot render a block that only has a UserControl template. So to be able to use a block both on a webform page and a MVC page you need to have both MVC and WebForms renderers for the block (the same goes for partial renderers for pages). 

Oct 02, 2013 10:53
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.