With Sitefinity, you have the option to use web forms or MVC forms. The following sections look into details into both options.
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.
MVC forms are part of ASP.NET MVC framework. 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 Feather framework to build mobile-ready sites using frameworks of your choice. This includes MVC stock widgets, an AngularJS widget designer framework, Bootstrap, Foundation, Semantic UI support, and more. For more information, see Feather.
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. For more information, see MVC or WebForms.
Keep in mind that with Sitefinity, 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 ASP.NET MVC or 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
Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.