Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Most commonly used, MVC or Webform?


I know that this is not a "how do I do that" question, but I could not find a way to do a poll in EPiServer World.

I am querious to know what people tend to use now that EPiServer supports both MVC and Webform.

For me I have not written any Webform site in EPiServer 7 or 7.5, all new sites are in MVC. How is it for you all?

Mar 30, 2014 15:42

If we take a look at version itself - we have webforms in 7.0 & 7.5. Those projects are mostly migrated ones. If we are going to develop new project from sratch - there haven't been any design level discussion about considering to use webforms.

Mar 30, 2014 18:40

We've used WebForms in a few 7.x projects, . Would say that old habbits and "this needs to be ready yesterday" is the reason.

Mar 31, 2014 10:53

Valdis++, we use WebForms only if we are doing an upgrade.

Mar 31, 2014 11:02

I have had the luck that the customer accepted that we also converted a site that was upgraded.

I hope that EPiServer in version 8 shift their main focus in the documentation to MVC instead of Webform.

Mar 31, 2014 12:02

Is there any downside with using webforms and epi 7.5?

Jun 23, 2014 9:35

Hey, Luc,

I don't think there are many downsides, it depends what you need. Here is a post I remember seeing on it (check out the comments as well).

What is a major thing for me is that with DisplayTemplates in MVC, you can override pretty much anything, for example XForms rendering (however, you could do this in WebForms as well, but with MVC it's much neater). I would personally always choose MVC and Razor.

Jun 23, 2014 9:41

Does anyone now how the support for using forms in the future looks like for episerver? Is it still possible to upgrade a site or even build a new website based on forms today?  Have had a few questions about this and I realized I had no answer since I been working with MVC for a while now.

Edited, Oct 21, 2015 20:13

Yeach, it's been a while since last dev in webforms. Looking at latest episerver source code - I still see support for most of the stuff in EPiServer and EPiServer.Web.WebControls namespaces and probably other places as well..

Oct 21, 2015 20:45

It's fully supported in current versions.

@Valdis, what do you mean with "most of the stuff"? Have you found anything that doesn't work?

Oct 21, 2015 22:20

We were trying out calendar control, and didn't get it working. Probably we were just too lame :)

Oct 22, 2015 8:43

Wow, I had completly forgot this "poll" :-)

As Johan says, it is fully supported, but since Microsoft are removing webforms in ASP.NET 5 and by that EPiServer will also do it when they add ASP.NET 5 support (but that is quite a long way in the future since it is a big change and it is only beta from MS so far).

So I would never start a new project with Webform.

Oct 22, 2015 8:47

Mmmm the good ol' calendar control. You need three properties on the event page types; EventStartDate, EventStopDate and ValidDays (WeekDays type).

Oct 22, 2015 9:56

We still have some projects running WebForms, but I can't say that we use a lot of EPiServers WebControls... The word control is maybe the wrong word? Do you really have control? :)
MVC in all new projects though.

Oct 22, 2015 10:00

As long as you're not using controls that renders markup you should be just fine!

Oct 22, 2015 10:05
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.