From 56e8271e24fbbb71560db50225212703bfc34fbd Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Wed, 3 Jul 2019 16:02:04 -0700 Subject: [PATCH] Fix API template launch URL (#11753) --- .../WebApi-CSharp/Properties/launchSettings.json | 16 ++++++++-------- .../WebApi-FSharp/Properties/launchSettings.json | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/Properties/launchSettings.json b/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/Properties/launchSettings.json index b65a5b2941..bff9348110 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/Properties/launchSettings.json +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/Properties/launchSettings.json @@ -1,12 +1,12 @@ { "$schema": "http://json.schemastore.org/launchsettings.json", "iisSettings": { - //#if (WindowsAuth) - "windowsAuthentication": true, - "anonymousAuthentication": false, - //#else - "windowsAuthentication": false, - "anonymousAuthentication": true, + //#if (WindowsAuth) + "windowsAuthentication": true, + "anonymousAuthentication": false, + //#else + "windowsAuthentication": false, + "anonymousAuthentication": true, //#endif "iisExpress": { "applicationUrl": "http://localhost:8080", @@ -21,7 +21,7 @@ "IIS Express": { "commandName": "IISExpress", "launchBrowser": true, - "launchUrl": "api/values", + "launchUrl": "weatherforecast", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } @@ -29,7 +29,7 @@ "Company.WebApplication1": { "commandName": "Project", "launchBrowser": true, - "launchUrl": "api/values", + "launchUrl": "weatherforecast", //#if(RequiresHttps) "applicationUrl": "https://localhost:5001;http://localhost:5000", //#else diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-FSharp/Properties/launchSettings.json b/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-FSharp/Properties/launchSettings.json index cef96f989d..6b707d0246 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-FSharp/Properties/launchSettings.json +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-FSharp/Properties/launchSettings.json @@ -1,12 +1,12 @@ { "$schema": "http://json.schemastore.org/launchsettings.json", "iisSettings": { - //#if (WindowsAuth) - "windowsAuthentication": true, - "anonymousAuthentication": false, - //#else - "windowsAuthentication": false, - "anonymousAuthentication": true, + //#if (WindowsAuth) + "windowsAuthentication": true, + "anonymousAuthentication": false, + //#else + "windowsAuthentication": false, + "anonymousAuthentication": true, //#endif "iisExpress": { "applicationUrl": "http://localhost:8080", @@ -21,7 +21,7 @@ "IIS Express": { "commandName": "IISExpress", "launchBrowser": true, - "launchUrl": "api/values", + "launchUrl": "weatherforecast", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } @@ -29,7 +29,7 @@ "Company.WebApplication1": { "commandName": "Project", "launchBrowser": true, - "launchUrl": "api/values", + "launchUrl": "weatherforecast", //#if(NoHttps) "applicationUrl": "http://localhost:5000", //#else