Spark 1.8.2.1-alpha

This is a prerelease version of Spark.
dotnet add package Spark --version 1.8.2.1-alpha                
NuGet\Install-Package Spark -Version 1.8.2.1-alpha                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Spark" Version="1.8.2.1-alpha" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Spark --version 1.8.2.1-alpha                
#r "nuget: Spark, 1.8.2.1-alpha"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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

Installation

It's as easy as PM> Install-Package Spark from nuget for the core

Continuous Integration Status

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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