From 452a822b6296d3cf5142bbb0dfd6dbb86aa4a91a Mon Sep 17 00:00:00 2001
From: Artak <34246760+mkArtakMSFT@users.noreply.github.com>
Date: Thu, 16 Jan 2020 13:21:37 -0800
Subject: [PATCH] Added the Blazor survey link to the Blazor-Server project
template (#17434)
* Added the survey link to the Blazor Server project
* Use new survey link for server project
* Updated the baseline to include the SurveyPrompt.razor file
* Added the SurveyPrompt.razor to all the test baselines
---
.../BlazorServerWeb-CSharp/Pages/Index.razor | 2 ++
.../Shared/SurveyPrompt.razor | 16 ++++++++++++++++
.../test/template-baselines.json | 6 ++++++
3 files changed, 24 insertions(+)
create mode 100644 src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/Shared/SurveyPrompt.razor
diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/Pages/Index.razor b/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/Pages/Index.razor
index 16dac31925..e54d914390 100644
--- a/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/Pages/Index.razor
+++ b/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/Pages/Index.razor
@@ -3,3 +3,5 @@
Hello, world!
Welcome to your new app.
+
+
diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/Shared/SurveyPrompt.razor b/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/Shared/SurveyPrompt.razor
new file mode 100644
index 0000000000..e9706c83da
--- /dev/null
+++ b/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/Shared/SurveyPrompt.razor
@@ -0,0 +1,16 @@
+
+
+
@Title
+
+
+ Please take our
+ brief survey
+
+ and tell us what you think.
+
+
+@code {
+ // Demonstrates how a parent component can supply parameters
+ [Parameter]
+ public string Title { get; set; }
+}
diff --git a/src/ProjectTemplates/test/template-baselines.json b/src/ProjectTemplates/test/template-baselines.json
index d934d8b545..9152fc62d0 100644
--- a/src/ProjectTemplates/test/template-baselines.json
+++ b/src/ProjectTemplates/test/template-baselines.json
@@ -922,6 +922,7 @@
"Shared/LoginDisplay.razor",
"Shared/MainLayout.razor",
"Shared/NavMenu.razor",
+ "Shared/SurveyPrompt.razor",
"wwwroot/favicon.ico",
"wwwroot/css/site.css",
"wwwroot/css/bootstrap/bootstrap.min.css",
@@ -958,6 +959,7 @@
"Shared/LoginDisplay.razor",
"Shared/MainLayout.razor",
"Shared/NavMenu.razor",
+ "Shared/SurveyPrompt.razor",
"wwwroot/favicon.ico",
"wwwroot/css/site.css",
"wwwroot/css/bootstrap/bootstrap.min.css",
@@ -994,6 +996,7 @@
"Shared/LoginDisplay.razor",
"Shared/MainLayout.razor",
"Shared/NavMenu.razor",
+ "Shared/SurveyPrompt.razor",
"wwwroot/favicon.ico",
"wwwroot/css/site.css",
"wwwroot/css/bootstrap/bootstrap.min.css",
@@ -1029,6 +1032,7 @@
"Properties/launchSettings.json",
"Shared/MainLayout.razor",
"Shared/NavMenu.razor",
+ "Shared/SurveyPrompt.razor",
"wwwroot/favicon.ico",
"wwwroot/css/site.css",
"wwwroot/css/bootstrap/bootstrap.min.css",
@@ -1065,6 +1069,7 @@
"Shared/LoginDisplay.razor",
"Shared/MainLayout.razor",
"Shared/NavMenu.razor",
+ "Shared/SurveyPrompt.razor",
"wwwroot/favicon.ico",
"wwwroot/css/site.css",
"wwwroot/css/bootstrap/bootstrap.min.css",
@@ -1101,6 +1106,7 @@
"Shared/LoginDisplay.razor",
"Shared/MainLayout.razor",
"Shared/NavMenu.razor",
+ "Shared/SurveyPrompt.razor",
"wwwroot/favicon.ico",
"wwwroot/css/site.css",
"wwwroot/css/bootstrap/bootstrap.min.css",