{"repo":"jiniannet/jntemplate","free":true,"listed":false,"github":"https://github.com/jiniannet/jntemplate","clone":"git clone https://github.com/jiniannet/jntemplate.git","description":"jntemplate is an fast and lightweight html templating engine for C# .NET.","language":"C#","stars":156,"topics":["template-engine","template","html","dotnet-core","string-template","templates","templating","templating-engine","rendering-engines"],"license":"MIT","category":"databases-storage","readme_excerpt":"JNTemplate English 中文 What is JNTemplate? JNTemplate is fast, lightweight, extensible .net template engine for generating html, xml, sql, or any other formatted text output. Special placeholders in the template allow writing code similar to c# syntax. Then the template is passed data to render the final document. Installation Install and update using NuGet: or Quickstart Basics Rendering a basic html template with a predefined data model. c# code index.html output: Iteration Iteration is achieved by using the foreach binding on the element you wish to iterate. c# code view.html output: Configuration You can configure JNTemplate with the IOptions class. Links - Website: https://www.jiniannet.com - Documentation: https://docs-en.jiniannet.com - Code: https://github.com/jiniannet/jntemplate Licenses MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/jiniannet","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jiniannet/jntemplate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}