diff --git a/TestRibbon/TestRibbon.sln b/TestRibbon/TestRibbon.sln
new file mode 100644
index 0000000..d89eb0e
--- /dev/null
+++ b/TestRibbon/TestRibbon.sln
@@ -0,0 +1,31 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.14.36717.8
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestRibbon", "TestRibbon\TestRibbon\TestRibbon.csproj", "{D054A8B7-C3A0-45F4-BED8-72D6E5BFA426}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestRibbon.Client", "TestRibbon\TestRibbon.Client\TestRibbon.Client.csproj", "{E09A355F-B5AC-4FFB-A5E1-1FBA6F2030E6}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {D054A8B7-C3A0-45F4-BED8-72D6E5BFA426}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D054A8B7-C3A0-45F4-BED8-72D6E5BFA426}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D054A8B7-C3A0-45F4-BED8-72D6E5BFA426}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D054A8B7-C3A0-45F4-BED8-72D6E5BFA426}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E09A355F-B5AC-4FFB-A5E1-1FBA6F2030E6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E09A355F-B5AC-4FFB-A5E1-1FBA6F2030E6}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E09A355F-B5AC-4FFB-A5E1-1FBA6F2030E6}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E09A355F-B5AC-4FFB-A5E1-1FBA6F2030E6}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {4393B670-C7A9-491B-B375-29EBA5C2DB45}
+ EndGlobalSection
+EndGlobal
diff --git a/TestRibbon/TestRibbon/TestRibbon.Client/Pages/Counter.razor b/TestRibbon/TestRibbon/TestRibbon.Client/Pages/Counter.razor
new file mode 100644
index 0000000..64f17ef
--- /dev/null
+++ b/TestRibbon/TestRibbon/TestRibbon.Client/Pages/Counter.razor
@@ -0,0 +1,27 @@
+@page "/counter"
+@rendermode InteractiveAuto
+
+ Request ID: @RequestId
+
+ Swapping to Development environment will display more detailed information about the error that occurred. +
++ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development + and restarting the app. +
+ +@code{ + [CascadingParameter] + private HttpContext? HttpContext { get; set; } + + private string? RequestId { get; set; } + private bool ShowRequestId => !string.IsNullOrEmpty(RequestId); + + protected override void OnInitialized() => + RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier; +} diff --git a/TestRibbon/TestRibbon/TestRibbon/Components/Pages/Index.razor b/TestRibbon/TestRibbon/TestRibbon/Components/Pages/Index.razor new file mode 100644 index 0000000..dfa7d63 --- /dev/null +++ b/TestRibbon/TestRibbon/TestRibbon/Components/Pages/Index.razor @@ -0,0 +1,42 @@ +@page "/" +Loading...
+} +else +{ +