forked from SparkViewEngine/spark
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c781cc2
commit 977f3b4
Showing
24 changed files
with
153 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
18 changes: 18 additions & 0 deletions
18
NuGet/Spark.Web.Mvc2/1.1/Content/AppStart_SparkWebMvc.cs.pp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System.Web.Mvc; | ||
using Spark; | ||
using Spark.Web.Mvc; | ||
|
||
[assembly: WebActivator.PreApplicationStartMethod(typeof($rootnamespace$.AppStart_SparkWebMvc), "Start")] | ||
|
||
namespace $rootnamespace$ { | ||
public static class AppStart_SparkWebMvc { | ||
public static void Start() { | ||
var settings = new SparkSettings(); | ||
settings.SetAutomaticEncoding(true); | ||
|
||
// Note: you can change the list of namespace and assembly | ||
// references in Views\Shared\_global.spark | ||
SparkEngineStarter.RegisterViewEngine(settings); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<use namespace="System"/> | ||
<use namespace="System.Collections.Generic"/> | ||
<use namespace="System.Linq"/> | ||
<use namespace="System.Web.Mvc"/> | ||
<use namespace="System.Web.Mvc.Html"/> | ||
|
||
<use assembly="Spark.Web.Mvc"/> | ||
<use assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> | ||
<use assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0"?> | ||
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||
<id>Spark.Web.Mvc2</id> | ||
<version>1.1</version> | ||
<authors>Louis DeJardin & Robert Greyling</authors> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>Spark View Engine for ASP.NET MVC.</description> | ||
<summary>Spark View Engine for ASP.NET MVC.</summary> | ||
<language>en-US</language> | ||
<dependencies> | ||
<dependency id="Spark" version="1.1" /> | ||
<dependency id="WebActivator" version="1.0.0.0" /> | ||
</dependencies> | ||
</metadata> | ||
</package> |
Binary file not shown.
18 changes: 18 additions & 0 deletions
18
NuGet/Spark.Web.Mvc2/1.5/Content/AppStart_SparkWebMvc.cs.pp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System.Web.Mvc; | ||
using Spark; | ||
using Spark.Web.Mvc; | ||
|
||
[assembly: WebActivator.PreApplicationStartMethod(typeof($rootnamespace$.AppStart_SparkWebMvc), "Start")] | ||
|
||
namespace $rootnamespace$ { | ||
public static class AppStart_SparkWebMvc { | ||
public static void Start() { | ||
var settings = new SparkSettings(); | ||
settings.SetAutomaticEncoding(true); | ||
|
||
// Note: you can change the list of namespace and assembly | ||
// references in Views\Shared\_global.spark | ||
SparkEngineStarter.RegisterViewEngine(settings); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<use namespace="System"/> | ||
<use namespace="System.Collections.Generic"/> | ||
<use namespace="System.Linq"/> | ||
<use namespace="System.Web.Mvc"/> | ||
<use namespace="System.Web.Mvc.Html"/> | ||
|
||
<use assembly="Spark.Web.Mvc"/> | ||
<use assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> | ||
<use assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0"?> | ||
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||
<id>Spark.Web.Mvc2</id> | ||
<version>1.5</version> | ||
<authors>Louis DeJardin & Robert Greyling</authors> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>Spark View Engine for ASP.NET MVC.</description> | ||
<summary>Spark View Engine for ASP.NET MVC.</summary> | ||
<language>en-US</language> | ||
<dependencies> | ||
<dependency id="Spark" version="1.5" /> | ||
<dependency id="WebActivator" version="1.0.0.0" /> | ||
</dependencies> | ||
</metadata> | ||
</package> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
18 changes: 18 additions & 0 deletions
18
NuGet/Spark.Web.Mvc3/1.5/Content/AppStart_SparkWebMvc.cs.pp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System.Web.Mvc; | ||
using Spark; | ||
using Spark.Web.Mvc; | ||
|
||
[assembly: WebActivator.PreApplicationStartMethod(typeof($rootnamespace$.AppStart_SparkWebMvc), "Start")] | ||
|
||
namespace $rootnamespace$ { | ||
public static class AppStart_SparkWebMvc { | ||
public static void Start() { | ||
var settings = new SparkSettings(); | ||
settings.SetAutomaticEncoding(true); | ||
|
||
// Note: you can change the list of namespace and assembly | ||
// references in Views\Shared\_global.spark | ||
SparkEngineStarter.RegisterViewEngine(settings); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<use namespace="System"/> | ||
<use namespace="System.Collections.Generic"/> | ||
<use namespace="System.Linq"/> | ||
<use namespace="System.Web.Mvc"/> | ||
<use namespace="System.Web.Mvc.Html"/> | ||
|
||
<use assembly="Spark.Web.Mvc"/> | ||
<use assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> | ||
<use assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0"?> | ||
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||
<id>Spark.Web.Mvc3</id> | ||
<version>1.5</version> | ||
<authors>Louis DeJardin & Robert Greyling</authors> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>Spark View Engine for ASP.NET MVC.</description> | ||
<summary>Spark View Engine for ASP.NET MVC.</summary> | ||
<language>en-US</language> | ||
<dependencies> | ||
<dependency id="Spark" version="1.5" /> | ||
<dependency id="WebActivator" version="1.0.0.0" /> | ||
</dependencies> | ||
</metadata> | ||
</package> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0"?> | ||
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||
<id>Spark</id> | ||
<version>1.1</version> | ||
<authors>Louis DeJardin & Robert Greyling</authors> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>Spark View Engine Core.</description> | ||
<summary>Spark View Engine Core.</summary> | ||
<language>en-US</language> | ||
</metadata> | ||
</package> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0"?> | ||
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||
<id>Spark</id> | ||
<version>1.5</version> | ||
<authors>Louis DeJardin & Robert Greyling</authors> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>Spark View Engine Core.</description> | ||
<summary>Spark View Engine Core.</summary> | ||
<language>en-US</language> | ||
</metadata> | ||
</package> |
Binary file not shown.
Binary file not shown.