From 0f2e88a334b89d247f64c84a5c6f4730ff847754 Mon Sep 17 00:00:00 2001 From: Ajay Bhargav B Date: Tue, 21 Jan 2020 12:45:25 -0800 Subject: [PATCH] Added launchSettings.json for Blazor wasm templates (#18368) * Added launchSettings.json for Blazor wasm templates * Updated launchSettings * removed windows auth option --- .../Client/Properties/launchSettings.json | 3 ++ .../Server/Properties/launchSettings.json | 36 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 src/ProjectTemplates/BlazorWasm.ProjectTemplates/content/BlazorWasm-CSharp/Client/Properties/launchSettings.json create mode 100644 src/ProjectTemplates/BlazorWasm.ProjectTemplates/content/BlazorWasm-CSharp/Server/Properties/launchSettings.json diff --git a/src/ProjectTemplates/BlazorWasm.ProjectTemplates/content/BlazorWasm-CSharp/Client/Properties/launchSettings.json b/src/ProjectTemplates/BlazorWasm.ProjectTemplates/content/BlazorWasm-CSharp/Client/Properties/launchSettings.json new file mode 100644 index 0000000000..5b741f2913 --- /dev/null +++ b/src/ProjectTemplates/BlazorWasm.ProjectTemplates/content/BlazorWasm-CSharp/Client/Properties/launchSettings.json @@ -0,0 +1,3 @@ +{ + "useWebAssemblyDebugging": true +} \ No newline at end of file diff --git a/src/ProjectTemplates/BlazorWasm.ProjectTemplates/content/BlazorWasm-CSharp/Server/Properties/launchSettings.json b/src/ProjectTemplates/BlazorWasm.ProjectTemplates/content/BlazorWasm-CSharp/Server/Properties/launchSettings.json new file mode 100644 index 0000000000..3cf9f85e48 --- /dev/null +++ b/src/ProjectTemplates/BlazorWasm.ProjectTemplates/content/BlazorWasm-CSharp/Server/Properties/launchSettings.json @@ -0,0 +1,36 @@ +{ + "useWebAssemblyDebugging": true, + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:8080", + //#if(RequiresHttps) + "sslPort": 44300 + //#else + "sslPort": 0 + //#endif + } + }, + "profiles": { + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "Company.WebApplication1": { + "commandName": "Project", + "launchBrowser": true, + //#if(RequiresHttps) + "applicationUrl": "https://localhost:5001;http://localhost:5000", + //#else + "applicationUrl": "http://localhost:5000", + //#endif + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } + }