Creating Razor Templates

You can create and edit Experience Management Razor templates in two ways: in your developer IDE such as Visual Studio or in the Layout module in the CMS Console.

If you choose to create Razor templates in the CMS Console, Experience Management will handle creating the corresponding file in the correct folder as well as insert the minimum code/markup required to inherit from the proper class and declare and initialize mandatory properties for the template's ID, title etc. However, you will not have the IDE features Visual Studio provides such as IntelliSense, statement completion or write-time compile warnings.

Using Razor templates

Using Razor templates is no different from using any other type of the Experience Management templates. The editors deal with "C1 CMS Page templates", and technology "behind the scenes" - whether it is XML, Razor or Master Pages - is transparent to them.

Read more on using page templates.