@@ -46,7 +46,7 @@ public async Task AspNetDefaultPort_SameManagementPortConfigured_OnlyActuatorAcc
4646 {
4747 var appSettings = new Dictionary < string , string ? >
4848 {
49- [ "management:endpoints:port " ] = AspNetDefaultPort
49+ [ "Management:Endpoints:Port " ] = AspNetDefaultPort
5050 } ;
5151
5252 await using WebApplication app = await CreateAppAsync ( appSettings ) ;
@@ -75,7 +75,7 @@ public async Task AspNetDefaultPort_AlternateManagementPortConfigured_Accessible
7575
7676 var appSettings = new Dictionary < string , string ? >
7777 {
78- [ "management:endpoints:port " ] = managementPort
78+ [ "Management:Endpoints:Port " ] = managementPort
7979 } ;
8080
8181 await using WebApplication app = await CreateAppAsync ( appSettings ) ;
@@ -125,7 +125,7 @@ public async Task AspNetDefaultPort_AlternateManagementPortConfigured_Accessible
125125 {
126126 // The test listens on the proxy ports in lieu of Cloud Foundry's proxy infrastructure
127127 [ "urls" ] = $ "http://*:{ externalTlsProxyPort } ;http://*:{ internalTlsProxyPort } ",
128- [ "management:endpoints:port " ] = managementPort
128+ [ "Management:Endpoints:Port " ] = managementPort
129129 } ;
130130
131131 await using WebApplication app = await CreateAppAsync ( appSettings ) ;
@@ -152,8 +152,8 @@ public async Task AspNetDefaultPort_AlternateManagementPortAndSchemeConfigured_A
152152
153153 var appSettings = new Dictionary < string , string ? >
154154 {
155- [ "management:endpoints:port " ] = managementPort ,
156- [ "management:endpoints:sslEnabled " ] = "true"
155+ [ "Management:Endpoints:Port " ] = managementPort ,
156+ [ "Management:Endpoints:SslEnabled " ] = "true"
157157 } ;
158158
159159 await using WebApplication app = await CreateAppAsync ( appSettings ) ;
@@ -230,7 +230,7 @@ public async Task AspNetCustomPortsConfigured_SameManagementPortConfigured_OnlyA
230230 var appSettings = new Dictionary < string , string ? >
231231 {
232232 [ "urls" ] = $ "http://localhost:{ appHttpPort } ;https://*:{ appHttpsPort } ",
233- [ "management:endpoints:port " ] = appHttpPort
233+ [ "Management:Endpoints:Port " ] = appHttpPort
234234 } ;
235235
236236 await using WebApplication app = await CreateAppAsync ( appSettings ) ;
@@ -270,7 +270,7 @@ public async Task AspNetCustomPortsConfigured_AlternateManagementPortConfigured_
270270 var appSettings = new Dictionary < string , string ? >
271271 {
272272 [ "urls" ] = $ "http://localhost:{ appHttpPort } ;https://*:{ appHttpsPort } ",
273- [ "management:endpoints:port " ] = managementPort
273+ [ "Management:Endpoints:Port " ] = managementPort
274274 } ;
275275
276276 await using WebApplication app = await CreateAppAsync ( appSettings ) ;
@@ -317,8 +317,8 @@ public async Task AspNetCustomPortsConfigured_AlternateHttpsManagementPortConfig
317317 var appSettings = new Dictionary < string , string ? >
318318 {
319319 [ "urls" ] = $ "http://localhost:{ appHttpPort } ;https://*:{ appHttpsPort } ",
320- [ "management:endpoints:port " ] = managementPort ,
321- [ "management:endpoints:sslEnabled " ] = "true"
320+ [ "Management:Endpoints:Port " ] = managementPort ,
321+ [ "Management:Endpoints:SslEnabled " ] = "true"
322322 } ;
323323
324324 await using WebApplication app = await CreateAppAsync ( appSettings ) ;
@@ -402,7 +402,7 @@ public async Task AspNetCustomPortsInEnvironmentVariables_SameManagementPortConf
402402
403403 var appSettings = new Dictionary < string , string ? >
404404 {
405- [ "management:endpoints:port " ] = appHttpPort
405+ [ "Management:Endpoints:Port " ] = appHttpPort
406406 } ;
407407
408408 await using WebApplication app = await CreateAppAsync ( appSettings ) ;
@@ -444,7 +444,7 @@ public async Task AspNetCustomPortsInEnvironmentVariables_AlternateManagementPor
444444
445445 var appSettings = new Dictionary < string , string ? >
446446 {
447- [ "management:endpoints:port " ] = managementPort
447+ [ "Management:Endpoints:Port " ] = managementPort
448448 } ;
449449
450450 await using WebApplication app = await CreateAppAsync ( appSettings ) ;
@@ -493,8 +493,8 @@ public async Task AspNetCustomPortsInEnvironmentVariables_AlternateHttpsManageme
493493
494494 var appSettings = new Dictionary < string , string ? >
495495 {
496- [ "management:endpoints:port " ] = managementPort ,
497- [ "management:endpoints:sslEnabled " ] = "true"
496+ [ "Management:Endpoints:Port " ] = managementPort ,
497+ [ "Management:Endpoints:SslEnabled " ] = "true"
498498 } ;
499499
500500 await using WebApplication app = await CreateAppAsync ( appSettings ) ;
@@ -576,7 +576,7 @@ public async Task AspNetCustomPortsInCode_SameManagementPortConfigured_OnlyActua
576576
577577 var appSettings = new Dictionary < string , string ? >
578578 {
579- [ "management:endpoints:port " ] = appHttpPort
579+ [ "Management:Endpoints:Port " ] = appHttpPort
580580 } ;
581581
582582 await using WebApplication app = await CreateAppAsync ( appSettings , app =>
@@ -619,7 +619,7 @@ public async Task AspNetCustomPortsInCode_AlternateManagementPortConfigured_Acce
619619
620620 var appSettings = new Dictionary < string , string ? >
621621 {
622- [ "management:endpoints:port " ] = managementPort
622+ [ "Management:Endpoints:Port " ] = managementPort
623623 } ;
624624
625625 await using WebApplication app = await CreateAppAsync ( appSettings , app =>
@@ -669,8 +669,8 @@ public async Task AspNetCustomPortsInCode_AlternateHttpsManagementPortConfigured
669669
670670 var appSettings = new Dictionary < string , string ? >
671671 {
672- [ "management:endpoints:port " ] = managementPort ,
673- [ "management:endpoints:sslEnabled " ] = "true"
672+ [ "Management:Endpoints:Port " ] = managementPort ,
673+ [ "Management:Endpoints:SslEnabled " ] = "true"
674674 } ;
675675
676676 await using WebApplication app = await CreateAppAsync ( appSettings , app =>
@@ -758,7 +758,7 @@ public async Task AspNetDynamicPortsConfigured_AlternateManagementPortConfigured
758758 var appSettings = new Dictionary < string , string ? >
759759 {
760760 [ "urls" ] = "http://127.0.0.1:0;https://*:0" ,
761- [ "management:endpoints:port " ] = managementPort
761+ [ "Management:Endpoints:Port " ] = managementPort
762762 } ;
763763
764764 await using WebApplication app = await CreateAppAsync ( appSettings ) ;
@@ -807,8 +807,8 @@ public async Task AspNetDynamicPortsConfigured_AlternateHttpsManagementPortConfi
807807 var appSettings = new Dictionary < string , string ? >
808808 {
809809 [ "urls" ] = "http://127.0.0.1:0;https://*:0" ,
810- [ "management:endpoints:port " ] = managementPort ,
811- [ "management:endpoints:sslEnabled " ] = "true"
810+ [ "Management:Endpoints:Port " ] = managementPort ,
811+ [ "Management:Endpoints:SslEnabled " ] = "true"
812812 } ;
813813
814814 await using WebApplication app = await CreateAppAsync ( appSettings ) ;
0 commit comments