Update: 3rd Party Libraries
Newtonsoft.Json 5.0.8; RazorGenerator.Mvc 2.1.2; jQuery 2.0.3; jQuery Validate Unobtrusive 3.0.0; Microsoft.Net.Http 2.1.10; KnockoutJS 2.3.0; Highcharts 2.0; T4MVC 3.7.4; TinyMCE 4.0.9
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.WebPages;
|
||||
using RazorGenerator.Mvc;
|
||||
|
||||
[assembly: WebActivatorEx.PostApplicationStartMethod(typeof(Disco.Services.App_Start.RazorGeneratorMvcStart), "Start")]
|
||||
|
||||
namespace Disco.Services.App_Start {
|
||||
public static class RazorGeneratorMvcStart {
|
||||
public static void Start() {
|
||||
var engine = new PrecompiledMvcEngine(typeof(RazorGeneratorMvcStart).Assembly) {
|
||||
UsePhysicalViewsIfNewer = HttpContext.Current.Request.IsLocal
|
||||
};
|
||||
|
||||
ViewEngines.Engines.Insert(0, engine);
|
||||
|
||||
// StartPage lookups are done by WebPages.
|
||||
VirtualPathFactoryManager.RegisterVirtualPathFactory(engine);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user