Spark
Spark is a view engine allowing the HTML to dominate the flow and any code to fit seamlessly.
Install
| Product | Versions |
|---|---|
| .NET | |
| Other |
README
Spark View Engine
Spark is a view engine for ASP.NET MVC, FubuMVC, NancyFx and Castle Project MonoRail frameworks. The idea is to allow the html to dominate the flow and any code to fit seamlessly.
<viewdata products="IEnumerable[[Product]]"/>
<ul if="products.Any()">
<li each="var p in products">${p.Name}</li>
</ul>
<else>
<p>No products available</p>
</else>
Although we also support "left-offset" syntax inspired by frameworks like Jade and Haml
viewdata products="IEnumerable[[Product]]"
ul if="products.Any()"
li each="var p in products"
${p.Name}
else
p |No products available
Getting Started
- Firstly, check out the documentation
- Next, you can take a look at the community resources we've gathered over time
Installation
It's as easy as PM> Install-Package Spark from nuget for the core
Need Help
Core Team
Licence
All software produced by the Spark Software Foundation or any of its projects or subjects is licensed according to the terms of Apache License, Version 2.0
See the Apache License FAQ
Read more about licencing in the Wiki
Changes from Previous Version
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.