83 references to AbsolutePath
aspire (1)
Npm\SigstoreNpmProvenanceChecker.cs (1)
408
var segments = uri.
AbsolutePath
.Trim('/').Split('/');
Aspire.Cli.Tests (7)
Mcp\ListStructuredLogsToolTests.cs (3)
156
if (request.RequestUri?.
AbsolutePath
.Contains("/resources") == true)
259
if (request.RequestUri?.
AbsolutePath
.Contains("/resources") == true)
314
if (request.RequestUri?.
AbsolutePath
.Contains("/resources") == true)
Mcp\ListTracesToolTests.cs (4)
128
if (request.RequestUri?.
AbsolutePath
.Contains("/resources") == true)
241
if (request.RequestUri?.
AbsolutePath
.Contains("/resources") == true)
296
if (request.RequestUri?.
AbsolutePath
.Contains("/resources") == true)
400
if (request.RequestUri?.
AbsolutePath
.Contains("/resources") == true)
Aspire.Dashboard (3)
Components\Layout\DesktopNavMenu.razor.cs (1)
57
var trimmedPath = result.
AbsolutePath
.TrimStart('/');
Model\BrowserLinkOutgoingPeerResolver.cs (1)
44
var parts = uri.
AbsolutePath
.Split('/', StringSplitOptions.RemoveEmptyEntries);
Model\TargetLocationInterceptor.cs (1)
29
path = uri.
AbsolutePath
;
Aspire.Dashboard.Components.Tests (1)
Pages\MetricsTests.cs (1)
178
Assert.Equal("/metrics/resource/TestApp2", loadRedirect.
AbsolutePath
);
Aspire.Dashboard.Tests (9)
Integration\FrontendOpenIdConnectAuthTests.cs (1)
49
Assert.Equal("/authorize", redirectedTo.
AbsolutePath
);
Integration\Playwright\BrowserTokenAuthenticationTests.cs (1)
53
await page.WaitForURLAsync(url => new Uri(url).
AbsolutePath
== "/").DefaultTimeout(TestConstants.LongTimeoutTimeSpan);
Telemetry\DashboardTelemetrySenderTests.cs (2)
78
if (request.RequestUri!.
AbsolutePath
== TelemetryEndpoints.TelemetryEnabled)
86
else if (request.RequestUri!.
AbsolutePath
== TelemetryEndpoints.TelemetryStart)
Telemetry\DashboardTelemetryServiceTests.cs (5)
106
if (request.RequestUri!.
AbsolutePath
== TelemetryEndpoints.TelemetryEnabled)
113
else if (request.RequestUri!.
AbsolutePath
== TelemetryEndpoints.TelemetryStart)
117
else if (request.RequestUri!.
AbsolutePath
== TelemetryEndpoints.TelemetryPostProperty)
121
else if (request.RequestUri!.
AbsolutePath
== TelemetryEndpoints.TelemetryPostUserTask)
128
else if (request.RequestUri!.
AbsolutePath
== TelemetryEndpoints.TelemetryPostOperation)
Aspire.Hosting (4)
Devcontainers\Codespaces\CodespacesUrlRewriter.cs (1)
29
var codespacesUrl = $"{uri.Scheme}://{options.Value.CodespaceName}-{uri.Port}.{options.Value.PortForwardingDomain}{uri.
AbsolutePath
}{uri.Query}";
ExternalServiceResource.cs (1)
89
if (!uri.
AbsolutePath
.EndsWith("/", StringComparison.Ordinal))
Orchestrator\ApplicationOrchestrator.cs (1)
398
var primaryPath = primaryUri?.IsAbsoluteUri == true ? primaryUri.
AbsolutePath
: primaryUrl.Url;
ResourceBuilderExtensions.cs (1)
841
if (!uri.
AbsolutePath
.EndsWith("/", StringComparison.Ordinal))
dotnet-svcutil.xmlserializer (1)
Microsoft\Tools\ServiceModel\SvcUtil\OutputModule.cs (1)
190
string absolutePath = nsUri.
AbsolutePath
;
dotnet-svcutil-lib (5)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
285
if (!baseAddress.
AbsolutePath
.EndsWith("/", StringComparison.Ordinal))
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointAddress.cs (2)
377
if (string.Compare(u1.
AbsolutePath
, u2.
AbsolutePath
, ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal) == 0)
Metadata\MetadataFileNameManager.cs (1)
128
string absolutePath = nsUri.
AbsolutePath
;
OutputPathHelper.cs (1)
139
string absolutePath = nsUri.
AbsolutePath
;
Microsoft.AspNetCore.Components.Endpoints (1)
Routing\BasePath.cs (1)
41
return 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)
676
var absolutePath = uri.
AbsolutePath
;
Microsoft.Diagnostics.NETCore.Client (3)
DiagnosticsIpc\IpcEndpointConfig.cs (3)
169
address = parsedAddress.
AbsolutePath
;
174
address = parsedAddress.
AbsolutePath
;
178
address = parsedAddress.
AbsolutePath
;
Microsoft.Extensions.Http.Diagnostics (5)
Http\HttpDependencyMetadataResolver.cs (1)
72
return GetRequestMetadataInternal(requestMessage.Method.Method, requestMessage.RequestUri.
AbsolutePath
, hostMetadata);
Logging\Internal\HttpClientLogger.cs (1)
92
? request.RequestUri?.
AbsolutePath
Logging\Internal\HttpRequestReader.cs (3)
230
logRecord.Path = request.RequestUri.
AbsolutePath
;
255
logRecord.Path = _routeFormatter.Format(in routeSegments, request.RequestUri.
AbsolutePath
, _routeParameterRedactionMode, _defaultSensitiveParameters);
266
if (_httpRouteParser.TryExtractParameters(request.RequestUri.
AbsolutePath
, in routeSegments, _routeParameterRedactionMode, _defaultSensitiveParameters, ref routeParams))
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\AcceptanceTests.cs (1)
387
loggedPath.Should().Be(httpRequestMessage.RequestUri.
AbsolutePath
);
Microsoft.Extensions.ServiceDiscovery (3)
Http\ResolvingHttpDelegatingHandler.cs (3)
78
if (ep.
AbsolutePath
.Length > 1)
80
result.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)
199
destFileName = Path.GetFileName(new Uri(url).
AbsolutePath
); ;
NuGet.Credentials (1)
SecurePluginCredentialProvider.cs (1)
185
uri.
AbsolutePath
,
NuGet.Protocol (3)
Resources\PackageUpdateResource.cs (3)
692
var pathResolver = new PackagePathResolver(sourceUri.
AbsolutePath
, useSideBySidePaths: true);
799
var resolver = new PackagePathResolver(sourceuri.
AbsolutePath
, useSideBySidePaths: true);
852
if (string.IsNullOrEmpty(baseUri.
AbsolutePath
.TrimStart('/')) && !noServiceEndpoint)
PresentationCore (5)
System\Windows\Media\ColorContext.cs (3)
529
throw new FileNotFoundException(SR.Format(SR.FileNotFoundExceptionWithFileName, profileUri.
AbsolutePath
), profileUri.
AbsolutePath
);
533
FromStream(profileStream, profileUri.
AbsolutePath
);
System\Windows\Navigation\BaseUriHelper.cs (2)
165
Uri partUri = new Uri(uri.
AbsolutePath
, UriKind.Relative);
444
source = new Uri(uri.
AbsolutePath
, UriKind.Relative);
PresentationFramework (1)
System\Windows\Navigation\JournalEntry.cs (1)
334
string relativeUri = uri.
AbsolutePath
+ uri.Query + uri.Fragment;
System.IO.Packaging (1)
System\IO\Packaging\PackUriHelper.cs (1)
91
return new Uri(resolvedUri.
AbsolutePath
, UriKind.Relative);
System.Net.Http (4)
src\runtime\src\libraries\Common\src\System\Net\CredentialCacheKey.cs (4)
24
UriPrefixLength = UriPrefix.
AbsolutePath
.LastIndexOf('/');
73
return uri.
AbsolutePath
.AsSpan(0, UriPrefixLength).Equals(uriPrefix.
AbsolutePath
.AsSpan(0, UriPrefixLength), StringComparison.OrdinalIgnoreCase);
116
int uriPrefixLength = uriPrefix.
AbsolutePath
.LastIndexOf('/');
System.Net.HttpListener (1)
System\Net\Managed\HttpEndPointListener.cs (1)
183
string path = WebUtility.UrlDecode(uri.
AbsolutePath
);
System.Net.Primitives (6)
src\runtime\src\libraries\Common\src\System\Net\CredentialCacheKey.cs (4)
24
UriPrefixLength = UriPrefix.
AbsolutePath
.LastIndexOf('/');
73
return uri.
AbsolutePath
.AsSpan(0, UriPrefixLength).Equals(uriPrefix.
AbsolutePath
.AsSpan(0, UriPrefixLength), StringComparison.OrdinalIgnoreCase);
116
int uriPrefixLength = uriPrefix.
AbsolutePath
.LastIndexOf('/');
System\Net\Cookie.cs (1)
362
string path = uri.
AbsolutePath
;
System\Net\CookieContainer.cs (1)
723
if (PathMatch(uri.
AbsolutePath
, path))
System.Net.Requests (1)
System\Net\FtpControlStream.cs (1)
985
string originalPath = baseUri.
AbsolutePath
;
System.Private.Uri (5)
System\Uri.cs (4)
1862
string otherPath = uri.
AbsolutePath
;
1865
string relativeUriString = PathDifference(
AbsolutePath
, otherPath, !IsUncOrDosPath);
4697
return PathDifference(
AbsolutePath
, toUri.
AbsolutePath
, !IsUncOrDosPath);
System\UriBuilder.cs (1)
308
_path = _uri.
AbsolutePath
;
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
105
if (!baseAddress.
AbsolutePath
.EndsWith("/", StringComparison.Ordinal))
System.ServiceModel.Primitives (2)
System\ServiceModel\EndpointAddress.cs (2)
343
if (string.Compare(u1.
AbsolutePath
, u2.
AbsolutePath
, ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal) == 0)
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\UnixDomainSocketChannelFactory.cs (1)
36
return via.
AbsolutePath
;
System.Speech (1)
Internal\SrgsCompiler\SRGSCompiler.cs (1)
51
srgsPath = Path.GetDirectoryName(uri.IsAbsoluteUri ? uri.
AbsolutePath
: uri.OriginalString);