Spark.AspNetCore.Mvc
1.8.2.1-alpha
dotnet add package Spark.AspNetCore.Mvc --version 1.8.2.1-alpha
NuGet\Install-Package Spark.AspNetCore.Mvc -Version 1.8.2.1-alpha
<PackageReference Include="Spark.AspNetCore.Mvc" Version="1.8.2.1-alpha" />
paket add Spark.AspNetCore.Mvc --version 1.8.2.1-alpha
#r "nuget: Spark.AspNetCore.Mvc, 1.8.2.1-alpha"
// Install Spark.AspNetCore.Mvc as a Cake Addin #addin nuget:?package=Spark.AspNetCore.Mvc&version=1.8.2.1-alpha&prerelease // Install Spark.AspNetCore.Mvc as a Cake Tool #tool nuget:?package=Spark.AspNetCore.Mvc&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. 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. |
-
net8.0
- Microsoft.CodeAnalysis.CSharp (>= 4.12.0)
- Spark (>= 1.8.2.1-alpha)
- System.Configuration.ConfigurationManager (>= 9.0.0)
-
net9.0
- Microsoft.CodeAnalysis.CSharp (>= 4.12.0)
- Spark (>= 1.8.2.1-alpha)
- System.Configuration.ConfigurationManager (>= 9.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.8.2.1-alpha | 59 | 1/3/2025 |