Fix package dependencies
Removed some extraneous dependencies and instead made all the diagnostics packages be independent packages that happen to share some concepts/source code. The common Razor base class code was moved to a shared source file. Then the Diagnostics page, ELM page, and EF database page all use that. Also updated the page generator to use the new shared code. See #257
This commit is contained in:
parent
f1d588bb54
commit
0f74187a81
|
|
@ -51,6 +51,8 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Middle
|
||||||
EndProject
|
EndProject
|
||||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Diagnostics.FunctionalTests", "test\Microsoft.AspNetCore.Diagnostics.FunctionalTests\Microsoft.AspNetCore.Diagnostics.FunctionalTests.xproj", "{BFDFE1E3-A6A9-4DAB-8939-1DA306FC69C8}"
|
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Diagnostics.FunctionalTests", "test\Microsoft.AspNetCore.Diagnostics.FunctionalTests\Microsoft.AspNetCore.Diagnostics.FunctionalTests.xproj", "{BFDFE1E3-A6A9-4DAB-8939-1DA306FC69C8}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.DiagnosticsViewPage.Sources", "src\Microsoft.AspNetCore.DiagnosticsViewPage.Sources\Microsoft.AspNetCore.DiagnosticsViewPage.Sources.xproj", "{B9F08060-621F-4E1F-BDA8-9C4EA107E08A}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
|
@ -275,6 +277,18 @@ Global
|
||||||
{BFDFE1E3-A6A9-4DAB-8939-1DA306FC69C8}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
{BFDFE1E3-A6A9-4DAB-8939-1DA306FC69C8}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||||
{BFDFE1E3-A6A9-4DAB-8939-1DA306FC69C8}.Release|x86.ActiveCfg = Release|Any CPU
|
{BFDFE1E3-A6A9-4DAB-8939-1DA306FC69C8}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
{BFDFE1E3-A6A9-4DAB-8939-1DA306FC69C8}.Release|x86.Build.0 = Release|Any CPU
|
{BFDFE1E3-A6A9-4DAB-8939-1DA306FC69C8}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{B9F08060-621F-4E1F-BDA8-9C4EA107E08A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{B9F08060-621F-4E1F-BDA8-9C4EA107E08A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{B9F08060-621F-4E1F-BDA8-9C4EA107E08A}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||||
|
{B9F08060-621F-4E1F-BDA8-9C4EA107E08A}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||||
|
{B9F08060-621F-4E1F-BDA8-9C4EA107E08A}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{B9F08060-621F-4E1F-BDA8-9C4EA107E08A}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{B9F08060-621F-4E1F-BDA8-9C4EA107E08A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{B9F08060-621F-4E1F-BDA8-9C4EA107E08A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{B9F08060-621F-4E1F-BDA8-9C4EA107E08A}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||||
|
{B9F08060-621F-4E1F-BDA8-9C4EA107E08A}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||||
|
{B9F08060-621F-4E1F-BDA8-9C4EA107E08A}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{B9F08060-621F-4E1F-BDA8-9C4EA107E08A}.Release|x86.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|
@ -299,5 +313,6 @@ Global
|
||||||
{95981429-F212-44E1-83AA-32DA9E2A517C} = {ACAA0157-A8C4-4152-93DE-90CCDF304087}
|
{95981429-F212-44E1-83AA-32DA9E2A517C} = {ACAA0157-A8C4-4152-93DE-90CCDF304087}
|
||||||
{B0166AED-738F-42EE-AF4D-C487C8B21521} = {2AF90579-B118-4583-AE88-672EFACB5BC4}
|
{B0166AED-738F-42EE-AF4D-C487C8B21521} = {2AF90579-B118-4583-AE88-672EFACB5BC4}
|
||||||
{BFDFE1E3-A6A9-4DAB-8939-1DA306FC69C8} = {2AF90579-B118-4583-AE88-672EFACB5BC4}
|
{BFDFE1E3-A6A9-4DAB-8939-1DA306FC69C8} = {2AF90579-B118-4583-AE88-672EFACB5BC4}
|
||||||
|
{B9F08060-621F-4E1F-BDA8-9C4EA107E08A} = {509A6F36-AD80-4A18-B5B1-717D38DFF29D}
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
"adx-nonshipping": {
|
"adx-nonshipping": {
|
||||||
"rules": [],
|
"rules": [],
|
||||||
"packages": {
|
"packages": {
|
||||||
|
"Microsoft.AspNetCore.DiagnosticsViewPage.Sources": { },
|
||||||
"PageGenerator": { }
|
"PageGenerator": { }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,11 @@
|
||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"Microsoft.AspNetCore.Diagnostics": "1.0.0-*",
|
||||||
"Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore": "1.0.0-*",
|
"Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore": "1.0.0-*",
|
||||||
"Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*",
|
"Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*",
|
||||||
|
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
|
||||||
"Microsoft.EntityFrameworkCore.SqlServer": "1.0.0-*",
|
"Microsoft.EntityFrameworkCore.SqlServer": "1.0.0-*",
|
||||||
"Microsoft.EntityFrameworkCore.Commands": "1.0.0-*",
|
"Microsoft.EntityFrameworkCore.Commands": "1.0.0-*",
|
||||||
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
|
|
||||||
"Microsoft.NETCore.Platforms": "1.0.1-*"
|
"Microsoft.NETCore.Platforms": "1.0.1-*"
|
||||||
},
|
},
|
||||||
"compilationOptions": {
|
"compilationOptions": {
|
||||||
|
|
|
||||||
|
|
@ -25,13 +25,13 @@ using Microsoft.AspNetCore.Diagnostics.Elm
|
||||||
#line hidden
|
#line hidden
|
||||||
;
|
;
|
||||||
#line 5 "DetailsPage.cshtml"
|
#line 5 "DetailsPage.cshtml"
|
||||||
using Microsoft.AspNetCore.Diagnostics.Views
|
using Microsoft.AspNetCore.Diagnostics.Elm.Views
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
;
|
;
|
||||||
#line 6 "DetailsPage.cshtml"
|
#line 6 "DetailsPage.cshtml"
|
||||||
using Microsoft.AspNetCore.Diagnostics.Elm.Views
|
using Microsoft.AspNetCore.DiagnosticsViewPage.Views
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
@ -44,7 +44,7 @@ using Microsoft.Extensions.Logging
|
||||||
;
|
;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
public class DetailsPage : Microsoft.AspNetCore.Diagnostics.Views.BaseView
|
public class DetailsPage : Microsoft.AspNetCore.DiagnosticsViewPage.Views.BaseView
|
||||||
{
|
{
|
||||||
#line 10 "DetailsPage.cshtml"
|
#line 10 "DetailsPage.cshtml"
|
||||||
|
|
||||||
|
|
@ -423,9 +423,9 @@ using Microsoft.Extensions.Logging
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
WriteLiteral(" <option");
|
WriteLiteral(" <option");
|
||||||
BeginWriteAttribute("value", " value=\"", 7715, "\"", 7735, 1);
|
BeginWriteAttribute("value", " value=\"", 7723, "\"", 7743, 1);
|
||||||
#line 226 "DetailsPage.cshtml"
|
#line 226 "DetailsPage.cshtml"
|
||||||
WriteAttributeValue("", 7723, severityInt, 7723, 12, false);
|
WriteAttributeValue("", 7731, severityInt, 7731, 12, false);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
@ -446,9 +446,9 @@ WriteAttributeValue("", 7723, severityInt, 7723, 12, false);
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
WriteLiteral(" <option");
|
WriteLiteral(" <option");
|
||||||
BeginWriteAttribute("value", " value=\"", 7864, "\"", 7884, 1);
|
BeginWriteAttribute("value", " value=\"", 7872, "\"", 7892, 1);
|
||||||
#line 230 "DetailsPage.cshtml"
|
#line 230 "DetailsPage.cshtml"
|
||||||
WriteAttributeValue("", 7872, severityInt, 7872, 12, false);
|
WriteAttributeValue("", 7880, severityInt, 7880, 12, false);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
@ -468,9 +468,9 @@ WriteAttributeValue("", 7872, severityInt, 7872, 12, false);
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
WriteLiteral(" </select>\r\n <input type=\"text\" name=\"name\"");
|
WriteLiteral(" </select>\r\n <input type=\"text\" name=\"name\"");
|
||||||
BeginWriteAttribute("value", " value=\"", 7997, "\"", 8030, 1);
|
BeginWriteAttribute("value", " value=\"", 8005, "\"", 8038, 1);
|
||||||
#line 234 "DetailsPage.cshtml"
|
#line 234 "DetailsPage.cshtml"
|
||||||
WriteAttributeValue("", 8005, Model.Options.NamePrefix, 8005, 25, false);
|
WriteAttributeValue("", 8013, Model.Options.NamePrefix, 8013, 25, false);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
@using System.Globalization
|
@using System.Globalization
|
||||||
@using System.Linq
|
@using System.Linq
|
||||||
@using Microsoft.AspNetCore.Diagnostics.Elm
|
@using Microsoft.AspNetCore.Diagnostics.Elm
|
||||||
@using Microsoft.AspNetCore.Diagnostics.Views
|
|
||||||
@using Microsoft.AspNetCore.Diagnostics.Elm.Views
|
@using Microsoft.AspNetCore.Diagnostics.Elm.Views
|
||||||
|
@using Microsoft.AspNetCore.DiagnosticsViewPage.Views
|
||||||
@using Microsoft.Extensions.Logging
|
@using Microsoft.Extensions.Logging
|
||||||
|
|
||||||
@functions
|
@functions
|
||||||
|
|
|
||||||
|
|
@ -25,19 +25,19 @@ using System.Linq
|
||||||
#line hidden
|
#line hidden
|
||||||
;
|
;
|
||||||
#line 5 "LogPage.cshtml"
|
#line 5 "LogPage.cshtml"
|
||||||
using Microsoft.AspNetCore.Diagnostics.Elm.Views
|
|
||||||
|
|
||||||
#line default
|
|
||||||
#line hidden
|
|
||||||
;
|
|
||||||
#line 6 "LogPage.cshtml"
|
|
||||||
using Microsoft.AspNetCore.Diagnostics.Elm
|
using Microsoft.AspNetCore.Diagnostics.Elm
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
;
|
||||||
|
#line 6 "LogPage.cshtml"
|
||||||
|
using Microsoft.AspNetCore.Diagnostics.Elm.Views
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
;
|
;
|
||||||
#line 7 "LogPage.cshtml"
|
#line 7 "LogPage.cshtml"
|
||||||
using Microsoft.AspNetCore.Diagnostics.Views
|
using Microsoft.AspNetCore.DiagnosticsViewPage.Views
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
@ -50,7 +50,7 @@ using Microsoft.Extensions.Logging
|
||||||
;
|
;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
public class LogPage : Microsoft.AspNetCore.Diagnostics.Views.BaseView
|
public class LogPage : Microsoft.AspNetCore.DiagnosticsViewPage.Views.BaseView
|
||||||
{
|
{
|
||||||
#line 11 "LogPage.cshtml"
|
#line 11 "LogPage.cshtml"
|
||||||
|
|
||||||
|
|
@ -208,9 +208,9 @@ using Microsoft.Extensions.Logging
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
WriteLiteral(" <option");
|
WriteLiteral(" <option");
|
||||||
BeginWriteAttribute("value", " value=\"", 4926, "\"", 4946, 1);
|
BeginWriteAttribute("value", " value=\"", 4934, "\"", 4954, 1);
|
||||||
#line 138 "LogPage.cshtml"
|
#line 138 "LogPage.cshtml"
|
||||||
WriteAttributeValue("", 4934, severityInt, 4934, 12, false);
|
WriteAttributeValue("", 4942, severityInt, 4942, 12, false);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
@ -231,9 +231,9 @@ WriteAttributeValue("", 4934, severityInt, 4934, 12, false);
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
WriteLiteral(" <option");
|
WriteLiteral(" <option");
|
||||||
BeginWriteAttribute("value", " value=\"", 5075, "\"", 5095, 1);
|
BeginWriteAttribute("value", " value=\"", 5083, "\"", 5103, 1);
|
||||||
#line 142 "LogPage.cshtml"
|
#line 142 "LogPage.cshtml"
|
||||||
WriteAttributeValue("", 5083, severityInt, 5083, 12, false);
|
WriteAttributeValue("", 5091, severityInt, 5091, 12, false);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
@ -253,9 +253,9 @@ WriteAttributeValue("", 5083, severityInt, 5083, 12, false);
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
WriteLiteral(" </select>\r\n <input type=\"text\" name=\"name\"");
|
WriteLiteral(" </select>\r\n <input type=\"text\" name=\"name\"");
|
||||||
BeginWriteAttribute("value", " value=\"", 5208, "\"", 5241, 1);
|
BeginWriteAttribute("value", " value=\"", 5216, "\"", 5249, 1);
|
||||||
#line 146 "LogPage.cshtml"
|
#line 146 "LogPage.cshtml"
|
||||||
WriteAttributeValue("", 5216, Model.Options.NamePrefix, 5216, 25, false);
|
WriteAttributeValue("", 5224, Model.Options.NamePrefix, 5224, 25, false);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
@ -315,16 +315,16 @@ WriteAttributeValue("", 5216, Model.Options.NamePrefix, 5216, 25, false);
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
WriteLiteral(" \t<td><a");
|
WriteLiteral(" \t<td><a");
|
||||||
BeginWriteAttribute("href", " href=\"", 6305, "\"", 6325, 1);
|
BeginWriteAttribute("href", " href=\"", 6313, "\"", 6333, 1);
|
||||||
#line 178 "LogPage.cshtml"
|
#line 178 "LogPage.cshtml"
|
||||||
WriteAttributeValue("", 6312, activityPath, 6312, 13, false);
|
WriteAttributeValue("", 6320, activityPath, 6320, 13, false);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
EndWriteAttribute();
|
EndWriteAttribute();
|
||||||
BeginWriteAttribute("title", " title=\"", 6326, "\"", 6357, 1);
|
BeginWriteAttribute("title", " title=\"", 6334, "\"", 6365, 1);
|
||||||
#line 178 "LogPage.cshtml"
|
#line 178 "LogPage.cshtml"
|
||||||
WriteAttributeValue("", 6334, activity.HttpInfo.Path, 6334, 23, false);
|
WriteAttributeValue("", 6342, activity.HttpInfo.Path, 6342, 23, false);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
@ -363,16 +363,16 @@ WriteAttributeValue("", 6334, activity.HttpInfo.Path, 6334, 23, false);
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
WriteLiteral(" <td colspan=\"4\"><a");
|
WriteLiteral(" <td colspan=\"4\"><a");
|
||||||
BeginWriteAttribute("href", " href=\"", 6747, "\"", 6767, 1);
|
BeginWriteAttribute("href", " href=\"", 6755, "\"", 6775, 1);
|
||||||
#line 185 "LogPage.cshtml"
|
#line 185 "LogPage.cshtml"
|
||||||
WriteAttributeValue("", 6754, activityPath, 6754, 13, false);
|
WriteAttributeValue("", 6762, activityPath, 6762, 13, false);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
EndWriteAttribute();
|
EndWriteAttribute();
|
||||||
BeginWriteAttribute("title", " title=\"", 6768, "\"", 6796, 1);
|
BeginWriteAttribute("title", " title=\"", 6776, "\"", 6804, 1);
|
||||||
#line 185 "LogPage.cshtml"
|
#line 185 "LogPage.cshtml"
|
||||||
WriteAttributeValue("", 6776, activity.Root.State, 6776, 20, false);
|
WriteAttributeValue("", 6784, activity.Root.State, 6784, 20, false);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
@ -393,9 +393,9 @@ WriteAttributeValue("", 6776, activity.Root.State, 6776, 20, false);
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
WriteLiteral(" <td colspan=\"4\"><a");
|
WriteLiteral(" <td colspan=\"4\"><a");
|
||||||
BeginWriteAttribute("href", " href=\"", 6959, "\"", 6979, 1);
|
BeginWriteAttribute("href", " href=\"", 6967, "\"", 6987, 1);
|
||||||
#line 189 "LogPage.cshtml"
|
#line 189 "LogPage.cshtml"
|
||||||
WriteAttributeValue("", 6966, activityPath, 6966, 13, false);
|
WriteAttributeValue("", 6974, activityPath, 6974, 13, false);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
@using System.Collections.Generic
|
@using System.Collections.Generic
|
||||||
@using System.Globalization
|
@using System.Globalization
|
||||||
@using System.Linq
|
@using System.Linq
|
||||||
@using Microsoft.AspNetCore.Diagnostics.Elm.Views
|
|
||||||
@using Microsoft.AspNetCore.Diagnostics.Elm
|
@using Microsoft.AspNetCore.Diagnostics.Elm
|
||||||
@using Microsoft.AspNetCore.Diagnostics.Views
|
@using Microsoft.AspNetCore.Diagnostics.Elm.Views
|
||||||
|
@using Microsoft.AspNetCore.DiagnosticsViewPage.Views
|
||||||
@using Microsoft.Extensions.Logging
|
@using Microsoft.Extensions.Logging
|
||||||
|
|
||||||
@functions
|
@functions
|
||||||
|
|
|
||||||
|
|
@ -19,11 +19,20 @@
|
||||||
"url": "git://github.com/aspnet/diagnostics"
|
"url": "git://github.com/aspnet/diagnostics"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNetCore.Diagnostics": "1.0.0-*",
|
"Microsoft.AspNetCore.DiagnosticsViewPage.Sources": {
|
||||||
"Microsoft.Extensions.Logging.Abstractions": "1.0.0-*"
|
"type": "build",
|
||||||
|
"version": "1.0.0-*"
|
||||||
|
},
|
||||||
|
"Microsoft.AspNetCore.Http.Abstractions": "1.0.0-*",
|
||||||
|
"Microsoft.Extensions.Logging.Abstractions": "1.0.0-*",
|
||||||
|
"Microsoft.Extensions.Options": "1.0.0-*"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"net451": { },
|
"net451": {
|
||||||
|
"frameworkAssemblies": {
|
||||||
|
"System.IO": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"netstandard1.3": {
|
"netstandard1.3": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"System.Threading": "4.0.11-*"
|
"System.Threading": "4.0.11-*"
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ using Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Views
|
||||||
;
|
;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
public class DatabaseErrorPage : Microsoft.AspNetCore.Diagnostics.Views.BaseView
|
public class DatabaseErrorPage : Microsoft.AspNetCore.DiagnosticsViewPage.Views.BaseView
|
||||||
{
|
{
|
||||||
#line 11 "DatabaseErrorPage.cshtml"
|
#line 11 "DatabaseErrorPage.cshtml"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,16 +20,18 @@
|
||||||
"xmlDoc": true
|
"xmlDoc": true
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNetCore.Diagnostics": "1.0.0-*",
|
"Microsoft.AspNetCore.DiagnosticsViewPage.Sources": {
|
||||||
|
"type": "build",
|
||||||
|
"version": "1.0.0-*"
|
||||||
|
},
|
||||||
|
"Microsoft.AspNetCore.Http.Abstractions": "1.0.0-*",
|
||||||
"Microsoft.EntityFrameworkCore.Relational": "1.0.0-*"
|
"Microsoft.EntityFrameworkCore.Relational": "1.0.0-*"
|
||||||
},
|
},
|
||||||
"compile": [
|
|
||||||
"..\\Shared\\*.cs"
|
|
||||||
],
|
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"net451": {
|
"net451": {
|
||||||
"frameworkAssemblies": {
|
"frameworkAssemblies": {
|
||||||
"System.Configuration": ""
|
"System.Configuration": "",
|
||||||
|
"System.IO": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"netstandard1.3": {
|
"netstandard1.3": {
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ using Microsoft.AspNetCore.Diagnostics
|
||||||
;
|
;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
public class CompilationErrorPage : Microsoft.AspNetCore.Diagnostics.Views.BaseView
|
public class CompilationErrorPage : Microsoft.AspNetCore.DiagnosticsViewPage.Views.BaseView
|
||||||
{
|
{
|
||||||
#line 7 "CompilationErrorPage.cshtml"
|
#line 7 "CompilationErrorPage.cshtml"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ using Microsoft.AspNetCore.Diagnostics
|
||||||
;
|
;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
public class ErrorPage : Microsoft.AspNetCore.Diagnostics.Views.BaseView
|
public class ErrorPage : Microsoft.AspNetCore.DiagnosticsViewPage.Views.BaseView
|
||||||
{
|
{
|
||||||
#line 8 "ErrorPage.cshtml"
|
#line 8 "ErrorPage.cshtml"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ using Microsoft.Extensions.PlatformAbstractions;
|
||||||
#line hidden
|
#line hidden
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
public class RuntimeInfoPage : Microsoft.AspNetCore.Diagnostics.Views.BaseView
|
public class RuntimeInfoPage : Microsoft.AspNetCore.DiagnosticsViewPage.Views.BaseView
|
||||||
{
|
{
|
||||||
#line 9 "RuntimeInfoPage.cshtml"
|
#line 9 "RuntimeInfoPage.cshtml"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ using Microsoft.AspNetCore.Diagnostics
|
||||||
;
|
;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
public class WelcomePage : Microsoft.AspNetCore.Diagnostics.Views.BaseView
|
public class WelcomePage : Microsoft.AspNetCore.DiagnosticsViewPage.Views.BaseView
|
||||||
{
|
{
|
||||||
#line hidden
|
#line hidden
|
||||||
public WelcomePage()
|
public WelcomePage()
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,10 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNetCore.Diagnostics.Abstractions": "1.0.0-*",
|
"Microsoft.AspNetCore.Diagnostics.Abstractions": "1.0.0-*",
|
||||||
|
"Microsoft.AspNetCore.DiagnosticsViewPage.Sources": {
|
||||||
|
"type": "build",
|
||||||
|
"version": "1.0.0-*"
|
||||||
|
},
|
||||||
"Microsoft.AspNetCore.Http.Extensions": "1.0.0-*",
|
"Microsoft.AspNetCore.Http.Extensions": "1.0.0-*",
|
||||||
"Microsoft.AspNetCore.WebUtilities": "1.0.0-*",
|
"Microsoft.AspNetCore.WebUtilities": "1.0.0-*",
|
||||||
"Microsoft.Extensions.FileProviders.Physical": "1.0.0-*",
|
"Microsoft.Extensions.FileProviders.Physical": "1.0.0-*",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace Microsoft.AspNetCore.Diagnostics.Views
|
namespace Microsoft.AspNetCore.DiagnosticsViewPage.Views
|
||||||
{
|
{
|
||||||
public class AttributeValue
|
public class AttributeValue
|
||||||
{
|
{
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
|
@ -13,7 +12,7 @@ using System.Text.Encodings.Web;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Http;
|
||||||
|
|
||||||
namespace Microsoft.AspNetCore.Diagnostics.Views
|
namespace Microsoft.AspNetCore.DiagnosticsViewPage.Views
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Infrastructure
|
/// Infrastructure
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace Microsoft.AspNetCore.Diagnostics.Views
|
namespace Microsoft.AspNetCore.DiagnosticsViewPage.Views
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a deferred write operation in a <see cref="BaseView"/>.
|
/// Represents a deferred write operation in a <see cref="BaseView"/>.
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="14.0.24720" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.24720</VisualStudioVersion>
|
||||||
|
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>b9f08060-621f-4e1f-bda8-9c4ea107e08a</ProjectGuid>
|
||||||
|
<RootNamespace>Microsoft.AspNetCore.DiagnosticsViewPage.Sources</RootNamespace>
|
||||||
|
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
|
||||||
|
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||||
|
</Project>
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"version": "1.0.0-*",
|
||||||
|
"shared": "*.cs",
|
||||||
|
"dependencies": {},
|
||||||
|
"frameworks": {
|
||||||
|
"netstandard1.0": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -61,7 +61,7 @@ namespace PageGenerator
|
||||||
var fileNameNoExtension = Path.GetFileNameWithoutExtension(fileName);
|
var fileNameNoExtension = Path.GetFileNameWithoutExtension(fileName);
|
||||||
var codeLang = new CSharpRazorCodeLanguage();
|
var codeLang = new CSharpRazorCodeLanguage();
|
||||||
var host = new RazorEngineHost(codeLang);
|
var host = new RazorEngineHost(codeLang);
|
||||||
host.DefaultBaseClass = "Microsoft.AspNetCore.Diagnostics.Views.BaseView";
|
host.DefaultBaseClass = "Microsoft.AspNetCore.DiagnosticsViewPage.Views.BaseView";
|
||||||
host.GeneratedClassContext = new GeneratedClassContext(
|
host.GeneratedClassContext = new GeneratedClassContext(
|
||||||
executeMethodName: GeneratedClassContext.DefaultExecuteMethodName,
|
executeMethodName: GeneratedClassContext.DefaultExecuteMethodName,
|
||||||
writeMethodName: GeneratedClassContext.DefaultWriteMethodName,
|
writeMethodName: GeneratedClassContext.DefaultWriteMethodName,
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
"keyFile": "../../tools/Key.snk"
|
"keyFile": "../../tools/Key.snk"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"Microsoft.AspNetCore.Diagnostics": "1.0.0-*",
|
||||||
"Microsoft.AspNetCore.Diagnostics.Elm": "0.1.0-*",
|
"Microsoft.AspNetCore.Diagnostics.Elm": "0.1.0-*",
|
||||||
"Microsoft.AspNetCore.TestHost": "1.0.0-*",
|
"Microsoft.AspNetCore.TestHost": "1.0.0-*",
|
||||||
"Microsoft.AspNetCore.Testing": "1.0.0-*",
|
"Microsoft.AspNetCore.Testing": "1.0.0-*",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue