Skip to content

Commit 4aa39c3

Browse files
authored
Default to Kestrel over IISExpress (#31161)
1 parent c9a9b94 commit 4aa39c3

File tree

13 files changed

+106
-106
lines changed

13 files changed

+106
-106
lines changed

src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/Properties/launchSettings.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@
1717
}
1818
},
1919
"profiles": {
20-
"IIS Express": {
21-
"commandName": "IISExpress",
22-
"launchBrowser": true,
23-
"environmentVariables": {
24-
"ASPNETCORE_ENVIRONMENT": "Development"
25-
}
26-
},
2720
"BlazorServerWeb-CSharp": {
2821
"commandName": "Project",
2922
"dotnetRunMessages": "true",
@@ -37,6 +30,13 @@
3730
"environmentVariables": {
3831
"ASPNETCORE_ENVIRONMENT": "Development"
3932
}
40-
}
33+
},
34+
"IIS Express": {
35+
"commandName": "IISExpress",
36+
"launchBrowser": true,
37+
"environmentVariables": {
38+
"ASPNETCORE_ENVIRONMENT": "Development"
39+
}
40+
},
4141
}
4242
}

src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Client/Properties/launchSettings.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@
1717
}
1818
},
1919
"profiles": {
20-
"IIS Express": {
21-
"commandName": "IISExpress",
22-
"launchBrowser": true,
23-
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
24-
"environmentVariables": {
25-
"ASPNETCORE_ENVIRONMENT": "Development"
26-
}
27-
},
2820
"ComponentsWebAssembly-CSharp": {
2921
"commandName": "Project",
3022
"dotnetRunMessages": "true",
@@ -39,6 +31,14 @@
3931
"environmentVariables": {
4032
"ASPNETCORE_ENVIRONMENT": "Development"
4133
}
34+
},
35+
"IIS Express": {
36+
"commandName": "IISExpress",
37+
"launchBrowser": true,
38+
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
39+
"environmentVariables": {
40+
"ASPNETCORE_ENVIRONMENT": "Development"
41+
}
4242
}
4343
}
4444
}

src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Server/Properties/launchSettings.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@
1212
}
1313
},
1414
"profiles": {
15-
"IIS Express": {
16-
"commandName": "IISExpress",
17-
"launchBrowser": true,
18-
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
19-
"environmentVariables": {
20-
"ASPNETCORE_ENVIRONMENT": "Development"
21-
}
22-
},
2315
"ComponentsWebAssembly-CSharp.Server": {
2416
"commandName": "Project",
2517
"dotnetRunMessages": "true",
@@ -33,6 +25,14 @@
3325
"environmentVariables": {
3426
"ASPNETCORE_ENVIRONMENT": "Development"
3527
}
28+
},
29+
"IIS Express": {
30+
"commandName": "IISExpress",
31+
"launchBrowser": true,
32+
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
33+
"environmentVariables": {
34+
"ASPNETCORE_ENVIRONMENT": "Development"
35+
}
3636
}
3737
}
3838
}

src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-CSharp/Properties/launchSettings.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@
1717
}
1818
},
1919
"profiles": {
20-
"IIS Express": {
21-
"commandName": "IISExpress",
22-
"launchBrowser": true,
23-
"environmentVariables": {
24-
"ASPNETCORE_ENVIRONMENT": "Development"
25-
}
26-
},
2720
"Company.WebApplication1": {
2821
"commandName": "Project",
2922
"dotnetRunMessages": "true",
@@ -37,6 +30,13 @@
3730
"environmentVariables": {
3831
"ASPNETCORE_ENVIRONMENT": "Development"
3932
}
33+
},
34+
"IIS Express": {
35+
"commandName": "IISExpress",
36+
"launchBrowser": true,
37+
"environmentVariables": {
38+
"ASPNETCORE_ENVIRONMENT": "Development"
39+
}
4040
}
4141
}
4242
}

