diff --git a/src/SQLCE4Umbraco/SqlCE4Umbraco.csproj b/src/SQLCE4Umbraco/SqlCE4Umbraco.csproj index 39bd976791..f99218283d 100644 --- a/src/SQLCE4Umbraco/SqlCE4Umbraco.csproj +++ b/src/SQLCE4Umbraco/SqlCE4Umbraco.csproj @@ -77,6 +77,7 @@ + diff --git a/src/SQLCE4Umbraco/app.config b/src/SQLCE4Umbraco/app.config new file mode 100644 index 0000000000..44298137ae --- /dev/null +++ b/src/SQLCE4Umbraco/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/Umbraco.Core/Profiling/WebProfiler.cs b/src/Umbraco.Core/Profiling/WebProfiler.cs index d3fd0daae0..6a9f17e193 100644 --- a/src/Umbraco.Core/Profiling/WebProfiler.cs +++ b/src/Umbraco.Core/Profiling/WebProfiler.cs @@ -82,9 +82,16 @@ namespace Umbraco.Core.Profiling return false; var request = TryGetRequest(sender); - if (request.Success == false || request.Result.Url.IsClientSideRequest() || string.IsNullOrEmpty(request.Result["umbDebug"])) + + if (request.Success == false || request.Result.Url.IsClientSideRequest()) return false; - + + if (string.IsNullOrEmpty(request.Result["umbDebug"])) + return true; + + if (request.Result.Url.IsBackOfficeRequest(HttpRuntime.AppDomainAppVirtualPath)) + return true; + return true; } diff --git a/src/Umbraco.Core/Umbraco.Core.csproj b/src/Umbraco.Core/Umbraco.Core.csproj index 47e0fcf0ad..baa46e79b7 100644 --- a/src/Umbraco.Core/Umbraco.Core.csproj +++ b/src/Umbraco.Core/Umbraco.Core.csproj @@ -55,8 +55,9 @@ True ..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll - - ..\packages\MiniProfiler.2.1.0\lib\net40\MiniProfiler.dll + + False + ..\packages\MiniProfiler.3.0.11\lib\net40\MiniProfiler.dll False @@ -1159,6 +1160,7 @@ + diff --git a/src/Umbraco.Core/app.config b/src/Umbraco.Core/app.config new file mode 100644 index 0000000000..44298137ae --- /dev/null +++ b/src/Umbraco.Core/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/Umbraco.Core/packages.config b/src/Umbraco.Core/packages.config index 496925edc5..3d897fa2a7 100644 --- a/src/Umbraco.Core/packages.config +++ b/src/Umbraco.Core/packages.config @@ -9,8 +9,8 @@ - - + + \ No newline at end of file diff --git a/src/Umbraco.Tests/App.config b/src/Umbraco.Tests/App.config index 2be62ac19b..042a2885a7 100644 --- a/src/Umbraco.Tests/App.config +++ b/src/Umbraco.Tests/App.config @@ -1,9 +1,9 @@ - + -
+
@@ -12,69 +12,69 @@ - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - + + + + + + + + + - + - + - + @@ -85,13 +85,13 @@ - - + + - + diff --git a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj index 762b4f5df3..56500005b8 100644 --- a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj +++ b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj @@ -157,9 +157,9 @@ False ..\packages\Microsoft.AspNet.Mvc.FixedDisplayModes.1.0.1\lib\net40\Microsoft.Web.Mvc.FixedDisplayModes.dll - - False - ..\packages\MiniProfiler.2.1.0\lib\net40\MiniProfiler.dll + + ..\packages\MiniProfiler.3.0.11\lib\net40\MiniProfiler.dll + True False diff --git a/src/Umbraco.Web.UI/config/umbracoSettings.config b/src/Umbraco.Web.UI/config/umbracoSettings.config index ab02e229e6..4f81f2a6c3 100644 --- a/src/Umbraco.Web.UI/config/umbracoSettings.config +++ b/src/Umbraco.Web.UI/config/umbracoSettings.config @@ -211,7 +211,7 @@ - + 0 @@ -220,6 +220,9 @@ + umb1.dev + umb2.dev + localhost diff --git a/src/Umbraco.Web.UI/packages.config b/src/Umbraco.Web.UI/packages.config index 3ccbeb971c..806e288bf8 100644 --- a/src/Umbraco.Web.UI/packages.config +++ b/src/Umbraco.Web.UI/packages.config @@ -22,7 +22,7 @@ - + diff --git a/src/Umbraco.Web.UI/umbraco/Views/Default.cshtml b/src/Umbraco.Web.UI/umbraco/Views/Default.cshtml index 78bfbd6330..3aa9b2f902 100644 --- a/src/Umbraco.Web.UI/umbraco/Views/Default.cshtml +++ b/src/Umbraco.Web.UI/umbraco/Views/Default.cshtml @@ -26,6 +26,7 @@ @Html.RenderCssHere( new BasicPath("Umbraco", IOHelper.ResolveUrl(SystemDirectories.Umbraco)), new BasicPath("UmbracoClient", IOHelper.ResolveUrl(SystemDirectories.UmbracoClient))) + @@ -61,6 +62,8 @@ @*And finally we can load in our angular app*@ + + @Html.RenderProfiler() diff --git a/src/Umbraco.Web/Umbraco.Web.csproj b/src/Umbraco.Web/Umbraco.Web.csproj index 98470bcf8e..76d96c8ad8 100644 --- a/src/Umbraco.Web/Umbraco.Web.csproj +++ b/src/Umbraco.Web/Umbraco.Web.csproj @@ -135,9 +135,13 @@ False ..\packages\Microsoft.AspNet.Mvc.FixedDisplayModes.1.0.1\lib\net40\Microsoft.Web.Mvc.FixedDisplayModes.dll - + False - ..\packages\MiniProfiler.2.1.0\lib\net40\MiniProfiler.dll + ..\packages\MiniProfiler.3.0.11\lib\net40\MiniProfiler.dll + True + + + ..\packages\MiniProfiler.Mvc4.3.0.11\lib\net40\MiniProfiler.Mvc.dll False diff --git a/src/Umbraco.Web/WebBootManager.cs b/src/Umbraco.Web/WebBootManager.cs index 65112efce7..cee2085d06 100644 --- a/src/Umbraco.Web/WebBootManager.cs +++ b/src/Umbraco.Web/WebBootManager.cs @@ -9,7 +9,7 @@ using System.Web.Http; using System.Web.Mvc; using System.Web.Routing; using ClientDependency.Core.Config; -using StackExchange.Profiling.MVCHelpers; +using StackExchange.Profiling.Mvc; using Umbraco.Core; using Umbraco.Core.Configuration; using Umbraco.Core.Dictionary; diff --git a/src/Umbraco.Web/packages.config b/src/Umbraco.Web/packages.config index 1389dc557d..5bfab3f92e 100644 --- a/src/Umbraco.Web/packages.config +++ b/src/Umbraco.Web/packages.config @@ -18,7 +18,8 @@ - + + diff --git a/src/UmbracoExamine.Azure/app.config b/src/UmbracoExamine.Azure/app.config index e72c720717..b77bae14a4 100644 --- a/src/UmbracoExamine.Azure/app.config +++ b/src/UmbracoExamine.Azure/app.config @@ -10,6 +10,10 @@ + + + + \ No newline at end of file diff --git a/src/UmbracoExamine.PDF.Azure/app.config b/src/UmbracoExamine.PDF.Azure/app.config index e72c720717..b77bae14a4 100644 --- a/src/UmbracoExamine.PDF.Azure/app.config +++ b/src/UmbracoExamine.PDF.Azure/app.config @@ -10,6 +10,10 @@ + + + + \ No newline at end of file diff --git a/src/UmbracoExamine.PDF/app.config b/src/UmbracoExamine.PDF/app.config index e72c720717..b77bae14a4 100644 --- a/src/UmbracoExamine.PDF/app.config +++ b/src/UmbracoExamine.PDF/app.config @@ -10,6 +10,10 @@ + + + + \ No newline at end of file diff --git a/src/UmbracoExamine/app.config b/src/UmbracoExamine/app.config index e72c720717..b77bae14a4 100644 --- a/src/UmbracoExamine/app.config +++ b/src/UmbracoExamine/app.config @@ -10,6 +10,10 @@ + + + + \ No newline at end of file diff --git a/src/umbraco.MacroEngines/app.config b/src/umbraco.MacroEngines/app.config new file mode 100644 index 0000000000..b859ea170a --- /dev/null +++ b/src/umbraco.MacroEngines/app.config @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/umbraco.MacroEngines/umbraco.MacroEngines.csproj b/src/umbraco.MacroEngines/umbraco.MacroEngines.csproj index cf88d26017..a32676380b 100644 --- a/src/umbraco.MacroEngines/umbraco.MacroEngines.csproj +++ b/src/umbraco.MacroEngines/umbraco.MacroEngines.csproj @@ -1,4 +1,4 @@ - + Debug @@ -224,6 +224,7 @@ Resources\Web.config + diff --git a/src/umbraco.businesslogic/app.config b/src/umbraco.businesslogic/app.config new file mode 100644 index 0000000000..a6a2b7fa9f --- /dev/null +++ b/src/umbraco.businesslogic/app.config @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/umbraco.cms/app.config b/src/umbraco.cms/app.config index e72c720717..b77bae14a4 100644 --- a/src/umbraco.cms/app.config +++ b/src/umbraco.cms/app.config @@ -10,6 +10,10 @@ + + + + \ No newline at end of file diff --git a/src/umbraco.controls/app.config b/src/umbraco.controls/app.config index e72c720717..b77bae14a4 100644 --- a/src/umbraco.controls/app.config +++ b/src/umbraco.controls/app.config @@ -10,6 +10,10 @@ + + + + \ No newline at end of file diff --git a/src/umbraco.datalayer/app.config b/src/umbraco.datalayer/app.config new file mode 100644 index 0000000000..44298137ae --- /dev/null +++ b/src/umbraco.datalayer/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/umbraco.datalayer/umbraco.datalayer.csproj b/src/umbraco.datalayer/umbraco.datalayer.csproj index f41302fde8..e91df3acd0 100644 --- a/src/umbraco.datalayer/umbraco.datalayer.csproj +++ b/src/umbraco.datalayer/umbraco.datalayer.csproj @@ -142,6 +142,7 @@ + diff --git a/src/umbraco.editorControls/app.config b/src/umbraco.editorControls/app.config index 568750da9c..b9e3ef148b 100644 --- a/src/umbraco.editorControls/app.config +++ b/src/umbraco.editorControls/app.config @@ -14,6 +14,10 @@ + + + + \ No newline at end of file diff --git a/src/umbraco.providers/app.config b/src/umbraco.providers/app.config index e72c720717..b77bae14a4 100644 --- a/src/umbraco.providers/app.config +++ b/src/umbraco.providers/app.config @@ -10,6 +10,10 @@ + + + + \ No newline at end of file