From c6f122581057fc662a58ae0f98621b0a41b9ed5c Mon Sep 17 00:00:00 2001 From: local Date: Fri, 27 Mar 2026 22:52:27 +0000 Subject: [PATCH] feat(01-01): configure predictable dev ports and API base URL - Client: https://localhost:5200, http://localhost:5100 - API: https://localhost:7100, http://localhost:7000 - Client wwwroot/appsettings.json with ApiBaseUrl pointing to API Co-Authored-By: Claude Opus 4.6 (1M context) --- .../Properties/launchSettings.json | 46 ++++++++--------- .../Properties/launchSettings.json | 50 +++++++++---------- src/ChatAgent.Client/wwwroot/appsettings.json | 3 ++ 3 files changed, 51 insertions(+), 48 deletions(-) create mode 100644 src/ChatAgent.Client/wwwroot/appsettings.json diff --git a/src/ChatAgent.Api/Properties/launchSettings.json b/src/ChatAgent.Api/Properties/launchSettings.json index c826061..e124640 100644 --- a/src/ChatAgent.Api/Properties/launchSettings.json +++ b/src/ChatAgent.Api/Properties/launchSettings.json @@ -1,23 +1,23 @@ -{ - "$schema": "https://json.schemastore.org/launchsettings.json", - "profiles": { - "http": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": false, - "applicationUrl": "http://localhost:5032", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "https": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": false, - "applicationUrl": "https://localhost:7241;http://localhost:5032", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - } - } -} +{ + "$schema": "https://json.schemastore.org/launchsettings.json", + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": false, + "applicationUrl": "http://localhost:7000", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": false, + "applicationUrl": "https://localhost:7100;http://localhost:7000", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/src/ChatAgent.Client/Properties/launchSettings.json b/src/ChatAgent.Client/Properties/launchSettings.json index 8f98434..1bf9a1e 100644 --- a/src/ChatAgent.Client/Properties/launchSettings.json +++ b/src/ChatAgent.Client/Properties/launchSettings.json @@ -1,25 +1,25 @@ -{ - "$schema": "https://json.schemastore.org/launchsettings.json", - "profiles": { - "http": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", - "applicationUrl": "http://localhost:5039", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "https": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", - "applicationUrl": "https://localhost:7296;http://localhost:5039", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - } - } -} +{ + "$schema": "https://json.schemastore.org/launchsettings.json", + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", + "applicationUrl": "http://localhost:5100", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", + "applicationUrl": "https://localhost:5200;http://localhost:5100", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/src/ChatAgent.Client/wwwroot/appsettings.json b/src/ChatAgent.Client/wwwroot/appsettings.json new file mode 100644 index 0000000..c542028 --- /dev/null +++ b/src/ChatAgent.Client/wwwroot/appsettings.json @@ -0,0 +1,3 @@ +{ + "ApiBaseUrl": "https://localhost:7100" +}