209 references to AbsolutePath
AnalyzeCiFailure (1)
tools\Aspire.TestTools\GitHubApiClient.cs (1)
591=> new($"{method} {uri.AbsolutePath}: {message}", status, inner);
AnalyzeCiFailure.TestHost (3)
tests\AnalyzeCiFailure.Tests\TestServices\GitHubFixtureHandler.cs (3)
35var path = uri.AbsolutePath.TrimStart('/'); 46["path"] = uri.AbsolutePath, 260throw new InvalidOperationException($"Expected {expected} for {request.RequestUri!.AbsolutePath}, not {request.Method}.");
AnalyzeCiFailure.Tests (5)
GitHubApiClientTests.cs (2)
23if (request.RequestUri!.AbsolutePath != "/") 75paths.Add(request.RequestUri!.AbsolutePath);
TestServices\GitHubFixtureHandler.cs (3)
35var path = uri.AbsolutePath.TrimStart('/'); 46["path"] = uri.AbsolutePath, 260throw new InvalidOperationException($"Expected {expected} for {request.RequestUri!.AbsolutePath}, not {request.Method}.");
aspire (20)
Agents\AspireSkills\AspireSkillsRemoteConfiguration.cs (2)
133!uri.AbsolutePath.StartsWith("/microsoft/aspire-skills/", StringComparison.OrdinalIgnoreCase)) 138var path = uri.AbsolutePath.TrimEnd('/');
Commands\InitCommand.cs (1)
311uri.AbsolutePath.Equals($"/{AspireSkillsRemoteConfiguration.Repository}", StringComparison.OrdinalIgnoreCase);
Documentation\ApiDocs\ApiSitemapParser.cs (1)
90var absolutePath = uri.AbsolutePath.AsSpan();
Documentation\DocumentationCacheKey.cs (1)
31var rawSegments = uri.AbsolutePath.Split('/', StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries);
Mcp\Tools\McpToolHelpers.cs (4)
193var isLoginPath = uri.AbsolutePath.EndsWith("/login", StringComparison.OrdinalIgnoreCase); 195? uri.AbsolutePath[..^"/login".Length] 196: uri.AbsolutePath; 210if (sanitizedUri.AbsolutePath == "/")
Npm\SigstoreNpmProvenanceChecker.cs (1)
533var segments = uri.AbsolutePath.Trim('/').Split('/');
NuGet\NuGetClient.cs (1)
1258uri.AbsolutePath.StartsWith("/dnceng/public/_packaging/darc-pub-microsoft-aspire-", StringComparison.OrdinalIgnoreCase);
src\Shared\DashboardUrls.cs (7)
36var isLoginPath = uri.AbsolutePath.EndsWith("/login", StringComparison.OrdinalIgnoreCase); 38? uri.AbsolutePath[..^"/login".Length] 39: uri.AbsolutePath; 48if (normalizedUri.AbsolutePath == "/") 74return normalizedUri.AbsolutePath == "/" 86uri.AbsolutePath.EndsWith("/login", StringComparison.OrdinalIgnoreCase)) 470Path = $"{baseUri.AbsolutePath.TrimEnd('/')}/{pathWithoutQuery.TrimStart('/')}",
src\Shared\Telemetry\InternalMicrosoftDetector.cs (1)
1899uri.AbsolutePath.TrimEnd('/').Equals(expectedPath, StringComparison.OrdinalIgnoreCase);
Utils\CliDownloader.cs (1)
108var fileName = Path.GetFileName(uri.AbsolutePath);
Aspire.Acquisition.Tests (1)
Scripts\Common\ScriptHostFixture.cs (1)
172var requestPath = ctx.Request.Url?.AbsolutePath.TrimStart('/');
Aspire.Azure.AI.Extensions.OpenAI (2)
AspireConfigurableOpenAIExtensions.cs (1)
148return endpoint is not null && endpoint.AbsolutePath.StartsWith("/api/projects/", StringComparison.OrdinalIgnoreCase)
AzureOpenAISettings.cs (1)
79endpoint.AbsolutePath is not ("/" or "/openai/v1" or "/openai/v1/"))
Aspire.Azure.AI.Extensions.OpenAI.Tests (4)
AspireAzureOpenAIExtensionsTests.cs (1)
260Assert.Equal("/openai/v1/" + (generateEmbeddings ? "embeddings" : "chat/completions"), Assert.Single(handler.Requests).Uri.AbsolutePath);
AspireAzureProjectOpenAIExtensionsTests.cs (3)
146Assert.Equal("/api/projects/callback/openai/v1/responses", request.Uri.AbsolutePath); 405Assert.Equal($"{expectedEndpoint}/{(embeddings ? "embeddings" : "chat/completions")}", Assert.Single(handler.Requests).Uri.AbsolutePath); 462Assert.Equal("/api/projects/test/openai/v1/responses", Assert.Single(handler.Requests).Uri.AbsolutePath);
Aspire.Azure.AI.Projects.Tests (1)
AspireAzureAIProjectsExtensionsTests.cs (1)
154Assert.Equal("/api/projects/callback/agents/agent", request.Uri.AbsolutePath);
Aspire.Cli.Tests (28)
Commands\TelemetryCommandTests.cs (1)
342if (request.RequestUri!.AbsolutePath.EndsWith("/resources", StringComparison.Ordinal))
Commands\TelemetryFollowTests.cs (1)
254if (request.RequestUri!.AbsolutePath == "/api/telemetry/resources")
Commands\TelemetryTracesCommandTests.cs (2)
104return request.RequestUri.AbsolutePath switch 191return request.RequestUri.AbsolutePath switch
Mcp\ExcludeFromMcpTests.cs (1)
594if (request.RequestUri?.AbsolutePath.Contains("/resources") == true)
Mcp\ListStructuredLogsToolTests.cs (6)
74var isResourcesRequest = request.RequestUri!.AbsolutePath.EndsWith( 127if (request.RequestUri!.AbsolutePath.EndsWith("/resources", StringComparison.Ordinal)) 268if (request.RequestUri?.AbsolutePath.Contains("/resources") == true) 362if (request.RequestUri?.AbsolutePath.Contains("/resources") == true) 417if (request.RequestUri?.AbsolutePath.Contains("/resources") == true) 556if (request.RequestUri?.AbsolutePath.Contains("/resources") == true)
Mcp\ListTracesToolTests.cs (6)
33if (request.RequestUri!.AbsolutePath.EndsWith("/resources", StringComparison.Ordinal)) 192if (request.RequestUri?.AbsolutePath.Contains("/resources") == true) 299if (request.RequestUri?.AbsolutePath.Contains("/resources") == true) 354if (request.RequestUri?.AbsolutePath.Contains("/resources") == true) 458if (request.RequestUri?.AbsolutePath.Contains("/resources") == true) 550if (request.RequestUri?.AbsolutePath.Contains("/resources") == true)
Mcp\ListTraceStructuredLogsToolTests.cs (1)
27if (request.RequestUri!.AbsolutePath.EndsWith("/resources", StringComparison.Ordinal))
Mcp\McpToolHelpersTests.cs (1)
214Assert.Equal("/api/telemetry/resources", resourcesUri.AbsolutePath);
ProfileCaptureServiceTests.cs (1)
653if (request.RequestUri?.AbsolutePath.EndsWith("/api/telemetry/traces", StringComparison.Ordinal) is true)
Telemetry\InternalMicrosoftDetectorTests.cs (8)
1185Task.FromResult(request.RequestUri?.AbsolutePath switch 1257Task.FromResult(request.RequestUri?.AbsolutePath switch 1281Task.FromResult(request.RequestUri?.AbsolutePath switch 1304Task.FromResult(request.RequestUri?.AbsolutePath switch 1328Task.FromResult(request.RequestUri?.AbsolutePath switch 1352Task.FromResult(request.RequestUri?.AbsolutePath switch 1381Task.FromResult(request.RequestUri?.AbsolutePath switch 1940_requestPaths.Add(request.RequestUri?.AbsolutePath ?? string.Empty);
Aspire.Dashboard (14)
Components\Layout\ResourcesLayout.razor.cs (2)
524string.Equals(previousUri.AbsolutePath, currentUri.AbsolutePath, StringComparisons.UrlPath) &&
Components\Legacy\Layout\LegacyDesktopNavMenu.razor.cs (1)
63var isResources = LegacyNavUrls.IsResourcesPath(result.AbsolutePath.TrimStart('/'));
Model\BrowserLinkOutgoingPeerResolver.cs (1)
44var parts = uri.AbsolutePath.Split('/', StringSplitOptions.RemoveEmptyEntries);
Model\ConnectionStringParser.cs (1)
199var escapedDatabaseName = uri.AbsolutePath.Trim('/');
Model\TargetLocationInterceptor.cs (1)
71path = uri.AbsolutePath;
src\Shared\DashboardUrls.cs (7)
36var isLoginPath = uri.AbsolutePath.EndsWith("/login", StringComparison.OrdinalIgnoreCase); 38? uri.AbsolutePath[..^"/login".Length] 39: uri.AbsolutePath; 48if (normalizedUri.AbsolutePath == "/") 74return normalizedUri.AbsolutePath == "/" 86uri.AbsolutePath.EndsWith("/login", StringComparison.OrdinalIgnoreCase)) 470Path = $"{baseUri.AbsolutePath.TrimEnd('/')}/{pathWithoutQuery.TrimStart('/')}",
src\Shared\Telemetry\InternalMicrosoftDetector.cs (1)
1899uri.AbsolutePath.TrimEnd('/').Equals(expectedPath, StringComparison.OrdinalIgnoreCase);
Aspire.Dashboard.Components.Tests (3)
Dialogs\HelpDialogTests.cs (1)
142Assert.Equal("/resources", new Uri(Services.GetRequiredService<NavigationManager>().Uri).AbsolutePath);
Layout\ResourcesLayoutActivityTests.cs (1)
379Assert.Equal("/traces/resource/api-TestId", url.AbsolutePath);
Pages\MetricsTests.cs (1)
985Assert.Equal("/metrics/resource/TestApp2", loadRedirect.AbsolutePath);
Aspire.Dashboard.Playwright.Tests (11)
Integration\Playwright\BrowserTokenAuthenticationTests.cs (5)
65await page.WaitForURLAsync(url => new Uri(url).AbsolutePath == "/resources").DefaultTimeout(); 94await page.WaitForURLAsync(url => new Uri(url).AbsolutePath == "/resources").DefaultTimeout(); 195Assert.Equal("/", new Uri(firstResponse!.Url).AbsolutePath); 198Assert.Equal(canAccessBoth ? "/" : "/login", new Uri(secondResponse!.Url).AbsolutePath); 288Assert.Equal("/structuredlogs", new Uri(page.Url).AbsolutePath);
Integration\Playwright\DashboardExperienceTests.cs (2)
84await page.WaitForURLAsync(url => new Uri(url).AbsolutePath == "/legacy/consolelogs"); 96await page.WaitForURLAsync(url => new Uri(url).AbsolutePath == expectedPath);
Integration\Playwright\DesktopNavMenuTests.cs (1)
29await page.WaitForURLAsync(url => new Uri(url).AbsolutePath.StartsWith("/resources", StringComparison.Ordinal));
Integration\Playwright\ResourcePaneResponsiveTests.cs (1)
1407Assert.Equal("/traces/resource/api", expected.AbsolutePath);
Integration\Playwright\TerminalTests.cs (2)
70Assert.Equal($"/resources/{ResourceName}", new Uri(page.Url).AbsolutePath); 89await page.WaitForURLAsync(url => new Uri(url).AbsolutePath.StartsWith("/consolelogs", StringComparison.Ordinal));
Aspire.Dashboard.Tests (3)
Integration\FrontendOpenIdConnectAuthTests.cs (1)
49Assert.Equal("/authorize", redirectedTo.AbsolutePath);
Integration\TerminalWebSocketAuthenticationTests.cs (2)
64Assert.Equal("/authorize", location.AbsolutePath); 69Assert.Equal("/login", location.AbsolutePath);
Aspire.Hosting (2)
Devcontainers\Codespaces\CodespacesUrlRewriter.cs (1)
49var codespacesUrl = $"https://{options.Value.CodespaceName}-{uri.Port}.{options.Value.PortForwardingDomain}{uri.AbsolutePath}{uri.Query}{uri.Fragment}";
Orchestrator\ApplicationOrchestrator.cs (1)
504var primaryPath = primaryUri?.IsAbsoluteUri == true ? primaryUri.AbsolutePath : primaryUrl.Url;
Aspire.Hosting.Azure.Tests (25)
AzureSandboxesTests.cs (8)
527Assert.Equal("/subscriptions/sub/resourceGroups/rg/sandboxGroups/sg/diskimages/v2", request.RequestUri?.AbsolutePath); 652if (request.RequestUri?.AbsolutePath.EndsWith("/sandboxes", StringComparison.Ordinal) == true) 666Assert.EndsWith("/diskimages", request.RequestUri?.AbsolutePath); 1236Assert.Contains("/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/existing-rg/", requestUri?.AbsolutePath); 1237Assert.Contains("/sandboxGroups/existing-group/", requestUri?.AbsolutePath); 1770Assert.Equal("/subscriptions/sub/resourceGroups/rg/sandboxGroups/sg/sandboxes", request.RequestUri?.AbsolutePath); 1841Assert.Equal("/subscriptions/sub/resourceGroups/rg/sandboxGroups/sg/sandboxes/sandbox-1/lifecycle", request.RequestUri?.AbsolutePath); 1893Assert.Equal("/subscriptions/sub/resourceGroups/rg/sandboxGroups/sg/sandboxes/sandbox-1/ports/add", request.RequestUri?.AbsolutePath);
DefaultArmClientProviderTests.cs (17)
56static uri => uri.AbsolutePath.EndsWith($"/subscriptions/{SubscriptionId}/providers/Microsoft.Search", StringComparison.Ordinal)); 175Assert.Contains(transport.Requests, static request => request.Method == RequestMethod.Get.ToString() && request.Uri.AbsolutePath == KeyVaultResourceId); 176Assert.Contains(transport.Requests, static request => request.Method == RequestMethod.Delete.ToString() && request.Uri.AbsolutePath == KeyVaultResourceId); 179request.Uri.AbsolutePath == DeletedKeyVaultPurgePath && 183request.Uri.AbsolutePath == DeletedKeyVaultPath); 199Assert.DoesNotContain(transport.Requests, static request => request.Method == RequestMethod.Delete.ToString() && request.Uri.AbsolutePath == KeyVaultResourceId); 202request.Uri.AbsolutePath.Contains("/locations/ukwest/deletedVaults/kv-test/purge", StringComparison.Ordinal)); 203Assert.DoesNotContain(transport.Requests, static request => request.Uri.AbsolutePath == DeletedKeyVaultPurgePath); 240request.Uri.AbsolutePath == DeletedKeyVaultPurgePath && 414if (IsNestedDeploymentOperationsPath(request.Uri.AbsolutePath)) 439string.Equals(uri.AbsolutePath, KeyVaultResourceId, StringComparison.Ordinal)) 445string.Equals(uri.AbsolutePath, KeyVaultResourceId, StringComparison.Ordinal)) 451IsDeletedKeyVaultPurgePath(uri.AbsolutePath)) 453return CreateDeletedKeyVaultPurgeResponse(uri.AbsolutePath); 457IsDeletedKeyVaultPath(uri.AbsolutePath)) 459return CreateDeletedKeyVaultGetResponse(uri.AbsolutePath); 462var content = uri.AbsolutePath switch
Aspire.Hosting.DevTunnels (1)
DevTunnelOutputParser.cs (1)
142&& uri.AbsolutePath == "/"
Aspire.Hosting.Foundry (4)
FoundryExtensions.cs (2)
522if (endpoint.AbsolutePath.EndsWith('/')) 529Path = endpoint.AbsolutePath + "/"
FoundryLocalService.cs (2)
734if (endpoint.AbsolutePath.EndsWith('/')) 741Path = endpoint.AbsolutePath + "/"
Aspire.Hosting.Native.Core.Tests (1)
TestServices\DcpCleanupTestHandler.cs (1)
39var path = request.RequestUri!.AbsolutePath;
Aspire.Hosting.Testing.Tests (3)
DashboardUrlTests.cs (3)
34Assert.Equal("/login", dashboardUri.AbsolutePath); 76Assert.Equal("/login", dashboardUri.AbsolutePath); 265Assert.Equal("/", dashboardUri.AbsolutePath);
Aspire.TestTools (1)
GitHubApiClient.cs (1)
591=> new($"{method} {uri.AbsolutePath}: {message}", status, inner);
blazor-gateway (1)
TelemetryFilters.cs (1)
35if (requestUri.AbsolutePath.StartsWith(excluded, StringComparison.OrdinalIgnoreCase))
BlazorHosted (1)
Program.cs (1)
28|| !request.RequestUri.AbsolutePath.StartsWith("/v1/", StringComparison.Ordinal));
dotnet-aot (3)
parent\dotnet\Commands\Test\MTP\IPC\HttpTestHostGateway.cs (3)
109if (!string.Equals(request.Url?.AbsolutePath, Endpoint.AbsolutePath, StringComparison.Ordinal)) 281uri.AbsolutePath != "/")
dotnet-svcutil-lib (5)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
285if (!baseAddress.AbsolutePath.EndsWith("/", StringComparison.Ordinal))
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointAddress.cs (2)
377if (string.Compare(u1.AbsolutePath, u2.AbsolutePath, ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal) == 0)
Metadata\MetadataFileNameManager.cs (1)
128string absolutePath = nsUri.AbsolutePath;
OutputPathHelper.cs (1)
139string absolutePath = nsUri.AbsolutePath;
dotnet-svcutil.xmlserializer (1)
Microsoft\Tools\ServiceModel\SvcUtil\OutputModule.cs (1)
190string absolutePath = nsUri.AbsolutePath;
Microsoft.AspNetCore.Components.Endpoints (1)
Routing\BasePath.cs (1)
41return absoluteUri.AbsolutePath;
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
TargetPickerUi.cs (1)
374var devToolsUrlWithProxy = $"{devToolsUrlAbsolute.Scheme}://{devToolsUrlAbsolute.Authority}{devToolsUrlAbsolute.AbsolutePath}?{underlyingV8Endpoint.Scheme}={proxyEndpoint.Authority}{underlyingV8Endpoint.PathAndQuery}";
Microsoft.AspNetCore.Components.WebView.Maui (1)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
93 var requestPath = new Uri(requestAbsoluteUri).AbsolutePath.Substring(1);
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
93 var requestPath = new Uri(requestAbsoluteUri).AbsolutePath.Substring(1);
Microsoft.AspNetCore.Components.WebView.Wpf (1)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
93 var requestPath = new Uri(requestAbsoluteUri).AbsolutePath.Substring(1);
Microsoft.AspNetCore.Http.Connections.Client (1)
Internal\Utils.cs (1)
19Path = url.AbsolutePath
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\Http1Connection.cs (1)
730var absolutePath = uri.AbsolutePath;
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
278_serviceName = (_endPoint is UriEndPoint e) ? e.Uri.AbsolutePath.Trim('/') : null;
Microsoft.Diagnostics.NETCore.Client (3)
DiagnosticsIpc\IpcEndpointConfig.cs (3)
169address = parsedAddress.AbsolutePath; 174address = parsedAddress.AbsolutePath; 178address = parsedAddress.AbsolutePath;
Microsoft.DotNet.Cli.InternalMicrosoft (1)
Providers\MacPlatformSsoDetectionProvider.cs (1)
218uri.AbsolutePath.Equals(
Microsoft.Extensions.AI.Abstractions (1)
Contents\UriContent.cs (1)
102path = uri.AbsolutePath;
Microsoft.Extensions.AI.OpenAI.Tests (4)
OpenAIHostedFileClientTests.cs (4)
572request.RequestUri!.AbsolutePath.EndsWith("/content", StringComparison.Ordinal) 606request.RequestUri!.AbsolutePath.EndsWith("/content", StringComparison.Ordinal) 701request.RequestUri!.AbsolutePath.EndsWith("/content", StringComparison.Ordinal) 831Assert.Contains("/containers/default-ctr/", request.RequestUri!.AbsolutePath);
Microsoft.Extensions.Http.Diagnostics (5)
Http\HttpDependencyMetadataResolver.cs (1)
72return GetRequestMetadataInternal(requestMessage.Method.Method, requestMessage.RequestUri.AbsolutePath, hostMetadata);
Logging\Internal\HttpClientLogger.cs (1)
92? request.RequestUri?.AbsolutePath
Logging\Internal\HttpRequestReader.cs (3)
230logRecord.Path = request.RequestUri.AbsolutePath; 257logRecord.Path = _routeFormatter.Format(in routeSegments, request.RequestUri.AbsolutePath, _routeParameterRedactionMode, _defaultSensitiveParameters); 268if (_httpRouteParser.TryExtractParameters(request.RequestUri.AbsolutePath, in routeSegments, _routeParameterRedactionMode, _defaultSensitiveParameters, ref routeParams))
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\AcceptanceTests.cs (1)
387loggedPath.Should().Be(httpRequestMessage.RequestUri.AbsolutePath);
Microsoft.Extensions.ServiceDiscovery (3)
Http\ResolvingHttpDelegatingHandler.cs (3)
78if (ep.AbsolutePath.Length > 1) 80result.Path = $"{ep.AbsolutePath.TrimEnd('/')}/{uri.AbsolutePath.TrimStart('/')}";
Microsoft.Maui.Controls (1)
ResourceDictionary.cs (1)
450 return resourceUri.AbsolutePath.Substring(1);
Microsoft.ML.AutoML.Tests (1)
DatasetUtil.cs (1)
199destFileName = Path.GetFileName(new Uri(url).AbsolutePath); ;
Microsoft.VisualBasic.Forms (3)
Microsoft\VisualBasic\Devices\Network.DownloadFile.vb (1)
349Dim dialog As ProgressDialog = GetProgressDialog(address.AbsolutePath, fullFilename, showUI)
Microsoft\VisualBasic\Devices\Network.UploadFile.vb (2)
146If String.IsNullOrEmpty(IO.Path.GetFileName(addressUri.AbsolutePath)) Then 298address.AbsolutePath)
NuGet.Credentials (1)
SecurePluginCredentialProvider.cs (1)
233uri.AbsolutePath,
NuGet.Protocol (4)
Resources\PackageStagingResourceV3.cs (1)
96Path = _endpoint.AbsolutePath.TrimEnd('/') + "/" + route,
Resources\PackageUpdateResource.cs (3)
693var pathResolver = new PackagePathResolver(sourceUri.AbsolutePath, useSideBySidePaths: true); 800var resolver = new PackagePathResolver(sourceuri.AbsolutePath, useSideBySidePaths: true); 853if (string.IsNullOrEmpty(baseUri.AbsolutePath.TrimStart('/')) && !noServiceEndpoint)
PresentationCore (5)
System\Windows\Media\ColorContext.cs (3)
541throw new FileNotFoundException(SR.Format(SR.FileNotFoundExceptionWithFileName, profileUri.AbsolutePath), profileUri.AbsolutePath); 545FromStream(profileStream, profileUri.AbsolutePath);
System\Windows\Navigation\BaseUriHelper.cs (2)
165Uri partUri = new Uri(uri.AbsolutePath, UriKind.Relative); 444source = new Uri(uri.AbsolutePath, UriKind.Relative);
PresentationFramework (1)
System\Windows\Navigation\JournalEntry.cs (1)
334string relativeUri = uri.AbsolutePath + uri.Query + uri.Fragment;
System.IO.Packaging (1)
System\IO\Packaging\PackUriHelper.cs (1)
92return new Uri(resolvedUri.AbsolutePath, UriKind.Relative);
System.Net.Http (4)
src\runtime\src\libraries\Common\src\System\Net\CredentialCacheKey.cs (4)
24UriPrefixLength = UriPrefix.AbsolutePath.LastIndexOf('/'); 81return uri.AbsolutePath.AsSpan(0, compareLength).Equals(uriPrefix.AbsolutePath.AsSpan(0, compareLength), StringComparison.Ordinal); 124int uriPrefixLength = uriPrefix.AbsolutePath.LastIndexOf('/');
System.Net.HttpListener (1)
System\Net\Managed\HttpEndPointListener.cs (1)
183string path = WebUtility.UrlDecode(uri.AbsolutePath);
System.Net.Primitives (6)
src\runtime\src\libraries\Common\src\System\Net\CredentialCacheKey.cs (4)
24UriPrefixLength = UriPrefix.AbsolutePath.LastIndexOf('/'); 81return uri.AbsolutePath.AsSpan(0, compareLength).Equals(uriPrefix.AbsolutePath.AsSpan(0, compareLength), StringComparison.Ordinal); 124int uriPrefixLength = uriPrefix.AbsolutePath.LastIndexOf('/');
System\Net\Cookie.cs (1)
362string path = uri.AbsolutePath;
System\Net\CookieContainer.cs (1)
723if (PathMatch(uri.AbsolutePath, path))
System.Net.Requests (1)
System\Net\FtpControlStream.cs (1)
987string originalPath = baseUri.AbsolutePath;
System.Private.Uri (5)
System\Uri.cs (4)
1867string otherPath = uri.AbsolutePath; 1870string relativeUriString = PathDifference(AbsolutePath, otherPath, !IsUncOrDosPath); 4709return PathDifference(AbsolutePath, toUri.AbsolutePath, !IsUncOrDosPath);
System\UriBuilder.cs (1)
308_path = _uri.AbsolutePath;
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
105if (!baseAddress.AbsolutePath.EndsWith("/", StringComparison.Ordinal))
System.ServiceModel.Primitives (2)
System\ServiceModel\EndpointAddress.cs (2)
343if (string.Compare(u1.AbsolutePath, u2.AbsolutePath, ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal) == 0)
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\UnixDomainSocketChannelFactory.cs (1)
36return via.AbsolutePath;
System.Speech (1)
Internal\SrgsCompiler\SRGSCompiler.cs (1)
51srgsPath = Path.GetDirectoryName(uri.IsAbsoluteUri ? uri.AbsolutePath : uri.OriginalString);