Getting Started

First the Bits: download the latest release or the latest development build and create a your web project.

Then the Learning: how to use Spark starts with the documentation, the samples from the release zip, and the discussion group. Not necessarily in that order.

And then the Code: always available on Github at loudej/spark to download, checkout, or fork. Issues and feature requests and code contributions are always welcomed at Codeplex or the discussion group.

What is Spark?

Spark is a view engine for Asp.Net Mvc and Castle Project MonoRail frameworks. The idea is to allow the html to dominate the flow and the 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>

Resources