From 1e779bcfecc857586f300dea00378d2218e16678 Mon Sep 17 00:00:00 2001 From: Luigi Carvalho Date: Sat, 17 Feb 2024 14:04:45 +0000 Subject: [PATCH] modified and organized the profiles from launchSettings.json --- Auth/Properties/launchSettings.json | 57 +++++++++++++++++---------- Client/Properties/launchSettings.json | 38 +++++++++++++++--- Server/Properties/launchSettings.json | 48 ++++++++++++++-------- 3 files changed, 99 insertions(+), 44 deletions(-) diff --git a/Auth/Properties/launchSettings.json b/Auth/Properties/launchSettings.json index f01eafc..cca5413 100644 --- a/Auth/Properties/launchSettings.json +++ b/Auth/Properties/launchSettings.json @@ -9,39 +9,54 @@ } }, "profiles": { - "Watch": { - "commandName": "Executable", - "executablePath": "dotnet.exe", - "workingDirectory": "$(ProjectDir)", - "commandLineArgs": "watch", - "hotReloadEnabled": true, + "LCPCollectionAuth": { + "commandName": "Project", "launchBrowser": true, - "launchUrl": "https://localhost:5002", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development", - "ASPNETCORE_HTTPS_PORT": "5002" - }, + "launchUrl": "https://localhost:5004", + "applicationUrl": "https://localhost:5004;http://localhost:5005", "dotnetRunMessages": true, - "applicationUrl": "https://localhost:5002;http://localhost:5003" + "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } }, - "http": { + "LCPCollectionAuth-Staging": { "commandName": "Project", - "dotnetRunMessages": true, "launchBrowser": true, - "launchUrl": "https://localhost:5002", - "applicationUrl": "https://localhost:5002;http://localhost:5003", + "launchUrl": "https://localhost:5004", + "applicationUrl": "https://localhost:5004;http://localhost:5005", + "dotnetRunMessages": true, + "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" + "ASPNETCORE_ENVIRONMENT": "Staging", + "ASPNETCORE_DETAILEDERRORS": "1", + "ASPNETCORE_SHUTDOWNTIMEOUTSECONDS": "3" } }, - "https": { + "LCPCollectionAuth-Production": { "commandName": "Project", + "launchBrowser": true, + "launchUrl": "https://localhost:5004", + "applicationUrl": "https://localhost:5004;http://localhost:5005", "dotnetRunMessages": true, + "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Production" + } + }, + "LCPCollectionAuth-Watch": { + "commandName": "Executable", + "executablePath": "dotnet.exe", + "workingDirectory": "$(ProjectDir)", + "commandLineArgs": "watch", + "hotReloadEnabled": true, "launchBrowser": true, - "launchUrl": "https://localhost:5002", - "applicationUrl": "https://localhost:5002;http://localhost:5003", + "launchUrl": "https://localhost:5004", + "applicationUrl": "https://localhost:5004;http://localhost:5005", + "dotnetRunMessages": true, "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" + "ASPNETCORE_ENVIRONMENT": "Development", + "ASPNETCORE_HTTPS_PORT": "5004" } }, "IIS Express": { diff --git a/Client/Properties/launchSettings.json b/Client/Properties/launchSettings.json index 324d273..a826130 100644 --- a/Client/Properties/launchSettings.json +++ b/Client/Properties/launchSettings.json @@ -6,29 +6,55 @@ } }, "profiles": { - "https": { + "LCPCollectionClient": { "commandName": "Project", + "launchBrowser": true, + "launchUrl": "https://localhost:5002", + "applicationUrl": "https://localhost:5002;http://localhost:5003", "dotnetRunMessages": true, + "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "LCPCollectionClient-Staging": { + "commandName": "Project", "launchBrowser": true, + "launchUrl": "https://localhost:5002", + "applicationUrl": "https://localhost:5002;http://localhost:5003", + "dotnetRunMessages": true, "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Staging", + "ASPNETCORE_DETAILEDERRORS": "1", + "ASPNETCORE_SHUTDOWNTIMEOUTSECONDS": "3" + } + }, + "LCPCollectionClient-Production": { + "commandName": "Project", + "launchBrowser": true, + "launchUrl": "https://localhost:5002", "applicationUrl": "https://localhost:5002;http://localhost:5003", + "dotnetRunMessages": true, + "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" + "ASPNETCORE_ENVIRONMENT": "Production" } }, - "Watch": { + "LCPCollectionClient-Watch": { "commandName": "Executable", "executablePath": "dotnet.exe", "workingDirectory": "$(ProjectDir)", "commandLineArgs": "watch", + "hotReloadEnabled": true, "launchBrowser": true, "launchUrl": "https://localhost:5002", + "applicationUrl": "https://localhost:5002;http://localhost:5003", + "dotnetRunMessages": true, "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development", "ASPNETCORE_HTTPS_PORT": "5002" - }, - "dotnetRunMessages": true, - "applicationUrl": "https://localhost:5002;http://localhost:5003" + } }, "IIS Express": { "commandName": "IISExpress", diff --git a/Server/Properties/launchSettings.json b/Server/Properties/launchSettings.json index 955f1b9..1f361a5 100644 --- a/Server/Properties/launchSettings.json +++ b/Server/Properties/launchSettings.json @@ -1,17 +1,41 @@ { "profiles": { - "https": { + "LCPCollectionServer": { "commandName": "Project", "launchBrowser": true, "launchUrl": "https://localhost:5000", + "applicationUrl": "https://localhost:5000;http://localhost:5001", + "dotnetRunMessages": true, + "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" - }, + } + }, + "LCPCollectionServer-Staging": { + "commandName": "Project", + "launchBrowser": true, + "launchUrl": "https://localhost:5000", + "applicationUrl": "https://localhost:5000;http://localhost:5001", + "dotnetRunMessages": true, + "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Staging", + "ASPNETCORE_DETAILEDERRORS": "1", + "ASPNETCORE_SHUTDOWNTIMEOUTSECONDS": "3" + } + }, + "LCPCollectionServer-Production": { + "commandName": "Project", + "launchBrowser": true, + "launchUrl": "https://localhost:5000", + "applicationUrl": "https://localhost:5000;http://localhost:5001", "dotnetRunMessages": true, "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", - "applicationUrl": "https://localhost:5000;http://localhost:5001" + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Production" + } }, - "Watch": { + "LCPCollectionServer-Watch": { "commandName": "Executable", "executablePath": "dotnet.exe", "workingDirectory": "$(ProjectDir)", @@ -19,22 +43,12 @@ "hotReloadEnabled": true, "launchBrowser": true, "launchUrl": "https://localhost:5000", + "applicationUrl": "https://localhost:5000;http://localhost:5001", + "dotnetRunMessages": true, "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development", "ASPNETCORE_HTTPS_PORT": "5000" - }, - "dotnetRunMessages": true, - "applicationUrl": "https://localhost:5000;http://localhost:5001" - }, - "http": { - "commandName": "Project", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - }, - "dotnetRunMessages": true, - "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", - "applicationUrl": "http://localhost:5001" + } }, "IIS Express": { "commandName": "IISExpress",