From 8a368b5610b87e1cf88f1f30106f0bd327d629e0 Mon Sep 17 00:00:00 2001 From: Phil Henning Date: Wed, 4 Apr 2018 18:10:04 -0700 Subject: [PATCH] Add supportedAuthentication for NoAuth in templates which have NoAuth (#443) * Add supportedAuthentication for NoAuth in templates which have NoAuth This is to work around an issue in Visual Studio * Remove spurious , * Add supportedAuthentications to F# Web API vs-2017.3.host.json --- .../EmptyWeb-CSharp/.template.config/vs-2017.3.host.json | 7 +++++++ .../EmptyWeb-FSharp/.template.config/vs-2017.3.host.json | 7 +++++++ .../WebApi-FSharp/.template.config/vs-2017.3.host.json | 7 +++++++ .../Angular-CSharp/.template.config/vs-2017.3.host.json | 7 +++++++ .../React-CSharp/.template.config/vs-2017.3.host.json | 7 +++++++ .../ReactRedux-CSharp/.template.config/vs-2017.3.host.json | 7 +++++++ 6 files changed, 42 insertions(+) diff --git a/src/Microsoft.DotNet.Web.ProjectTemplates/content/EmptyWeb-CSharp/.template.config/vs-2017.3.host.json b/src/Microsoft.DotNet.Web.ProjectTemplates/content/EmptyWeb-CSharp/.template.config/vs-2017.3.host.json index 467d50ac26..a4dca6b104 100644 --- a/src/Microsoft.DotNet.Web.ProjectTemplates/content/EmptyWeb-CSharp/.template.config/vs-2017.3.host.json +++ b/src/Microsoft.DotNet.Web.ProjectTemplates/content/EmptyWeb-CSharp/.template.config/vs-2017.3.host.json @@ -16,6 +16,13 @@ "uiFilters": [ "oneaspnet" ], "supportsDocker": true, "legacyTemplateIdentity": "Microsoft.NetCore.CSharp.EmptyWeb", + "supportedAuthentications": [ + { + "auth": "None", + "authenticationType": "NoAuth", + "allowUnsecured": true + } + ], "ports": [ { "name": "HttpPort", diff --git a/src/Microsoft.DotNet.Web.ProjectTemplates/content/EmptyWeb-FSharp/.template.config/vs-2017.3.host.json b/src/Microsoft.DotNet.Web.ProjectTemplates/content/EmptyWeb-FSharp/.template.config/vs-2017.3.host.json index 9dee4a20bd..1aa6393b7e 100644 --- a/src/Microsoft.DotNet.Web.ProjectTemplates/content/EmptyWeb-FSharp/.template.config/vs-2017.3.host.json +++ b/src/Microsoft.DotNet.Web.ProjectTemplates/content/EmptyWeb-FSharp/.template.config/vs-2017.3.host.json @@ -14,6 +14,13 @@ "icon": "vs-2017.3/Empty.png", "learnMoreLink": "https://go.microsoft.com/fwlink/?LinkID=784883", "uiFilters": [ "oneaspnet" ], + "supportedAuthentications": [ + { + "auth": "None", + "authenticationType": "NoAuth", + "allowUnsecured": true + } + ], "supportsDocker": true, "ports": [ { diff --git a/src/Microsoft.DotNet.Web.ProjectTemplates/content/WebApi-FSharp/.template.config/vs-2017.3.host.json b/src/Microsoft.DotNet.Web.ProjectTemplates/content/WebApi-FSharp/.template.config/vs-2017.3.host.json index d27eff7ec4..c372818036 100644 --- a/src/Microsoft.DotNet.Web.ProjectTemplates/content/WebApi-FSharp/.template.config/vs-2017.3.host.json +++ b/src/Microsoft.DotNet.Web.ProjectTemplates/content/WebApi-FSharp/.template.config/vs-2017.3.host.json @@ -16,6 +16,13 @@ "uiFilters": [ "oneaspnet" ], "supportsDocker": true, "isApi": true, + "supportedAuthentications": [ + { + "auth": "None", + "authenticationType": "NoAuth", + "allowUnsecured": true + } + ], "ports": [ { "name": "HttpPort", diff --git a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/Angular-CSharp/.template.config/vs-2017.3.host.json b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/Angular-CSharp/.template.config/vs-2017.3.host.json index 66028780e8..cf57ee23cf 100644 --- a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/Angular-CSharp/.template.config/vs-2017.3.host.json +++ b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/Angular-CSharp/.template.config/vs-2017.3.host.json @@ -16,6 +16,13 @@ "uiFilters": [ "oneaspnet" ], + "supportedAuthentications": [ + { + "auth": "None", + "authenticationType": "NoAuth", + "allowUnsecured": true + } + ], "ports": [ { "name": "HttpPort", diff --git a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/React-CSharp/.template.config/vs-2017.3.host.json b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/React-CSharp/.template.config/vs-2017.3.host.json index 89575c6f90..0ee4d1fe1a 100644 --- a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/React-CSharp/.template.config/vs-2017.3.host.json +++ b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/React-CSharp/.template.config/vs-2017.3.host.json @@ -16,6 +16,13 @@ "uiFilters": [ "oneaspnet" ], + "supportedAuthentications": [ + { + "auth": "None", + "authenticationType": "NoAuth", + "allowUnsecured": true + } + ], "ports": [ { "name": "HttpPort", diff --git a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/.template.config/vs-2017.3.host.json b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/.template.config/vs-2017.3.host.json index 818a77f396..629210573d 100644 --- a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/.template.config/vs-2017.3.host.json +++ b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/.template.config/vs-2017.3.host.json @@ -16,6 +16,13 @@ "uiFilters": [ "oneaspnet" ], + "supportedAuthentications": [ + { + "auth": "None", + "authenticationType": "NoAuth", + "allowUnsecured": true + } + ], "ports": [ { "name": "HttpPort",