From 2531fd0c6e8a658015c4ade4281e76de9aaf8129 Mon Sep 17 00:00:00 2001 From: maliming Date: Wed, 11 May 2022 11:28:16 +0800 Subject: [PATCH] Enhanced template random SSL port feature. --- .../Templates/App/AppTemplateBase.cs | 7 ++++- .../Templates/Module/ModuleTemplateBase.cs | 4 ++- .../Properties/launchSettings.json | 6 ++--- .../appsettings.json | 6 ++--- .../Properties/launchSettings.json | 6 ++--- .../appsettings.json | 6 ++--- .../Properties/launchSettings.json | 6 ++--- .../appsettings.json | 6 ++--- .../Properties/launchSettings.json | 6 ++--- .../appsettings.json | 6 ++--- .../Properties/launchSettings.json | 6 ++--- .../appsettings.json | 4 +-- .../Properties/launchSettings.json | 6 ++--- .../appsettings.json | 4 +-- .../Properties/launchSettings.json | 6 ++--- .../appsettings.json | 2 +- .../Properties/launchSettings.json | 6 ++--- .../appsettings.json | 6 ++--- .../appsettings.json | 2 +- .../Properties/launchSettings.json | 6 ++--- .../wwwroot/appsettings.json | 2 +- .../Properties/launchSettings.json | 6 ++--- .../appsettings.json | 6 ++--- .../Properties/launchSettings.json | 27 ------------------- 24 files changed, 64 insertions(+), 84 deletions(-) delete mode 100644 templates/module/aspnet-core/src/MyCompanyName.MyProjectName.Web/Properties/launchSettings.json diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/App/AppTemplateBase.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/App/AppTemplateBase.cs index 6a0b532135..c8d4b937ad 100644 --- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/App/AppTemplateBase.cs +++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/App/AppTemplateBase.cs @@ -405,7 +405,12 @@ public abstract class AppTemplateBase : TemplateInfo "https://localhost:44301", "https://localhost:44302", "https://localhost:44303", - "https://localhost:44305" + "https://localhost:44304", + "https://localhost:44305", + "https://localhost:44306", + "https://localhost:44307", + "https://localhost:44308", + "https://localhost:44309" } ) ); diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/Module/ModuleTemplateBase.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/Module/ModuleTemplateBase.cs index 712e03f839..5fc263afc3 100644 --- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/Module/ModuleTemplateBase.cs +++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/Module/ModuleTemplateBase.cs @@ -90,7 +90,9 @@ public abstract class ModuleTemplateBase : TemplateInfo "https://localhost:44300", "https://localhost:44301", "https://localhost:44302", - "https://localhost:44303" + "https://localhost:44303", + "https://localhost:44304", + "https://localhost:44305" })); } diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/Properties/launchSettings.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/Properties/launchSettings.json index b4be64ba09..d9a1c6d901 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/Properties/launchSettings.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/Properties/launchSettings.json @@ -3,8 +3,8 @@ "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "https://localhost:44313/", - "sslPort": 44313 + "applicationUrl": "https://localhost:44300/", + "sslPort": 44300 } }, "profiles": { @@ -19,7 +19,7 @@ "commandName": "Project", "dotnetRunMessages": "true", "launchBrowser": true, - "applicationUrl": "https://localhost:44313/", + "applicationUrl": "https://localhost:44300/", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/appsettings.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/appsettings.json index f500ef063e..e08d35f224 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/appsettings.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/appsettings.json @@ -1,13 +1,13 @@ { "App": { - "SelfUrl": "https://localhost:44313", - "RedirectAllowedUrls": "https://localhost:44313" + "SelfUrl": "https://localhost:44300", + "RedirectAllowedUrls": "https://localhost:44300" }, "ConnectionStrings": { "Default": "mongodb://localhost:27017/MyProjectName", }, "AuthServer": { - "Authority": "https://localhost:44313", + "Authority": "https://localhost:44300", "RequireHttpsMetadata": "false" }, "StringEncryption": { diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Properties/launchSettings.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Properties/launchSettings.json index b4be64ba09..d9a1c6d901 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Properties/launchSettings.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Properties/launchSettings.json @@ -3,8 +3,8 @@ "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "https://localhost:44313/", - "sslPort": 44313 + "applicationUrl": "https://localhost:44300/", + "sslPort": 44300 } }, "profiles": { @@ -19,7 +19,7 @@ "commandName": "Project", "dotnetRunMessages": "true", "launchBrowser": true, - "applicationUrl": "https://localhost:44313/", + "applicationUrl": "https://localhost:44300/", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/appsettings.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/appsettings.json index fa0901f6cc..cc9e8226f2 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/appsettings.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/appsettings.json @@ -1,13 +1,13 @@ { "App": { - "SelfUrl": "https://localhost:44313", - "RedirectAllowedUrls": "https://localhost:44313" + "SelfUrl": "https://localhost:44300", + "RedirectAllowedUrls": "https://localhost:44300" }, "ConnectionStrings": { "Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=MyProjectName;Trusted_Connection=True" }, "AuthServer": { - "Authority": "https://localhost:44313", + "Authority": "https://localhost:44300", "RequireHttpsMetadata": "false" }, "StringEncryption": { diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/Properties/launchSettings.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/Properties/launchSettings.json index 56107d9223..fc0d2dd450 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/Properties/launchSettings.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/Properties/launchSettings.json @@ -3,8 +3,8 @@ "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "https://localhost:44305", - "sslPort": 44305 + "applicationUrl": "https://localhost:44300", + "sslPort": 44300 } }, "profiles": { @@ -18,7 +18,7 @@ "MyCompanyName.MyProjectName": { "commandName": "Project", "launchBrowser": true, - "applicationUrl": "https://localhost:44305", + "applicationUrl": "https://localhost:44300", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/appsettings.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/appsettings.json index 66ddc446d1..d512dd03b3 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/appsettings.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/appsettings.json @@ -1,6 +1,6 @@ { "App": { - "SelfUrl": "https://localhost:44305", + "SelfUrl": "https://localhost:44300", "ClientUrl": "http://localhost:4200", "CorsOrigins": "https://*.MyProjectName.com,http://localhost:4200", "RedirectAllowedUrls": "http://localhost:4200" @@ -12,7 +12,7 @@ "Configuration": "127.0.0.1" }, "AuthServer": { - "Authority": "https://localhost:44305", + "Authority": "https://localhost:44300", "RequireHttpsMetadata": "false", "SwaggerClientId": "MyProjectName_Swagger", "SwaggerClientSecret": "1q2w3e*" @@ -30,7 +30,7 @@ "MyProjectName_Swagger": { "ClientId": "MyProjectName_Swagger", "ClientSecret": "1q2w3e*", - "RootUrl": "https://localhost:44305" + "RootUrl": "https://localhost:44300" } } } diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Properties/launchSettings.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Properties/launchSettings.json index 56107d9223..fc0d2dd450 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Properties/launchSettings.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Properties/launchSettings.json @@ -3,8 +3,8 @@ "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "https://localhost:44305", - "sslPort": 44305 + "applicationUrl": "https://localhost:44300", + "sslPort": 44300 } }, "profiles": { @@ -18,7 +18,7 @@ "MyCompanyName.MyProjectName": { "commandName": "Project", "launchBrowser": true, - "applicationUrl": "https://localhost:44305", + "applicationUrl": "https://localhost:44300", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/appsettings.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/appsettings.json index f5cf04e16a..7a0f48e4d6 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/appsettings.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/appsettings.json @@ -1,6 +1,6 @@ { "App": { - "SelfUrl": "https://localhost:44305", + "SelfUrl": "https://localhost:44300", "ClientUrl": "http://localhost:4200", "CorsOrigins": "https://*.MyProjectName.com,http://localhost:4200", "RedirectAllowedUrls": "http://localhost:4200" @@ -12,7 +12,7 @@ "Configuration": "127.0.0.1" }, "AuthServer": { - "Authority": "https://localhost:44305", + "Authority": "https://localhost:44300", "RequireHttpsMetadata": "false", "SwaggerClientId": "MyProjectName_Swagger", "SwaggerClientSecret": "1q2w3e*" @@ -30,7 +30,7 @@ "MyProjectName_Swagger": { "ClientId": "MyProjectName_Swagger", "ClientSecret": "1q2w3e*", - "RootUrl": "https://localhost:44305" + "RootUrl": "https://localhost:44300" } } } diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/Properties/launchSettings.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/Properties/launchSettings.json index b037eecdfa..e78a5b937c 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/Properties/launchSettings.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/Properties/launchSettings.json @@ -3,8 +3,8 @@ "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "https://localhost:44303/", - "sslPort": 44303 + "applicationUrl": "https://localhost:44300/", + "sslPort": 44300 } }, "profiles": { @@ -21,7 +21,7 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }, - "applicationUrl": "https://localhost:44303/" + "applicationUrl": "https://localhost:44300/" } } } diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/appsettings.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/appsettings.json index b8085820a8..97ad461966 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/appsettings.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/appsettings.json @@ -1,12 +1,12 @@ { "App": { - "SelfUrl": "https://localhost:44303" + "SelfUrl": "https://localhost:44300" }, "ConnectionStrings": { "Default": "mongodb://localhost:27017/MyProjectName" }, "AuthServer": { - "Authority": "https://localhost:44303", + "Authority": "https://localhost:44300", "RequireHttpsMetadata": "false" }, "StringEncryption": { diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Properties/launchSettings.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Properties/launchSettings.json index edeefb02ad..b265dfb7fe 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Properties/launchSettings.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Properties/launchSettings.json @@ -3,8 +3,8 @@ "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "https://localhost:44303/", - "sslPort": 44303 + "applicationUrl": "https://localhost:44300/", + "sslPort": 44300 } }, "profiles": { @@ -21,7 +21,7 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }, - "applicationUrl": "https://localhost:44303/" + "applicationUrl": "https://localhost:44300/" } } } \ No newline at end of file diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/appsettings.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/appsettings.json index cf1965742b..74bc952883 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/appsettings.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/appsettings.json @@ -1,12 +1,12 @@ { "App": { - "SelfUrl": "https://localhost:44303" + "SelfUrl": "https://localhost:44300" }, "ConnectionStrings": { "Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=MyProjectName;Trusted_Connection=True" }, "AuthServer": { - "Authority": "https://localhost:44303", + "Authority": "https://localhost:44300", "RequireHttpsMetadata": "false" }, "StringEncryption": { diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/Properties/launchSettings.json b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/Properties/launchSettings.json index 509a1a4681..8158750874 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/Properties/launchSettings.json +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/Properties/launchSettings.json @@ -3,8 +3,8 @@ "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "https://localhost:44314/", - "sslPort": 44314 + "applicationUrl": "https://localhost:44309/", + "sslPort": 44309 } }, "profiles": { @@ -19,7 +19,7 @@ "commandName": "Project", "dotnetRunMessages": "true", "launchBrowser": true, - "applicationUrl": "https://localhost:44314/", + "applicationUrl": "https://localhost:44309/", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/appsettings.json b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/appsettings.json index 4f09c3876a..fd546c79f2 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/appsettings.json +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/appsettings.json @@ -1,6 +1,6 @@ { "App": { - "SelfUrl": "https://localhost:44314" + "SelfUrl": "https://localhost:44309" }, "RemoteServices": { "Default": { diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/Properties/launchSettings.json b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/Properties/launchSettings.json index b4be64ba09..77aa2a99bf 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/Properties/launchSettings.json +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/Properties/launchSettings.json @@ -3,8 +3,8 @@ "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "https://localhost:44313/", - "sslPort": 44313 + "applicationUrl": "https://localhost:44308/", + "sslPort": 44308 } }, "profiles": { @@ -19,7 +19,7 @@ "commandName": "Project", "dotnetRunMessages": "true", "launchBrowser": true, - "applicationUrl": "https://localhost:44313/", + "applicationUrl": "https://localhost:44308/", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/appsettings.json b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/appsettings.json index fa0901f6cc..ba3761f8ae 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/appsettings.json +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/appsettings.json @@ -1,13 +1,13 @@ { "App": { - "SelfUrl": "https://localhost:44313", - "RedirectAllowedUrls": "https://localhost:44313" + "SelfUrl": "https://localhost:44308", + "RedirectAllowedUrls": "https://localhost:44308" }, "ConnectionStrings": { "Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=MyProjectName;Trusted_Connection=True" }, "AuthServer": { - "Authority": "https://localhost:44313", + "Authority": "https://localhost:44308", "RequireHttpsMetadata": "false" }, "StringEncryption": { diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.DbMigrator/appsettings.json b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.DbMigrator/appsettings.json index 7bd454bab3..a221ed8d2b 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.DbMigrator/appsettings.json +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.DbMigrator/appsettings.json @@ -21,7 +21,7 @@ "MyProjectName_BlazorServerTiered": { "ClientId": "MyProjectName_BlazorServerTiered", "ClientSecret": "1q2w3e*", - "RootUrl": "https://localhost:44314" + "RootUrl": "https://localhost:44309" }, "MyProjectName_Swagger": { "ClientId": "MyProjectName_Swagger", diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host/Properties/launchSettings.json b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host/Properties/launchSettings.json index 9ef766441e..341bee1974 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host/Properties/launchSettings.json +++ b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host/Properties/launchSettings.json @@ -3,8 +3,8 @@ "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "https://localhost:44307", - "sslPort": 44307 + "applicationUrl": "https://localhost:44305", + "sslPort": 44305 } }, "profiles": { @@ -20,7 +20,7 @@ "commandName": "Project", "launchBrowser": true, "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", - "applicationUrl": "https://localhost:44307", + "applicationUrl": "https://localhost:44305", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host/wwwroot/appsettings.json b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host/wwwroot/appsettings.json index 96ff7b45e9..4d1a881b8b 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host/wwwroot/appsettings.json +++ b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host/wwwroot/appsettings.json @@ -1,6 +1,6 @@ { "App": { - "SelfUrl": "https://localhost:44307" + "SelfUrl": "https://localhost:44305" }, "AuthServer": { "Authority": "https://localhost:44301", diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Properties/launchSettings.json b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Properties/launchSettings.json index e31f812c85..aa9b1670fd 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Properties/launchSettings.json +++ b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Properties/launchSettings.json @@ -3,8 +3,8 @@ "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "https://localhost:44313/", - "sslPort": 44313 + "applicationUrl": "https://localhost:44304/", + "sslPort": 44304 } }, "profiles": { @@ -19,7 +19,7 @@ "commandName": "Project", "dotnetRunMessages": "true", "launchBrowser": true, - "applicationUrl": "https://localhost:44313/", + "applicationUrl": "https://localhost:44304/", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/appsettings.json b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/appsettings.json index afd5f605dc..75f6e96512 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/appsettings.json +++ b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/appsettings.json @@ -1,13 +1,13 @@ { "App": { - "SelfUrl": "https://localhost:44313", - "RedirectAllowedUrls": "https://localhost:44313" + "SelfUrl": "https://localhost:44304", + "RedirectAllowedUrls": "https://localhost:44304" }, "ConnectionStrings": { "Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=MyProjectName_Unified;Trusted_Connection=True" }, "AuthServer": { - "Authority": "https://localhost:44313", + "Authority": "https://localhost:44304", "RequireHttpsMetadata": "false" } } diff --git a/templates/module/aspnet-core/src/MyCompanyName.MyProjectName.Web/Properties/launchSettings.json b/templates/module/aspnet-core/src/MyCompanyName.MyProjectName.Web/Properties/launchSettings.json deleted file mode 100644 index 3196608ce0..0000000000 --- a/templates/module/aspnet-core/src/MyCompanyName.MyProjectName.Web/Properties/launchSettings.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:64779/", - "sslPort": 44326 - } - }, - "profiles": { - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "MyCompanyName.MyProjectName.Web": { - "commandName": "Project", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - }, - "applicationUrl": "https://localhost:5001;http://localhost:5000" - } - } -} \ No newline at end of file