Spark 1.8.2.1-alpha
dotnet add package Spark --version 1.8.2.1-alpha
NuGet\Install-Package Spark -Version 1.8.2.1-alpha
<PackageReference Include="Spark" Version="1.8.2.1-alpha" />
paket add Spark --version 1.8.2.1-alpha
#r "nuget: Spark, 1.8.2.1-alpha"
// Install Spark as a Cake Addin #addin nuget:?package=Spark&version=1.8.2.1-alpha&prerelease // Install Spark as a Cake Tool #tool nuget:?package=Spark&version=1.8.2.1-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. |
.NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- MarkdownSharp (>= 2.0.5)
- Microsoft.CodeAnalysis.CSharp (>= 4.12.0)
- Microsoft.CodeAnalysis.VisualBasic (>= 4.12.0)
- Microsoft.Extensions.Caching.Memory (>= 9.0.0)
- System.Configuration.ConfigurationManager (>= 9.0.0)
-
net8.0
- MarkdownSharp (>= 2.0.5)
- Microsoft.CodeAnalysis.CSharp (>= 4.12.0)
- Microsoft.CodeAnalysis.VisualBasic (>= 4.12.0)
- Microsoft.Extensions.Caching.Memory (>= 9.0.0)
- System.Configuration.ConfigurationManager (>= 9.0.0)
-
net9.0
- MarkdownSharp (>= 2.0.5)
- Microsoft.CodeAnalysis.CSharp (>= 4.12.0)
- Microsoft.CodeAnalysis.VisualBasic (>= 4.12.0)
- Microsoft.Extensions.Caching.Memory (>= 9.0.0)
- System.Configuration.ConfigurationManager (>= 9.0.0)
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. |
|
Tinyweb
Tinyweb is a lightweight web framework for ASP.NET that embraces HTTP and aims to be ridiculously simple. Tinyweb moves away from the MVC pattern for developing web applications. Instead, you start with separate addressable resources that respond directly to the HTTP method that was used to access the resource. Every resource is a class and every implemented HTTP method (get, post, put, delete) is a method on the class. With Tinyweb, you're writing code that is conceptually close to the way HTTP actually works. |
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.1-alpha | 89 | 1/3/2025 |
1.8.1 | 146,303 | 4/11/2015 |
1.8.0 | 35,686 | 2/7/2015 |
1.7.5.3 | 106,270 | 11/21/2013 |
1.7.5.2 | 4,079 | 11/11/2013 |
1.7.5.1 | 42,792 | 1/11/2013 |
1.7.5 | 41,903 | 11/13/2012 |
1.7.4 | 5,165 | 9/15/2012 |
1.7.3 | 50,338 | 9/9/2012 |
1.7.2 | 17,376 | 6/1/2012 |
1.7.1 | 3,327 | 5/30/2012 |
1.7.0 | 227,387 | 4/29/2012 |
1.6.1 | 9,127 | 3/28/2012 |
1.6.0 | 110,775 | 7/2/2011 |
1.5.1.6 | 14,527 | 5/8/2011 |
1.5.1.5 | 3,517 | 5/6/2011 |
1.5.1 | 131,782 | 2/26/2011 |