Hello World MVC

Using MVC in C1 CMS

C1 CMS is an ASP.NET-based content management system that allows you to quickly build and manage websites.

The following a step-by-step tutorial for programming tasks you can do in C1 CMS such as embedding an ASP.NET MVC Web application within a website. It is intended for ASP.NET Web developers who are familiar with the MVC pattern in general and ASP.NET MVC and ASP.NET Razor in particular.

Since you will write code that will implement some functionality on a C1 CMS website, we assume that as an ASP.NET developer you work with Visual Studio 2015 or later.

We also assume that you have downloaded and launched C1 CMS in Visual Studio 2015 and installed a sample website. If you haven’t, please refer to “Visual Studio and IIS” and take steps described in it.

C1 CMS allows you to use an ASP.NET MVC Web application on a web page as a CMS function (MVC function). You should take the following steps to complete this task:

  1. Install the MVC Functions add-on.
  2. Create an ASP.NET MVC Web application and add it to the website.
  3. Register it as a CMS Function on the website.
  4. Add the MVC application on a page as a CMS Function.