83 references to AbsolutePath
aspire (1)
Npm\SigstoreNpmProvenanceChecker.cs (1)
408var segments = uri.AbsolutePath.Trim('/').Split('/');
Aspire.Cli.Tests (7)
Mcp\ListStructuredLogsToolTests.cs (3)
156if (request.RequestUri?.AbsolutePath.Contains("/resources") == true) 259if (request.RequestUri?.AbsolutePath.Contains("/resources") == true) 314if (request.RequestUri?.AbsolutePath.Contains("/resources") == true)
Mcp\ListTracesToolTests.cs (4)
128if (request.RequestUri?.AbsolutePath.Contains("/resources") == true) 241if (request.RequestUri?.AbsolutePath.Contains("/resources") == true) 296if (request.RequestUri?.AbsolutePath.Contains("/resources") == true) 400if (request.RequestUri?.AbsolutePath.Contains("/resources") == true)
Aspire.Dashboard (3)
Components\Layout\DesktopNavMenu.razor.cs (1)
57var trimmedPath = result.AbsolutePath.TrimStart('/');
Model\BrowserLinkOutgoingPeerResolver.cs (1)
44var parts = uri.AbsolutePath.Split('/', StringSplitOptions.RemoveEmptyEntries);
Model\TargetLocationInterceptor.cs (1)
29path = uri.AbsolutePath;
Aspire.Dashboard.Components.Tests (1)
Pages\MetricsTests.cs (1)
178Assert.Equal("/metrics/resource/TestApp2", loadRedirect.AbsolutePath);
Aspire.Dashboard.Tests (9)
Integration\FrontendOpenIdConnectAuthTests.cs (1)
49Assert.Equal("/authorize", redirectedTo.AbsolutePath);
Integration\Playwright\BrowserTokenAuthenticationTests.cs (1)
53await page.WaitForURLAsync(url => new Uri(url).AbsolutePath == "/").DefaultTimeout(TestConstants.LongTimeoutTimeSpan);
Telemetry\DashboardTelemetrySenderTests.cs (2)
78if (request.RequestUri!.AbsolutePath == TelemetryEndpoints.TelemetryEnabled) 86else if (request.RequestUri!.AbsolutePath == TelemetryEndpoints.TelemetryStart)
Telemetry\DashboardTelemetryServiceTests.cs (5)
106if (request.RequestUri!.AbsolutePath == TelemetryEndpoints.TelemetryEnabled) 113else if (request.RequestUri!.AbsolutePath == TelemetryEndpoints.TelemetryStart) 117else if (request.RequestUri!.AbsolutePath == TelemetryEndpoints.TelemetryPostProperty) 121else if (request.RequestUri!.AbsolutePath == TelemetryEndpoints.TelemetryPostUserTask) 128else if (request.RequestUri!.AbsolutePath == TelemetryEndpoints.TelemetryPostOperation)
Aspire.Hosting (4)
Devcontainers\Codespaces\CodespacesUrlRewriter.cs (1)
29var codespacesUrl = $"{uri.Scheme}://{options.Value.CodespaceName}-{uri.Port}.{options.Value.PortForwardingDomain}{uri.AbsolutePath}{uri.Query}";
ExternalServiceResource.cs (1)
89if (!uri.AbsolutePath.EndsWith("/", StringComparison.Ordinal))
Orchestrator\ApplicationOrchestrator.cs (1)
398var primaryPath = primaryUri?.IsAbsoluteUri == true ? primaryUri.AbsolutePath : primaryUrl.Url;
ResourceBuilderExtensions.cs (1)
841if (!uri.AbsolutePath.EndsWith("/", StringComparison.Ordinal))
dotnet-svcutil.xmlserializer (1)
Microsoft\Tools\ServiceModel\SvcUtil\OutputModule.cs (1)
190string absolutePath = nsUri.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;
Microsoft.AspNetCore.Components.Endpoints (1)
Routing\BasePath.cs (1)
41return absoluteUri.AbsolutePath;
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.Server.Kestrel.Core (1)
Internal\Http\Http1Connection.cs (1)
676var absolutePath = uri.AbsolutePath;
Microsoft.Diagnostics.NETCore.Client (3)
DiagnosticsIpc\IpcEndpointConfig.cs (3)
169address = parsedAddress.AbsolutePath; 174address = parsedAddress.AbsolutePath; 178address = parsedAddress.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; 255logRecord.Path = _routeFormatter.Format(in routeSegments, request.RequestUri.AbsolutePath, _routeParameterRedactionMode, _defaultSensitiveParameters); 266if (_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); ;
NuGet.Credentials (1)
SecurePluginCredentialProvider.cs (1)
185uri.AbsolutePath,
NuGet.Protocol (3)
Resources\PackageUpdateResource.cs (3)
692var pathResolver = new PackagePathResolver(sourceUri.AbsolutePath, useSideBySidePaths: true); 799var resolver = new PackagePathResolver(sourceuri.AbsolutePath, useSideBySidePaths: true); 852if (string.IsNullOrEmpty(baseUri.AbsolutePath.TrimStart('/')) && !noServiceEndpoint)
PresentationCore (5)
System\Windows\Media\ColorContext.cs (3)
529throw new FileNotFoundException(SR.Format(SR.FileNotFoundExceptionWithFileName, profileUri.AbsolutePath), profileUri.AbsolutePath); 533FromStream(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)
91return 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('/'); 73return uri.AbsolutePath.AsSpan(0, UriPrefixLength).Equals(uriPrefix.AbsolutePath.AsSpan(0, UriPrefixLength), StringComparison.OrdinalIgnoreCase); 116int 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('/'); 73return uri.AbsolutePath.AsSpan(0, UriPrefixLength).Equals(uriPrefix.AbsolutePath.AsSpan(0, UriPrefixLength), StringComparison.OrdinalIgnoreCase); 116int 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)
985string originalPath = baseUri.AbsolutePath;
System.Private.Uri (5)
System\Uri.cs (4)
1862string otherPath = uri.AbsolutePath; 1865string relativeUriString = PathDifference(AbsolutePath, otherPath, !IsUncOrDosPath); 4697return 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);