Spark.WebLib 1.8.2.1-alpha

This is a prerelease version of Spark.WebLib.
dotnet add package Spark.WebLib --version 1.8.2.1-alpha                
NuGet\Install-Package Spark.WebLib -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.WebLib" 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.WebLib --version 1.8.2.1-alpha                
#r "nuget: Spark.WebLib, 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.WebLib as a Cake Addin
#addin nuget:?package=Spark.WebLib&version=1.8.2.1-alpha&prerelease

// Install Spark.WebLib as a Cake Tool
#tool nuget:?package=Spark.WebLib&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 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.
  • .NETFramework 4.8

    • Spark (>= 1.8.2.1-alpha)

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Spark.WebLib:

Package Downloads
Spark.Web.Mvc5

Spark is a view engine allowing the HTML to dominate the flow and any code to fit seamlessly.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.8.2.1-alpha 73 1/3/2025