Skip to content

Commit b15396a

Browse files
committed
Upgraded to MiniProfiler 2.0 RC
1 parent 36837c7 commit b15396a

File tree

20 files changed

+2284
-1550
lines changed

20 files changed

+2284
-1550
lines changed

src/FunnelWeb.Web/Areas/Admin/Views/Shared/_Private.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
Html.RequiresJs("showdown.js", "Scripts", 1);
6868
Html.RequiresJs("wmd.js", "Scripts", 1);
6969
Html.RequiresJs("site.js", "Scripts", 1);
70-
@MvcMiniProfiler.MiniProfiler.RenderIncludes()
70+
@MiniProfiler.RenderIncludes()
7171
}
7272
@MvcHtmlString.Create(Html.RenderJsHere(new BasicPath("Scripts", "~/Scripts")))
7373
</body>

src/FunnelWeb.Web/Areas/Admin/Views/Web.config

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
<?xml version="1.0"?>
22

33
<configuration>
4+
<configSections>
5+
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
6+
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
7+
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
8+
</sectionGroup>
9+
</configSections>
10+
11+
<system.web.webPages.razor>
12+
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
13+
<pages pageBaseType="System.Web.Mvc.WebViewPage">
14+
<namespaces>
15+
<add namespace="System.Web.Mvc" />
16+
<add namespace="System.Web.Mvc.Ajax" />
17+
<add namespace="System.Web.Mvc.Html" />
18+
<add namespace="System.Web.Routing" />
19+
<add namespace="FunnelWeb.Web.Application.Extensions" />
20+
<add namespace="ClientDependency.Core.Mvc"/>
21+
<add namespace="ClientDependency.Core"/>
22+
<add namespace="StackExchange.Profiling"/>
23+
</namespaces>
24+
</pages>
25+
</system.web.webPages.razor>
426
<system.web>
527
<httpHandlers>
628
<add path="*" verb="*" type="System.Web.HttpNotFoundHandler"/>

src/FunnelWeb.Web/FunnelWeb.Web.csproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,8 @@
8080
<HintPath>C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies\Microsoft.Web.Infrastructure.dll</HintPath>
8181
<Private>True</Private>
8282
</Reference>
83-
<Reference Include="MvcMiniProfiler, Version=1.9.0.0, Culture=neutral, PublicKeyToken=b44f9351044011a3, processorArchitecture=MSIL">
84-
<SpecificVersion>False</SpecificVersion>
85-
<HintPath>..\packages\MiniProfiler.1.9\lib\net40\MvcMiniProfiler.dll</HintPath>
83+
<Reference Include="MiniProfiler">
84+
<HintPath>..\packages\MiniProfiler.2.0.0-rc1\lib\net40\MiniProfiler.dll</HintPath>
8685
</Reference>
8786
<Reference Include="NHibernate, Version=3.2.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
8887
<SpecificVersion>False</SpecificVersion>

src/FunnelWeb.Web/Global.asax.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
using FunnelWeb.Web.Application.Mvc.Binders;
2222
using FunnelWeb.Web.Application.Spam;
2323
using FunnelWeb.Web.Application.Themes;
24-
using MvcMiniProfiler;
24+
using StackExchange.Profiling;
2525

2626
namespace FunnelWeb.Web
2727
{

src/FunnelWeb.Web/Views/Shared/_Public.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
Html.RequiresJs("wmd.js", "Scripts", 1);
104104
Html.RequiresJs("site.js", "Scripts", 1);
105105
}
106-
@MvcMiniProfiler.MiniProfiler.RenderIncludes()
106+
@MiniProfiler.RenderIncludes()
107107
@if (IsSectionDefined("Scripts"))
108108
{
109109
@RenderSection("Scripts")

src/FunnelWeb.Web/Views/Web.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<add namespace="FunnelWeb.Web.Application.Extensions" />
2020
<add namespace="ClientDependency.Core.Mvc"/>
2121
<add namespace="ClientDependency.Core"/>
22+
<add namespace="StackExchange.Profiling"/>
2223
</namespaces>
2324
</pages>
2425
</system.web.webPages.razor>

src/FunnelWeb.Web/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<package id="jQuery" version="1.7.1" />
1212
<package id="jQuery.UI.Combined" version="1.8.17" />
1313
<package id="jQuery.Validation" version="1.9" />
14-
<package id="MiniProfiler" version="1.9" />
14+
<package id="MiniProfiler" version="2.0.0-rc1" />
1515
<package id="NHibernate" version="3.2.0.4000" />
1616
<package id="SqlServerCompact" version="4.0.8482.1" />
1717
<package id="xmlrpcnet" version="2.5.0" />

src/FunnelWeb/DatabaseDeployer/DbProviders/ProfiledSqlClientDriver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using System;
22
using System.Data;
33
using System.Data.SqlClient;
4-
using MvcMiniProfiler;
54
using NHibernate.AdoNet;
65
using NHibernate.Driver;
6+
using StackExchange.Profiling;
77

88
namespace FunnelWeb.DatabaseDeployer.DbProviders
99
{

src/FunnelWeb/DatabaseDeployer/DbProviders/ProfiledSqlDbCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using System;
22
using System.Data.Common;
33
using System.Data.SqlClient;
4-
using MvcMiniProfiler;
5-
using MvcMiniProfiler.Data;
4+
using StackExchange.Profiling;
5+
using StackExchange.Profiling.Data;
66

77
namespace FunnelWeb.DatabaseDeployer.DbProviders
88
{

src/FunnelWeb/DatabaseDeployer/DbProviders/ProfiledSqlDbConnection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
using System.Data;
33
using System.Data.Common;
44
using System.Data.SqlClient;
5-
using MvcMiniProfiler;
6-
using MvcMiniProfiler.Data;
5+
using StackExchange.Profiling;
6+
using StackExchange.Profiling.Data;
77

88
namespace FunnelWeb.DatabaseDeployer.DbProviders
99
{

0 commit comments

Comments
 (0)