14 references to UriBuilder
Aspire.Hosting.Native.Core (2)
Runtime\RuntimeGeneration.cs (2)
369EndpointValueProperty.Url => new UriBuilder(endpoint.UriScheme, endpoint.Host, endpoint.Port).Uri.AbsoluteUri.TrimEnd('/'), 586new UriBuilder(port.UriScheme, port.Host, port.Port).Uri.AbsoluteUri.TrimEnd('/')).ToImmutableArray();
Aspire.Hosting.Native.Core.Tests (2)
NativeIpcSecurityTests.cs (1)
192var address = new UriBuilder("http", endpoint.Host, endpoint.Port).Uri;
NativeSymbolicWorkloadSocketTests.cs (1)
123var address = new UriBuilder("http", endpoint.Host, endpoint.Port).Uri;
Aspire.Hosting.Native.Server (1)
Dashboard\DcpDashboard.cs (1)
65var frontend = new UriBuilder("http", address, endpoint.EffectivePort.Value).Uri;
Aspire.Qdrant.Client.Tests (1)
QdrantContainerFixture.cs (1)
26var endpoint = new UriBuilder("http", Container.Hostname, Container.GetMappedPublicPort(GrpcPort)).ToString();
Microsoft.AspNetCore.Server.IntegrationTesting (3)
Common\TestUriHelper.cs (3)
34return new UriBuilder(scheme, "127.0.0.1", 0).Uri; 39return new UriBuilder(scheme, "localhost", 0).Uri; 47return new UriBuilder(scheme, "localhost", TestPortHelper.GetNextPort()).Uri;
Microsoft.AspNetCore.SpaServices.Extensions (1)
ReactDevelopmentServer\ReactDevelopmentServerMiddleware.cs (1)
57return new UriBuilder("http", "localhost", port).Uri;
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\HttpAuthority.cs (1)
24var builder = new UriBuilder(Uri.UriSchemeHttp, host, port);
System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.cs (1)
237UriBuilder ub = new UriBuilder(protocol, host, port);
System.Private.Uri (1)
System\UriBuilder.cs (1)
63: this(scheme, host, port)
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
237result = new UriBuilder(via.Scheme, via.Host, via.Port).Uri;