Spark Documentation

Spark Documentation 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. For example, <ul > <li each = 'var p in ViewData.Model.Products' > ${p.Name} !{Html.ActionLink[[ProductController]](c=>c.Edit(p.Id), "Edit")} </li > </ul > The full csharp language is available in a way that doesn't interfere with the harmony and balance of the markup. The view template files produced compiled classes. Needs documentation Web-Application relative  ~/  urls Support for  <def>  and  <var> Capture content directly to variables Inner text on partial views monorail view components clientside rendering javascript clientside views Use of ${expr} and !{expr} and automaticEncoding late bound ${#prop} and ${Eval("prop")} view areas Configuring Spark Table of Contents [ hide ] Adding to Ca...