What is Razor Template System?Razor Template System is a powerful template system to convert inputted files (or manual data objects) into other formats based on templates. Currently the following input file types are supported:
Other formats are also possible but need to be implemented. The templates syntax is either C# or VB.NET syntax, they are cshtml or vbhtml files known from ASP.NET MVC. The name Razor Template System comes from the Razor View Engine, a project from Microsoft to create dynamic web sites with ASP.NET (MVC – Model -View-Controller). With the Razor View Engine you can pass a dynamic model of data into a template and use pure C# or VB.NET code (with Razor-Syntax) to control and publish it.
Take a look at the result screenshots to get the idea: 1 2 3What can you do with it?
Razor Template System is used to easily convert input files such as CSV and XML or a your own data model to output types defined by yourself. It is not made for converting large files (a CSV with many thousands of rows) because the data must stay in memory until it is processed and written to the template. Razor Template System is made for converting XML files to other needed formats or converting each CSV row in a set of XML tags.There is currently no limitation to the output file types, because you can define the file structure and layout by yourself in the template. The input files are currently limited to CSV and XML.Take a look at the official Documentation for more information.Changelog