72 references to PathAndQuery
Aspire.Dashboard (7)
Components\Controls\TerminalView.razor.cs (5)
196return new Uri(new Uri(NavigationManager.BaseUri), EndpointPathAndQuery).PathAndQuery; 204$"api/terminal?resource={Uri.EscapeDataString(ResourceName)}").PathAndQuery; 215_jsModule ??= await JS.InvokeAsync<IJSObjectReference>("import", moduleUri.PathAndQuery); 279newEndpoint = new Uri(new Uri(NavigationManager.BaseUri), newEndpoint).PathAndQuery; 427var boundPathAndQuery = QueryHelpers.AddQueryString(endpoint.PathAndQuery, "viewId", _viewSession!.Id);
Components\Pages\TerminalWindow.razor.cs (1)
167_windowModule ??= await JS.InvokeAsync<IJSObjectReference>("import", moduleUri.PathAndQuery);
Model\TerminalWindowLauncher.cs (1)
118_module = await _js.InvokeAsync<IJSObjectReference>("import", moduleUri.PathAndQuery).ConfigureAwait(false);
Aspire.Dashboard.Components.Tests (2)
Controls\TerminalViewTests.cs (1)
54Assert.True(registry.TryGet(viewId, new Uri(Assert.IsType<string>(invocation.Arguments[1])).PathAndQuery, out _));
Shared\TerminalSetupHelpers.cs (1)
135viewId, new Uri(expectedWebSocketUrl).PathAndQuery, out _));
Aspire.Dashboard.Tests (12)
Integration\FrontendBrowserTokenAuthTests.cs (9)
47Assert.Equal(DashboardUrls.LoginUrl(returnUrl: DashboardUrls.StructuredLogsUrl()), response.RequestMessage!.RequestUri!.PathAndQuery); 69Assert.Equal(DashboardUrls.TracesUrl(), response1.RequestMessage!.RequestUri!.PathAndQuery); 76Assert.Equal(DashboardUrls.StructuredLogsUrl(), response2.RequestMessage!.RequestUri!.PathAndQuery); 114Assert.Equal(DashboardUrls.TracesUrl(), response1.RequestMessage!.RequestUri!.PathAndQuery); 119Assert.Equal(DashboardUrls.TracesUrl(), response2.RequestMessage!.RequestUri!.PathAndQuery); 124Assert.Equal(DashboardUrls.StructuredLogsUrl(), response3.RequestMessage!.RequestUri!.PathAndQuery); 243Assert.Equal(DashboardUrls.TracesUrl(), response1.RequestMessage!.RequestUri!.PathAndQuery); 248Assert.Equal(DashboardUrls.StructuredLogsUrl(), response2.RequestMessage!.RequestUri!.PathAndQuery); 329Assert.Equal(DashboardUrls.LoginUrl(returnUrl: DashboardUrls.TracesUrl()), response.RequestMessage!.RequestUri!.PathAndQuery, ignoreCase: true);
Integration\Playwright\BrowserTokenAuthenticationTests.cs (3)
57Assert.Equal("/login?returnUrl=%2F", uri.PathAndQuery); 88Assert.Equal("/login?returnUrl=%2F", uri.PathAndQuery); 117Assert.Equal("/login?returnUrl=%2F", uri.PathAndQuery);
Aspire.Hosting.Azure.Sandboxes (1)
Internal\Adc\AzureDevComputeClient.cs (1)
431logger.LogInformation("Sending ADC request: {Method} {Path}", method.Method, uri.PathAndQuery);
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
794return currentUri.PathAndQuery == "/" && currentUri.Fragment.Length == 0 && !url.Url.EndsWith('/')
Aspire.Hosting.Testing.Tests (1)
DashboardUrlTests.cs (1)
210new(firstBaseUrl + secondUrl.PathAndQuery),
dotnet-svcutil-lib (1)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (1)
1440string path = uri.PathAndQuery;
Microsoft.AspNetCore.Components.Web (1)
HtmlRendering\StaticHtmlRenderer.HtmlWriting.cs (1)
374return new Uri(navigationManager.Uri, UriKind.Absolute).PathAndQuery;
Microsoft.AspNetCore.Components.WebAssembly.Authentication (1)
RemoteAuthenticatorViewCore.cs (1)
400var loginUrl = Navigation.ToAbsoluteUri(ApplicationPaths.LogInPath).PathAndQuery;
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
TargetPickerUi.cs (1)
374var devToolsUrlWithProxy = $"{devToolsUrlAbsolute.Scheme}://{devToolsUrlAbsolute.Authority}{devToolsUrlAbsolute.AbsolutePath}?{underlyingV8Endpoint.Scheme}={proxyEndpoint.Authority}{underlyingV8Endpoint.PathAndQuery}";
WebAssemblyNetDebugProxyAppBuilderExtensions.cs (1)
62context.Response.Redirect($"{debugProxyBaseUrl}{browserUrl!.PathAndQuery}");
Microsoft.AspNetCore.InternalTesting (2)
HttpClientSlim.cs (2)
37await writer.WriteAsync($"GET {requestUri.PathAndQuery} HTTP/1.0\r\n").ConfigureAwait(false); 80await writer.WriteAsync($"POST {requestUri.PathAndQuery} HTTP/1.0\r\n").ConfigureAwait(false);
Microsoft.Build.Tasks.Git (1)
parent\Common\Utilities\UriUtilities.cs (1)
15uri.Scheme == "unknown" && uri.Host != "" && uri.UserInfo == "" && uri.PathAndQuery == "/";
Microsoft.Extensions.Http (1)
src\runtime\src\libraries\Common\src\System\Net\Http\UriRedactionHelper.cs (1)
72string pathAndQuery = uri.PathAndQuery;
Microsoft.Maui.Controls (5)
Shell\ShellNavigationManager.cs (2)
418 var targetPaths = ShellUriHandler.RetrievePaths(targetUri.PathAndQuery); 419 var currentPaths = ShellUriHandler.RetrievePaths(currentUri.PathAndQuery);
Shell\ShellNavigationState.cs (1)
45 uri = new Uri($"/{uri.PathAndQuery}", UriKind.Relative);
Shell\ShellUriHandler.cs (2)
72 return new Uri(FormatUri(returnValue.PathAndQuery), UriKind.Relative); 141 pathAndQuery = $"{request.Host}/{request.PathAndQuery}".Split('?');
Microsoft.Maui.Essentials (1)
Types\Shared\WebUtils.shared.cs (1)
87 return new Uri(uri.Scheme + "://" + idn.GetAscii(uri.Authority) + uri.PathAndQuery + uri.Fragment);
Microsoft.NET.Sdk.Publish.Tasks (2)
Tasks\OneDeploy\DeploymentResponse.cs (1)
86string pathAndQuery = logUrl.PathAndQuery;
Tasks\ZipDeploy\DeploymentResponse.cs (1)
34string pathAndQuery = logUrl.PathAndQuery;
Microsoft.SourceLink.AzureDevOpsServer.Git (2)
src\sourcelink\src\Common\GitProvider\GetSourceLinkUrlGitTask.cs (1)
269contentUri = new Uri($"{contentUri.Scheme}://{contentUri.Host}:{repoUri.Port}{contentUri.PathAndQuery}");
src\sourcelink\src\Common\Utilities\UriUtilities.cs (1)
15uri.Scheme == "unknown" && uri.Host != "" && uri.UserInfo == "" && uri.PathAndQuery == "/";
Microsoft.SourceLink.AzureRepos.Git (2)
src\sourcelink\src\Common\GitProvider\GetSourceLinkUrlGitTask.cs (1)
269contentUri = new Uri($"{contentUri.Scheme}://{contentUri.Host}:{repoUri.Port}{contentUri.PathAndQuery}");
src\sourcelink\src\Common\Utilities\UriUtilities.cs (1)
15uri.Scheme == "unknown" && uri.Host != "" && uri.UserInfo == "" && uri.PathAndQuery == "/";
Microsoft.SourceLink.Bitbucket.Git (2)
src\sourcelink\src\Common\GitProvider\GetSourceLinkUrlGitTask.cs (1)
269contentUri = new Uri($"{contentUri.Scheme}://{contentUri.Host}:{repoUri.Port}{contentUri.PathAndQuery}");
src\sourcelink\src\Common\Utilities\UriUtilities.cs (1)
15uri.Scheme == "unknown" && uri.Host != "" && uri.UserInfo == "" && uri.PathAndQuery == "/";
Microsoft.SourceLink.Common (1)
parent\Common\Utilities\UriUtilities.cs (1)
15uri.Scheme == "unknown" && uri.Host != "" && uri.UserInfo == "" && uri.PathAndQuery == "/";
Microsoft.SourceLink.Gitea (2)
src\sourcelink\src\Common\GitProvider\GetSourceLinkUrlGitTask.cs (1)
269contentUri = new Uri($"{contentUri.Scheme}://{contentUri.Host}:{repoUri.Port}{contentUri.PathAndQuery}");
src\sourcelink\src\Common\Utilities\UriUtilities.cs (1)
15uri.Scheme == "unknown" && uri.Host != "" && uri.UserInfo == "" && uri.PathAndQuery == "/";
Microsoft.SourceLink.Gitee (2)
src\sourcelink\src\Common\GitProvider\GetSourceLinkUrlGitTask.cs (1)
269contentUri = new Uri($"{contentUri.Scheme}://{contentUri.Host}:{repoUri.Port}{contentUri.PathAndQuery}");
src\sourcelink\src\Common\Utilities\UriUtilities.cs (1)
15uri.Scheme == "unknown" && uri.Host != "" && uri.UserInfo == "" && uri.PathAndQuery == "/";
Microsoft.SourceLink.GitHub (2)
src\sourcelink\src\Common\GitProvider\GetSourceLinkUrlGitTask.cs (1)
269contentUri = new Uri($"{contentUri.Scheme}://{contentUri.Host}:{repoUri.Port}{contentUri.PathAndQuery}");
src\sourcelink\src\Common\Utilities\UriUtilities.cs (1)
15uri.Scheme == "unknown" && uri.Host != "" && uri.UserInfo == "" && uri.PathAndQuery == "/";
Microsoft.SourceLink.GitLab (2)
src\sourcelink\src\Common\GitProvider\GetSourceLinkUrlGitTask.cs (1)
269contentUri = new Uri($"{contentUri.Scheme}://{contentUri.Host}:{repoUri.Port}{contentUri.PathAndQuery}");
src\sourcelink\src\Common\Utilities\UriUtilities.cs (1)
15uri.Scheme == "unknown" && uri.Host != "" && uri.UserInfo == "" && uri.PathAndQuery == "/";
Microsoft.SourceLink.GitWeb (2)
src\sourcelink\src\Common\GitProvider\GetSourceLinkUrlGitTask.cs (1)
269contentUri = new Uri($"{contentUri.Scheme}://{contentUri.Host}:{repoUri.Port}{contentUri.PathAndQuery}");
src\sourcelink\src\Common\Utilities\UriUtilities.cs (1)
15uri.Scheme == "unknown" && uri.Host != "" && uri.UserInfo == "" && uri.PathAndQuery == "/";
MyFrontend (1)
Components\NavigationManagerExtensions.cs (1)
13return new Uri(uri).PathAndQuery;
System.Net.Http (7)
src\runtime\src\libraries\Common\src\System\Net\Http\UriRedactionHelper.cs (1)
72string pathAndQuery = uri.PathAndQuery;
System\Net\Http\HttpTelemetry.cs (1)
56request.RequestUri.PathAndQuery,
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.Digest.cs (2)
110sb.AppendKeyValue(Uri, request.RequestUri.PathAndQuery); 147string a2 = request.Method.Method + ":" + request.RequestUri.PathAndQuery;
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (1)
1572string pathAndQuery = request.RequestUri.PathAndQuery;
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (1)
694string pathAndQuery = request.RequestUri.PathAndQuery;
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (1)
338WriteAsciiString(request.RequestUri.PathAndQuery);
System.Net.Http.WinHttpHandler (2)
System\Net\Http\WinHttpHandler.cs (2)
1051state.RequestMessage.RequestUri.PathAndQuery, 1076state.RequestMessage.RequestUri.PathAndQuery,
System.Net.HttpListener (1)
System\Net\Managed\HttpListenerRequest.Managed.cs (1)
154path = raw_uri.PathAndQuery;
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1653string s = Address.Scheme + "://" + hostName + Address.PathAndQuery;
System.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\CodeExporter.cs (1)
1554string path = uri.PathAndQuery;
System.Speech (1)
Recognition\Grammar.cs (1)
480!string.IsNullOrEmpty(uri.Query) || uri.PathAndQuery != "dictation")