public static void SetupEngine() { engine = new SparkViewEngine (); engine.DefaultPageBaseType = "Manos.Spark.ManosSparkTemplate"; var vf = new FileSystemViewFolder ("Templates"); vf.AddLayoutsPath ("Templates"); engine.ViewFolder = vf; }
public static void SetupEngine() { var settings = new SparkSettings (); settings.SetDebug (true); engine = new SparkViewEngine (settings); engine.DefaultPageBaseType = "Manos.Spark.ManosSparkTemplate"; var vf = new FileSystemViewFolder ("Templates"); vf.AddLayoutsPath ("Templates"); engine.ViewFolder = vf; }