27 references to Parse
Aspire.Dashboard (3)
Configuration\DashboardOptions.cs (1)
278bindingAddress = BindingAddress.Parse(address);
DashboardWebApplication.cs (2)
602if (requiredClientCertificate && IsHttpsOrNull(BindingAddress.Parse(url))) 685var address = BindingAddress.Parse(endpointConfiguration.ConfigSection["Url"]!);
Aspire.Hosting (7)
Dashboard\DashboardEventHandlers.cs (4)
401var address = BindingAddress.Parse(d); 411var address = BindingAddress.Parse(otlpGrpcEndpointUrl); 420var address = BindingAddress.Parse(otlpHttpEndpointUrl); 429var address = BindingAddress.Parse(mcpEndpointUrl);
Dashboard\TransportOptionsValidator.cs (1)
88bindingAddress = BindingAddress.Parse(address);
ProjectResourceBuilderExtensions.cs (2)
487BindingAddress = BindingAddress.Parse(endpoint["Url"]!), 568var bindingAddress = BindingAddress.Parse(url);
http2cat (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
59var address = BindingAddress.Parse(Options.Url);
IIS.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
59var address = BindingAddress.Parse(Options.Url);
IIS.LongTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
59var address = BindingAddress.Parse(Options.Url);
IIS.NewHandler.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
59var address = BindingAddress.Parse(Options.Url);
IIS.NewShim.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
59var address = BindingAddress.Parse(Options.Url);
IISExpress.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
59var address = BindingAddress.Parse(Options.Url);
Microsoft.AspNetCore.Http.Tests (6)
BindingAddressTests.cs (6)
16Assert.Throws<FormatException>(() => BindingAddress.Parse(url)); 30Assert.Throws<FormatException>(() => BindingAddress.Parse(url)); 40Assert.Throws<FormatException>(() => BindingAddress.Parse(url)); 63var serverAddress = BindingAddress.Parse(url); 82var serverAddress = BindingAddress.Parse(url); 100var serverAddress = BindingAddress.Parse(url);
Microsoft.AspNetCore.HttpsPolicy (1)
HttpsRedirectionMiddleware.cs (1)
143var bindingAddress = BindingAddress.Parse(address);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
59var address = BindingAddress.Parse(Options.Url);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\AddressBinder.cs (1)
102var parsedAddress = BindingAddress.Parse(address);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
AddressBinderTests.cs (2)
30BindingAddress.Parse(address), out var endpoint)); 47BindingAddress.Parse(address), out var endpoint));