diff --git a/KendoBooksWidget/KendoBooksWidget.sln.GhostDoc.xml b/KendoBooksWidget/KendoBooksWidget.sln.GhostDoc.xml new file mode 100644 index 00000000..0c987e9b --- /dev/null +++ b/KendoBooksWidget/KendoBooksWidget.sln.GhostDoc.xml @@ -0,0 +1,6 @@ + + + *.min.js + jquery*.js + + diff --git a/KendoBooksWidget/KendoBooksWidget/App_Start/RazorGeneratorMvcStart.cs b/KendoBooksWidget/KendoBooksWidget/App_Start/RazorGeneratorMvcStart.cs new file mode 100644 index 00000000..c301fe06 --- /dev/null +++ b/KendoBooksWidget/KendoBooksWidget/App_Start/RazorGeneratorMvcStart.cs @@ -0,0 +1,21 @@ +using System.Web; +using System.Web.Mvc; +using System.Web.WebPages; +using RazorGenerator.Mvc; + +[assembly: WebActivatorEx.PostApplicationStartMethod(typeof(KendoBooksWidget.RazorGeneratorMvcStart), "Start")] + +namespace KendoBooksWidget { + 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); + } + } +} diff --git a/KendoBooksWidget/KendoBooksWidget/KendoBooksWidget.csproj b/KendoBooksWidget/KendoBooksWidget/KendoBooksWidget.csproj index dd2233da..656e1f02 100644 --- a/KendoBooksWidget/KendoBooksWidget/KendoBooksWidget.csproj +++ b/KendoBooksWidget/KendoBooksWidget/KendoBooksWidget.csproj @@ -43,9 +43,15 @@ ..\packages\Ninject.3.2.2.0\lib\net45-full\Ninject.dll + + ..\packages\Ninject.Web.Common.3.2.3.0\lib\net45-full\Ninject.Web.Common.dll + ..\packages\Sitefinity.RazorEngine.3.0.8.0\lib\net40\RazorEngine.dll + + ..\packages\RazorGenerator.Mvc.2.3.12\lib\net40\RazorGenerator.Mvc.dll + @@ -79,46 +85,53 @@ - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.dll - ..\packages\Telerik.Sitefinity.Feather.Core.1.4.360.0\lib\net45\Telerik.Sitefinity.Frontend.dll + ..\packages\Telerik.Sitefinity.Feather.Core.1.5.470.0\lib\net45\Telerik.Sitefinity.Frontend.dll + + + ..\packages\Telerik.Sitefinity.Feather.Core.1.5.470.0\lib\net45\Telerik.Sitefinity.Frontend.Data.dll - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Model.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Model.dll - ..\packages\Telerik.Sitefinity.Mvc.1.4.360.0\lib\net45\Telerik.Sitefinity.Mvc.dll + ..\packages\Telerik.Sitefinity.Mvc.1.5.470.0\lib\net45\Telerik.Sitefinity.Mvc.dll - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Personalization.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Personalization.dll - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Resources.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Resources.dll - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Search.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Search.dll - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Services.Comments.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Services.Comments.dll - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Services.Documents.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Services.Documents.dll - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Services.Events.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Services.Events.dll - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Services.Notifications.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Services.Notifications.dll - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Services.Statistics.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Services.Statistics.dll - ..\packages\Telerik.Sitefinity.Core.8.2.5900.0\lib\net40\Telerik.Sitefinity.Utilities.dll + ..\packages\Telerik.Sitefinity.Core.9.0.6000.0\lib\net40\Telerik.Sitefinity.Utilities.dll + + + ..\packages\WebActivatorEx.2.0.3\lib\net40\WebActivatorEx.dll + diff --git a/KendoBooksWidget/KendoBooksWidget/app.config b/KendoBooksWidget/KendoBooksWidget/app.config index 5127e129..4938e7e0 100644 --- a/KendoBooksWidget/KendoBooksWidget/app.config +++ b/KendoBooksWidget/KendoBooksWidget/app.config @@ -10,6 +10,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/KendoBooksWidget/KendoBooksWidget/packages.config b/KendoBooksWidget/KendoBooksWidget/packages.config index fdbbcd5c..e76a373c 100644 --- a/KendoBooksWidget/KendoBooksWidget/packages.config +++ b/KendoBooksWidget/KendoBooksWidget/packages.config @@ -5,9 +5,12 @@ + + - - - + + + + \ No newline at end of file