Razor

Learn how to use the Razor syntax in creating Composite C1 websites.

Make your websites with Razor

Thanks to the community support, Composite C1 can now enjoy the Razor syntax in a brand new type of C1 functions - Razor functions.

Razor is a view engine option for ASP.NET. Although Razor is often associated with MVC, you do not need MVC support on your website to start creating and using Razor functions in Composite C1. If you, however, do use Razor bundled with MVC, please consider using MVC Player.

The Razor functions are available in Composite C1 for insertion on pages, templates, in other functions and in function calls in the C1 Console.

Razor Functions Intro - Part 1

ASP.NET Razor is a light weight syntax for mixing html and C# and mixed with the C1 Function system and parameter support you have an elegant and very powerful tool that can empower both developers and end-users!

Razor Functions Intro - Part 2

Part 2 of 2. ASP.NET Razor is a light weight syntax for mixing html and C# and mixed with the C1 Function system and parameter support you have an elegant and very powerful tool that can empower both developers and end-users!