With Sitefinity CMS, you have the option to use MVC forms or Web Forms forms. The following sections look into details into both options.
MVC forms are part of ASP.NET MVC framework and are the recommended way to work with forms in SItefinity CMS. MVC technology provides a modern, convention-based, mobile-first UI framework to quick and easy setup and design of forms and applications. Thanks to the MVC pattern, you can separate development into views, logic, and processing. For more information, see For developers: Develop with Sitefinity and ASP.NET MVC.
With MVC forms, you can work with the API for RAPID development of custom form fields and elements by benefiting from the Sitefinity CMS MVC framework to build mobile-ready sites using frameworks of your choice. This includes MVC built-in widgets, an AngularJS widget designer framework, and Bootstrap framework out-of-the-box. For more information, see Form widget.
Web Forms are part of ASP.NET web application model. Web forms are basically pages users request on your site. The page is compiled by the framework and then an HTML markup is generated and rendered in the website.
You can easily create web forms in Visual Studio by utilizing the rich server controls, setting properties, methods, and events for controls that define the web page's behavior, look and feel, and so on.
With web forms you benefit from all ASP.NET features:
For more information, see ASP.NET documentation.
When it comes to choosing the type of forms to use on your website, you need to consider which model suits best your requirements, needs, and knowledge base. The recommended approach for straightforward development and improved productivity is to work with ASP.NET MVC framework to build websites and interfaces, widgets, interactions, and applications.
Keep in mind that with Sitefinity CMS, you can use both frameworks on one page if the page layout is set to Hybrid mode. For more information, see MVC modes.
Some important points to consider:
For more information about the differences between ASP.NET MVC and Web forms technology, see Reference: ASP.NET MVC and Web forms.
Using one of the frameworks does not mean you cannot work with the other, as well. If you decide to start implementing MVC forms does not mean that existing web forms will no longer work. You can:
Both types of forms can post to the same storage.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important
Copyright © 2020 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.
Powered by Progress Sitefinity