All Projects → csainty → Veil

csainty / Veil

Licence: mit
A template renderer / view engine for .NET

Projects that are alternatives of or similar to Veil

DNZ.SEOChecker
SEO Checker and Recommander Plugin (like wordpress Yoast) for ASP.NET Core.
Stars: ✭ 18 (-21.74%)
Mutual labels:  aspnetcore, dotnetcore, dotnet-standard
Wtm
Use WTM to write .netcore app fast !!!
Stars: ✭ 3,403 (+14695.65%)
Mutual labels:  aspnetcore, dotnetcore
WebCam-Streaming
Web-cam live streaming with websockets and SignalR with ASP.NET Core just for fun and to learn new things. 😀👨🏻‍💻
Stars: ✭ 31 (+34.78%)
Mutual labels:  aspnetcore, dotnetcore
Simplcommerce
A simple, cross platform, modularized ecommerce system built on .NET Core
Stars: ✭ 3,474 (+15004.35%)
Mutual labels:  aspnetcore, dotnetcore
Weapsy
ASP.NET Core CMS
Stars: ✭ 748 (+3152.17%)
Mutual labels:  aspnetcore, dotnetcore
silky
The Silky framework is designed to help developers quickly build a microservice development framework through simple code and configuration under the .net platform.
Stars: ✭ 146 (+534.78%)
Mutual labels:  aspnetcore, dotnetcore
Applicationinsights Aspnetcore
ASP.NET Core web applications monitoring
Stars: ✭ 306 (+1230.43%)
Mutual labels:  aspnetcore, dotnetcore
ChatService
ChatService (SignalR).
Stars: ✭ 26 (+13.04%)
Mutual labels:  aspnetcore, dotnetcore
Util
Util是一个.net core平台下的应用框架,旨在提升小型团队的开发输出能力,由常用公共操作类(工具类)、分层架构基类、Ui组件,第三方组件封装,第三方业务接口封装,配套代码生成模板,权限等组成。
Stars: ✭ 3,874 (+16743.48%)
Mutual labels:  aspnetcore, dotnetcore
Shopifysharp
ShopifySharp is a .NET library that helps developers easily authenticate with and manage Shopify stores.
Stars: ✭ 390 (+1595.65%)
Mutual labels:  dotnet-standard, dotnetcore
Module Shop
一个基于 .NET Core构建的简单、跨平台、模块化的商城系统
Stars: ✭ 398 (+1630.43%)
Mutual labels:  aspnetcore, dotnetcore
awesome-dotnet-async
A curated list of awesome articles and resources to learning and practicing about async, threading, and channels in .Net platform. 😉
Stars: ✭ 84 (+265.22%)
Mutual labels:  aspnetcore, dotnetcore
Hisar
🏰 Hisar: Cross-Platform Modular Component Development Infrastructure
Stars: ✭ 19 (-17.39%)
Mutual labels:  aspnetcore, dotnetcore
NCalc2
GitHub clone of NCalc from http://ncalc.codeplex.com/
Stars: ✭ 97 (+321.74%)
Mutual labels:  dotnetcore, dotnet-standard
Cosmos.Identity
A Cosmos storage provider for ASP.NET Core Identity.
Stars: ✭ 26 (+13.04%)
Mutual labels:  aspnetcore, dotnetcore
Live.asp.net
Code for live.asp.net, which hosts the ASP.NET Community Stand-up
Stars: ✭ 295 (+1182.61%)
Mutual labels:  aspnetcore, dotnetcore
Finbuckle.multitenant
Finbuckle.MultiTenant is an open source multitenancy library for .NET. It provides tenant resolution, per-tenant app behavior, and per-tenant data isolation.
Stars: ✭ 478 (+1978.26%)
Mutual labels:  aspnetcore, dotnetcore
Home
Asp.net core Mvc Controls Toolkit
Stars: ✭ 33 (+43.48%)
Mutual labels:  aspnetcore, dotnetcore
Okanshi
mvno.github.io/okanshi
Stars: ✭ 14 (-39.13%)
Mutual labels:  dotnetcore, dotnet-standard
Awesome Cms Core
Awesome CMS Core is an open source CMS built using ASP.Net Core & ReactJS with module seperation concern in mind and provide lastest trend of technology like .Net Core, React, Webpack, SASS, Background Job, Message Queue.
Stars: ✭ 352 (+1430.43%)
Mutual labels:  dotnet-standard, dotnetcore

Veil

Veil is a .NET template renderer / view engine. It is designed to support many syntax parsers which sit on top of a single optimized compiler. See Veil.SuperSimple and Veil.Handlebars for examples of supported syntax.

Design Goals

  • Easy to install, configure and use in any project
  • Fastest view engine available
  • Support for explicit flush to aid in browser performance
  • Cross-platform support

Not supported

Unlike Razor, Veil templates are not compiled with the full .NET compilers. This is part of what makes Veil so much easier to integrate and work with. The cost of this approach is that arbitrary code blocks are not supported. A purist may argue this is actually a good thing :)

Getting Started

You have a few options for using Veil :-

  1. If you are using Nancy then install the Nancy.ViewEngines.Veil package and your preferred syntax parsers e.g. Veil.Handlebars or Veil.SuperSimple
  2. Alternatively you can install and use any Veil syntax parser directly in any application. E.g.
Install-Package Veil.Handlebars

// Compile your template once with the chosen parser
var template = "Hello {{ Name }}";
var compiledTemplate = new VeilEngine().Compile<ViewModel>("handlebars", new StringReader(template));

--

// Execute your template as needed
using (var writer = new StringWriter()) {
    compiledTemplate(writer, new ViewModel { Name = "Bob" });
}

Further Information

Builds

Build status

Pre-built binaries of the latest commit are always available at https://ci.appveyor.com/project/csainty/veil/build/artifacts

Alternatively you can grab them from the AppVeyor nuget feed -

<packageSources>
    <add key="veil.appveyor" value="https://ci.appveyor.com/nuget/veil" protocolVersion="2" />
</packageSources>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].