Skip to content

Commit 31207f8

Browse files
committed
Make the default launch profile https in templates (#3188)
For #3187
1 parent 60dcf90 commit 31207f8

File tree

4 files changed

+39
-45
lines changed

4 files changed

+39
-45
lines changed
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
{
22
"profiles": {
3-
"http": {
3+
"https": {
44
"commandName": "Project",
55
"launchBrowser": true,
66
"dotnetRunMessages": true,
7-
"applicationUrl": "http://localhost:15888",
7+
"applicationUrl": "https://localhost:15887;http://localhost:15888",
88
"environmentVariables": {
99
"ASPNETCORE_ENVIRONMENT": "Development",
1010
"DOTNET_ENVIRONMENT": "Development",
11-
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:16031",
12-
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:17031",
11+
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:16037",
12+
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:17037",
1313
"DOTNET_ASPIRE_SHOW_DASHBOARD_RESOURCES": "true"
1414
}
1515
},
16-
"https": {
16+
"http": {
1717
"commandName": "Project",
1818
"launchBrowser": true,
1919
"dotnetRunMessages": true,
20-
"applicationUrl": "https://localhost:15887;http://localhost:15888",
20+
"applicationUrl": "http://localhost:15888",
2121
"environmentVariables": {
2222
"ASPNETCORE_ENVIRONMENT": "Development",
2323
"DOTNET_ENVIRONMENT": "Development",
24-
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:16037",
25-
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:17037",
24+
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:16031",
25+
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:17031",
2626
"DOTNET_ASPIRE_SHOW_DASHBOARD_RESOURCES": "true"
2727
}
2828
},
@@ -36,5 +36,5 @@
3636
}
3737
}
3838
},
39-
"$schema": "http://json.schemastore.org/launchsettings.json"
39+
"$schema": "https://json.schemastore.org/launchsettings.json"
4040
}
Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,31 @@
11
{
22
"$schema": "https://json.schemastore.org/launchsettings.json",
33
"profiles": {
4-
"http": {
4+
//#if (HasHttpsProfile)
5+
"https": {
56
"commandName": "Project",
67
"dotnetRunMessages": true,
78
"launchBrowser": true,
8-
"applicationUrl": "http://localhost:15000",
9+
"applicationUrl": "https://localhost:17000;http://localhost:15000",
910
"environmentVariables": {
1011
"ASPNETCORE_ENVIRONMENT": "Development",
1112
"DOTNET_ENVIRONMENT": "Development",
12-
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:19000",
13-
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:20000"
13+
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:21000",
14+
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:22000"
1415
}
15-
//#if (HasHttpsProfile)
1616
},
17-
"https": {
17+
//#endif
18+
"http": {
1819
"commandName": "Project",
1920
"dotnetRunMessages": true,
2021
"launchBrowser": true,
21-
"applicationUrl": "https://localhost:17000;http://localhost:15000",
22+
"applicationUrl": "http://localhost:15000",
2223
"environmentVariables": {
2324
"ASPNETCORE_ENVIRONMENT": "Development",
2425
"DOTNET_ENVIRONMENT": "Development",
25-
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:21000",
26-
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:22000"
26+
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:19000",
27+
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:20000"
2728
}
2829
}
29-
//#else
30-
}
31-
//#endif
3230
}
3331
}
Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,31 @@
11
{
22
"$schema": "https://json.schemastore.org/launchsettings.json",
33
"profiles": {
4-
"http": {
4+
//#if (HasHttpsProfile)
5+
"https": {
56
"commandName": "Project",
67
"dotnetRunMessages": true,
78
"launchBrowser": true,
8-
"applicationUrl": "http://localhost:15000",
9+
"applicationUrl": "https://localhost:17000;http://localhost:15000",
910
"environmentVariables": {
1011
"ASPNETCORE_ENVIRONMENT": "Development",
1112
"DOTNET_ENVIRONMENT": "Development",
12-
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:19000",
13-
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:20000"
13+
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:21000",
14+
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:22000"
1415
}
15-
//#if (HasHttpsProfile)
1616
},
17-
"https": {
17+
//#endif
18+
"http": {
1819
"commandName": "Project",
1920
"dotnetRunMessages": true,
2021
"launchBrowser": true,
21-
"applicationUrl": "https://localhost:17000;http://localhost:15000",
22+
"applicationUrl": "http://localhost:15000",
2223
"environmentVariables": {
2324
"ASPNETCORE_ENVIRONMENT": "Development",
2425
"DOTNET_ENVIRONMENT": "Development",
25-
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:21000",
26-
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:22000"
26+
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:19000",
27+
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:20000"
2728
}
2829
}
29-
//#else
30-
}
31-
//#endif
3230
}
3331
}
Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,31 @@
11
{
22
"$schema": "https://json.schemastore.org/launchsettings.json",
33
"profiles": {
4-
"http": {
4+
//#if (HasHttpsProfile)
5+
"https": {
56
"commandName": "Project",
67
"dotnetRunMessages": true,
78
"launchBrowser": true,
8-
"applicationUrl": "http://localhost:15000",
9+
"applicationUrl": "https://localhost:17000;http://localhost:15000",
910
"environmentVariables": {
1011
"ASPNETCORE_ENVIRONMENT": "Development",
1112
"DOTNET_ENVIRONMENT": "Development",
12-
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:19000",
13-
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:20000"
13+
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:21000",
14+
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:22000"
1415
}
15-
//#if (HasHttpsProfile)
1616
},
17-
"https": {
17+
//#endif
18+
"http": {
1819
"commandName": "Project",
1920
"dotnetRunMessages": true,
2021
"launchBrowser": true,
21-
"applicationUrl": "https://localhost:17000;http://localhost:15000",
22+
"applicationUrl": "http://localhost:15000",
2223
"environmentVariables": {
2324
"ASPNETCORE_ENVIRONMENT": "Development",
2425
"DOTNET_ENVIRONMENT": "Development",
25-
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:21000",
26-
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:22000"
26+
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:19000",
27+
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:20000"
2728
}
2829
}
29-
//#else
30-
}
31-
//#endif
3230
}
3331
}

0 commit comments

Comments
 (0)