Spark 1.8.2.4-alpha
dotnet add package Spark --version 1.8.2.4-alpha
NuGet\Install-Package Spark -Version 1.8.2.4-alpha
<PackageReference Include="Spark" Version="1.8.2.4-alpha" />
<PackageVersion Include="Spark" Version="1.8.2.4-alpha" />
<PackageReference Include="Spark" />
paket add Spark --version 1.8.2.4-alpha
#r "nuget: Spark, 1.8.2.4-alpha"
#:package Spark@1.8.2.4-alpha
#addin nuget:?package=Spark&version=1.8.2.4-alpha&prerelease
#tool nuget:?package=Spark&version=1.8.2.4-alpha&prerelease
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
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- MarkdownSharp (>= 2.0.5)
- Microsoft.CodeAnalysis.CSharp (>= 4.14.0)
- Microsoft.CodeAnalysis.VisualBasic (>= 4.14.0)
- Microsoft.Extensions.Caching.Memory (>= 9.0.9)
- System.Configuration.ConfigurationManager (>= 9.0.9)
-
net8.0
- MarkdownSharp (>= 2.0.5)
- Microsoft.CodeAnalysis.CSharp (>= 4.14.0)
- Microsoft.CodeAnalysis.VisualBasic (>= 4.14.0)
- Microsoft.Extensions.Caching.Memory (>= 9.0.9)
- System.Configuration.ConfigurationManager (>= 9.0.9)
-
net9.0
- MarkdownSharp (>= 2.0.5)
- Microsoft.CodeAnalysis.CSharp (>= 4.14.0)
- Microsoft.CodeAnalysis.VisualBasic (>= 4.14.0)
- Microsoft.Extensions.Caching.Memory (>= 9.0.9)
- System.Configuration.ConfigurationManager (>= 9.0.9)
NuGet packages (11)
Showing the top 5 NuGet packages that depend on Spark:
| Package | Downloads |
|---|---|
|
FubuMVC.Spark
Support for using the Spark view engine within a FubuMVC application. |
|
|
Spark.Web.Mvc3
Spark View Engine for ASP.NET MVC. |
|
|
Nancy.Viewengines.Spark
Enables using the Spark view engine with Nancy. |
|
|
Spark.Web.Mvc4
Spark View Engine for ASP.NET MVC 4. |
|
|
Spark.Web.Mvc2
Spark View Engine for ASP.NET MVC. |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Spark:
| Repository | Stars |
|---|---|
|
NancyFx/Nancy
Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono
|
|
|
sakeproject/sake
Sake Build
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.8.2.4-alpha | 184 | 9/11/2025 |
| 1.8.2.2-alpha | 842 | 6/6/2025 |
| 1.8.2.1-alpha | 900 | 1/3/2025 |
| 1.8.1 | 164,068 | 4/11/2015 |
| 1.8.0 | 36,135 | 2/7/2015 |
| 1.7.5.3 | 114,898 | 11/21/2013 |
| 1.7.5.2 | 4,625 | 11/11/2013 |
| 1.7.5.1 | 47,608 | 1/11/2013 |
| 1.7.5 | 45,642 | 11/13/2012 |
| 1.7.4 | 5,631 | 9/15/2012 |
| 1.7.3 | 52,757 | 9/9/2012 |
| 1.7.2 | 17,937 | 6/1/2012 |
| 1.7.1 | 3,782 | 5/30/2012 |
| 1.7.0 | 229,592 | 4/29/2012 |
| 1.6.1 | 10,586 | 3/28/2012 |
| 1.6.0 | 137,035 | 7/2/2011 |
| 1.5.1.6 | 15,014 | 5/8/2011 |
| 1.5.1.5 | 3,980 | 5/6/2011 |
| 1.5.1 | 138,309 | 2/26/2011 |