10 references to GetLeftPart
Aspire.Dashboard (2)
Model\TargetLocationInterceptor.cs (1)
22
var targetBaseUri = new Uri(uri.
GetLeftPart
(UriPartial.Authority));
src\Shared\LoggingHelpers.cs (1)
24
var dashboardUrl = $"{firstDashboardUrl.
GetLeftPart
(UriPartial.Authority)}/login?t={token}";
Aspire.Hosting (3)
Backchannel\DashboardUrlsHelper.cs (1)
93
apiBaseUrl = dashboardUri.
GetLeftPart
(UriPartial.Authority);
Dashboard\DashboardEventHandlers.cs (1)
400
dashboardUrl = firstDashboardUrl.
GetLeftPart
(UriPartial.Authority);
src\Shared\LoggingHelpers.cs (1)
24
var dashboardUrl = $"{firstDashboardUrl.
GetLeftPart
(UriPartial.Authority)}/login?t={token}";
Microsoft.Extensions.Http.Resilience (1)
Resilience\Internal\ByAuthorityPipelineKeyProvider.cs (1)
26
pipelineKey = url.
GetLeftPart
(UriPartial.Authority);
Microsoft.Extensions.Http.Resilience.Tests (2)
Resilience\HttpClientBuilderExtensionsTests.BySelector.cs (2)
73
.SelectPipelineBy(_ => r => r.RequestUri!.
GetLeftPart
(UriPartial.Scheme)).PipelineName;
79
.SelectPipelineBy(_ => r => r.RequestUri!.
GetLeftPart
(UriPartial.Scheme)).PipelineName;
Microsoft.Extensions.ServiceDiscovery (1)
Http\HttpServiceEndpointResolver.cs (1)
42
var key = request.RequestUri.
GetLeftPart
(UriPartial.Authority);
Microsoft.Extensions.ServiceDiscovery.Yarp (1)
ServiceDiscoveryDestinationResolver.cs (1)
58
var serviceName = originalUri.
GetLeftPart
(UriPartial.Authority);