src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-FSharp/Properties/launchSettings.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@
1212
}
1313
},
1414
"profiles": {
15-
"IIS Express": {
16-
"commandName": "IISExpress",
17-
"launchBrowser": true,
18-
"environmentVariables": {
19-
"ASPNETCORE_ENVIRONMENT": "Development"
20-
}
21-
},
2215
"Company.WebApplication1": {
2316
"commandName": "Project",
2417
"dotnetRunMessages": "true",
@@ -31,6 +24,13 @@
3124
"environmentVariables": {
3225
"ASPNETCORE_ENVIRONMENT": "Development"
3326
}
27+
},
28+
"IIS Express": {
29+
"commandName": "IISExpress",
30+
"launchBrowser": true,
31+
"environmentVariables": {
32+
"ASPNETCORE_ENVIRONMENT": "Development"
33+
}
3434
}
3535
}
3636
}

src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Properties/launchSettings.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,15 @@
1717
}
1818
},
1919
"profiles": {
20-
"IIS Express": {
21-
"commandName": "IISExpress",
20+
"Company.WebApplication1": {
21+
"commandName": "Project",
22+
"dotnetRunMessages": "true",
2223
"launchBrowser": true,
24+
//#if(RequiresHttps)
25+
"applicationUrl": "https://localhost:5001;http://localhost:5000",
26+
//#else
27+
"applicationUrl": "http://localhost:5000",
28+
//#endif
2329
"environmentVariables": {
2430
//#if(RazorRuntimeCompilation)
2531
"ASPNETCORE_ENVIRONMENT": "Development",
@@ -29,15 +35,9 @@
2935
//#endif
3036
}
3137
},
32-
"Company.WebApplication1": {
33-
"commandName": "Project",
34-
"dotnetRunMessages": "true",
38+
"IIS Express": {
39+
"commandName": "IISExpress",
3540
"launchBrowser": true,
36-
//#if(RequiresHttps)
37-
"applicationUrl": "https://localhost:5001;http://localhost:5000",
38-
//#else
39-
"applicationUrl": "http://localhost:5000",
40-
//#endif
4141
"environmentVariables": {
4242
//#if(RazorRuntimeCompilation)
4343
"ASPNETCORE_ENVIRONMENT": "Development",

src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/Properties/launchSettings.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,16 @@
1717
}
1818
},
1919
"profiles": {
20-
"IIS Express": {
21-
"commandName": "IISExpress",
20+
"Company.WebApplication1": {
21+
"commandName": "Project",
22+
"dotnetRunMessages": "true",
2223
"launchBrowser": true,
24+
"hotReloadProfile": "aspnetcore",
25+
//#if(RequiresHttps)
26+
"applicationUrl": "https://localhost:5001;http://localhost:5000",
27+
//#else
28+
"applicationUrl": "http://localhost:5000",
29+
//#endif
2330
"environmentVariables": {
2431
//#if(RazorRuntimeCompilation)
2532
"ASPNETCORE_ENVIRONMENT": "Development",
@@ -29,16 +36,9 @@
2936
//#endif
3037
}
3138
},
32-
"Company.WebApplication1": {
33-
"commandName": "Project",
34-
"dotnetRunMessages": "true",
39+
"IIS Express": {
40+
"commandName": "IISExpress",
3541
"launchBrowser": true,
36-
"hotReloadProfile": "aspnetcore",
37-
//#if(RequiresHttps)
38-
"applicationUrl": "https://localhost:5001;http://localhost:5000",
39-
//#else
40-
"applicationUrl": "http://localhost:5000",
41-
//#endif
4242
"environmentVariables": {
4343
//#if(RazorRuntimeCompilation)
4444
"ASPNETCORE_ENVIRONMENT": "Development",

src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-FSharp/Properties/launchSettings.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@
1717
}
1818
},
1919
"profiles": {
20-
"IIS Express": {
21-
"commandName": "IISExpress",
22-
"launchBrowser": true,
23-
"environmentVariables": {
24-
"ASPNETCORE_ENVIRONMENT": "Development"
25-
}
26-
},
2720
"Company.WebApplication1": {
2821
"commandName": "Project",
2922
"dotnetRunMessages": "true",
@@ -36,6 +29,13 @@
3629
"environmentVariables": {
3730
"ASPNETCORE_ENVIRONMENT": "Development"
3831
}
32+
},
33+
"IIS Express": {
34+
"commandName": "IISExpress",
35+
"launchBrowser": true,
36+
"environmentVariables": {
37+
"ASPNETCORE_ENVIRONMENT": "Development"
38+
}
3939
}
4040
}
4141
}

src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/Properties/launchSettings.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,33 +18,33 @@
1818
}
1919
},
2020
"profiles": {
21-
"IIS Express": {
22-
"commandName": "IISExpress",
21+
"Company.WebApplication1": {
22+
"commandName": "Project",
23+
"dotnetRunMessages": "true",
2324
"launchBrowser": true,
25+
"hotReloadProfile": "aspnetcore",
2426
//#if(EnableOpenAPI)
2527
"launchUrl": "swagger",
2628
//#else
2729
"launchUrl": "weatherforecast",
2830
//#endif
31+
//#if(RequiresHttps)
32+
"applicationUrl": "https://localhost:5001;http://localhost:5000",
33+
//#else
34+
"applicationUrl": "http://localhost:5000",
35+
//#endif
2936
"environmentVariables": {
3037
"ASPNETCORE_ENVIRONMENT": "Development"
3138
}
3239
},
33-
"Company.WebApplication1": {
34-
"commandName": "Project",
35-
"dotnetRunMessages": "true",
40+
"IIS Express": {
41+
"commandName": "IISExpress",
3642
"launchBrowser": true,
37-
"hotReloadProfile": "aspnetcore",
3843
//#if(EnableOpenAPI)
3944
"launchUrl": "swagger",
4045
//#else
4146
"launchUrl": "weatherforecast",
4247
//#endif
43-
//#if(RequiresHttps)
44-
"applicationUrl": "https://localhost:5001;http://localhost:5000",
45-
//#else
46-
"applicationUrl": "http://localhost:5000",
47-
//#endif
4848
"environmentVariables": {
4949
"ASPNETCORE_ENVIRONMENT": "Development"
5050
}

src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-FSharp/Properties/launchSettings.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@
1818
}
1919
},
2020
"profiles": {
21-
"IIS Express": {
22-
"commandName": "IISExpress",
23-
"launchBrowser": true,
24-
"launchUrl": "weatherforecast",
25-
"environmentVariables": {
26-
"ASPNETCORE_ENVIRONMENT": "Development"
27-
}
28-
},
2921
"Company.WebApplication1": {
3022
"commandName": "Project",
3123
"dotnetRunMessages": "true",
@@ -39,6 +31,14 @@
3931
"environmentVariables": {
4032
"ASPNETCORE_ENVIRONMENT": "Development"
4133
}
34+
},
35+
"IIS Express": {
36+
"commandName": "IISExpress",
37+
"launchBrowser": true,
38+
"launchUrl": "weatherforecast",
39+
"environmentVariables": {
40+
"ASPNETCORE_ENVIRONMENT": "Development"
41+
}
4242
}
4343
}
4444
}

src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/Properties/launchSettings.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@
1212
}
1313
},
1414
"profiles": {
15-
"IIS Express": {
16-
"commandName": "IISExpress",
17-
"launchBrowser": true,
18-
"environmentVariables": {
19-
"ASPNETCORE_ENVIRONMENT": "Development"
20-
}
21-
},
2215
"Company.WebApplication1": {
2316
"commandName": "Project",
2417
"launchBrowser": true,
@@ -30,6 +23,13 @@
3023
"environmentVariables": {
3124
"ASPNETCORE_ENVIRONMENT": "Development"
3225
}
26+
},
27+
"IIS Express": {
28+
"commandName": "IISExpress",
29+
"launchBrowser": true,
30+
"environmentVariables": {
31+
"ASPNETCORE_ENVIRONMENT": "Development"
32+
}
3333
}
3434
}
3535
}

src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/Properties/launchSettings.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@
1212
}
1313
},
1414
"profiles": {
15-
"IIS Express": {
16-
"commandName": "IISExpress",
17-
"launchBrowser": true,
18-
"environmentVariables": {
19-
"ASPNETCORE_ENVIRONMENT": "Development"
20-
}
21-
},
2215
"Company.WebApplication1": {
2316
"commandName": "Project",
2417
"launchBrowser": true,
@@ -30,6 +23,13 @@
3023
"environmentVariables": {
3124
"ASPNETCORE_ENVIRONMENT": "Development"
3225
}
26+
},
27+
"IIS Express": {
28+
"commandName": "IISExpress",
29+
"launchBrowser": true,
30+
"environmentVariables": {
31+
"ASPNETCORE_ENVIRONMENT": "Development"
32+
}
3333
}
3434
}
3535
}

0 commit comments

Comments
 (0)