资 源 简 介
Razor Mediator for Tridion
The Razor Mediator allows you to use the power and flexibility of Razor Templating within your Tridion Compound Templates.
Introduction
The Razor Template Engine has been introduced into the .NET community with much success, and you’ll especially find it common in almost every ASP.NET MVC project you come across now. If you are not familiar with .NET and the Razor Templating syntax, then perhaps you have heard of Velocity? Razor has been compared to Java’s Velocity template engine. But why is it so popular? Razor allows an easy to use syntax (pretty much C# syntax) for template scripting, but with a clean easy to read look and feel (so no, we’re not taking a step back into the days of VBScript templates!).
The Power of the Razor Mediator
With Razor Templating, all of the above limitations are covered. You actually have the power of .NET within your Razor Templates. Using the base Tridion Razor Templ