Sitefinity CMS multi-layer architecture is designed and built around the key concepts of extensibility, interoperability, integration, and flexibility. Sitefinity CMS provides you with choices of how to implement your logic and meeting your requirements, for example, working with third-party software and utilizing various approaches on how to solve a problem. The recommended approach is to work with ASP.NET MVC framework to build websites and interfaces, widgets, interactions, and applications. With MVC development, you benefit from:
You can also work with ASP.NET Web Forms technology, or use both of them, depending on your development needs and requirements. Developers with an MVC background can implement custom controllers and views that can be also used in a Sitefinity CMS project. With Sitefinity CMS, you can combine both MVC and WebForms widgets and use them on the same page. You can create new functionality using MVC, whilst not breaking anything that you are currently working with.
With Sitefinity CMS, you can leverage the classic, pure, and hybrid modes of MVC. The mode you use depends on your development process as well as the functionality you want to implement. The classic mode, as the name suggests, is the mode in which a page is represented by one controller (in essence, bypassing Sitefinity CMS page routes) – as it is outside of the context of Sitefinity CMS. The pure and hybrid modes are Sitefinity-specific and bring ASP.NET MVC with a Sitefinity CMS implementation. Namely, controllers are interpreted as widgets, so you can build Sitefinity CMS widgets from controllers and have more than one controller within a page. For more information, see MVC modes.
Before you start working with ASP.NET MVC in Sitefinity CMS, take a look at the following common questions regarding MVC:
For more information about the differences between the two models, see For developers: ASP.NET MVC or Web forms.
Back To Top