203 references to Get
AnalyzeCiFailure (19)
tools\Aspire.TestTools\GitHubApiClient.cs (19)
92=> SendJsonAsync(HttpMethod.Get, endpoint, body: null, HttpStatusCode.OK, cancellationToken);
101var original = ResolveEndpoint(HttpMethod.Get, endpoint);
110throw Error(HttpMethod.Get, original, "pagination exceeds the 1000-page limit.");
115throw Error(HttpMethod.Get, original, "invalid or cyclic pagination link.");
121using var response = await OpenAsync(HttpMethod.Get, current, original, body: null, HttpStatusCode.OK, allowExternalRedirect: false, timeout.Token).ConfigureAwait(continueOnCapturedContext: false);
122var (node, bytes) = await ReadJsonAsync(response, JsonLimit - totalBytes, HttpMethod.Get, original, timeout.Token).ConfigureAwait(continueOnCapturedContext: false);
135throw Wrap(ex, HttpMethod.Get, original, cancellationToken);
179var uri = ResolveEndpoint(HttpMethod.Get, endpoint);
184using var response = await OpenAsync(HttpMethod.Get, uri, uri, body: null, HttpStatusCode.OK, allowExternalRedirect: true, timeout.Token).ConfigureAwait(continueOnCapturedContext: false);
185await CopyBoundedAsync(response, output, maximumBytes, HttpMethod.Get, uri, timeout.Token).ConfigureAwait(continueOnCapturedContext: false);
192var error = Wrap(ex, HttpMethod.Get, uri, cancellationToken);
204var uri = ResolveEndpoint(HttpMethod.Get, endpoint);
208using var response = await OpenAsync(HttpMethod.Get, uri, uri, body: null, HttpStatusCode.OK, allowExternalRedirect: true, timeout.Token).ConfigureAwait(continueOnCapturedContext: false);
210var count = await CopyBoundedAsync(response, output, maximumBytes, HttpMethod.Get, uri, timeout.Token).ConfigureAwait(continueOnCapturedContext: false);
217throw Wrap(ex, HttpMethod.Get, uri, cancellationToken);
318if (method == HttpMethod.Get && attempt < 2 && ShouldRetry(response) &&
325if (method == HttpMethod.Get && response.StatusCode is HttpStatusCode.MovedPermanently or
522throw Error(HttpMethod.Get, original, "invalid pagination link.");
537throw Error(HttpMethod.Get, original, "invalid pagination link.");
AnalyzeCiFailure.TestHost (2)
AnalyzeCiFailure.Tests (2)
aspire (4)
Aspire.Cli.EndToEnd.Tests (1)
Aspire.Dashboard (3)
Aspire.Dashboard.Tests (7)
Aspire.Deployment.EndToEnd.Tests (7)
Aspire.Hosting (3)
Aspire.Hosting.Azure.Sandboxes (3)
Aspire.Hosting.Azure.Tests (3)
Aspire.Hosting.Foundry (3)
Aspire.Hosting.Native.Server (2)
Aspire.Hosting.OpenAI (2)
Aspire.Hosting.Tests (2)
Aspire.TestTools (19)
dotnet-sourcelink (1)
EntraId.Web (1)
Microsoft.AspNetCore.Authentication.Google (1)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
Microsoft.AspNetCore.Authentication.Twitter (1)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (8)
Microsoft.AspNetCore.Http.Connections.Client (3)
Microsoft.AspNetCore.Mvc.Testing (1)
Microsoft.AspNetCore.OpenApi (1)
Microsoft.AspNetCore.TestHost (2)
Microsoft.Extensions.AI.Evaluation.Safety (1)
Microsoft.Extensions.AI.OpenAI.Tests (2)
Microsoft.Extensions.Http.Diagnostics (1)
Microsoft.Extensions.Http.Diagnostics.Tests (28)
Logging\AcceptanceTests.cs (15)
47Assert.Equal($"{HttpMethod.Get} {_unreachableRequestUri.Host}/{TelemetryConstants.Redacted}", logRecord.Message);
80Assert.EndsWith($"{HttpMethod.Get} {_unreachableRequestUri.Host}/{TelemetryConstants.Redacted}", firstLogRecord.Message);
88Assert.Equal($"{HttpMethod.Get} {_unreachableRequestUri.Host}/{TelemetryConstants.Redacted}", secondLogRecord.Message);
109Method = HttpMethod.Get,
164Method = HttpMethod.Get,
180Method = HttpMethod.Get,
245Method = HttpMethod.Get,
267Method = HttpMethod.Get,
310Method = HttpMethod.Get,
357Method = HttpMethod.Get,
422Method = HttpMethod.Get,
591using var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, _unreachableRequestUri);
617using var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, _unreachableRequestUri);
640using var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, _unreachableRequestUri);
683Method = HttpMethod.Get,
Microsoft.Extensions.Http.Resilience (1)
Microsoft.Extensions.Http.Resilience.Tests (20)
Microsoft.Extensions.ServiceDiscovery.Tests (1)
Microsoft.ML.Tokenizers (1)
Microsoft.ML.Tokenizers.Tests (1)
Microsoft.NET.Build.Containers (5)
NuGet.Protocol (5)
Stress.AppHost (21)
CommandResources.cs (21)
904serviceBuilder.WithHttpCommand("/write-console", "Write to console", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
905serviceBuilder.WithHttpCommand("/increment-counter", "Increment counter", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
906serviceBuilder.WithHttpCommand("/big-trace", "Big trace", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
907serviceBuilder.WithHttpCommand("/log-message", "Log message", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
908serviceBuilder.WithHttpCommand("/http-command-auto-result", "HTTP command auto result", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning", ResultMode = HttpCommandResultMode.Auto, Description = "Run an HTTP command and infer the result format from the response content type" });
909serviceBuilder.WithHttpCommand("/http-command-json-result", "HTTP command JSON result", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning", ResultMode = HttpCommandResultMode.Json, Description = "Run an HTTP command and flow the JSON response back to the caller" });
910serviceBuilder.WithHttpCommand("/http-command-text-result", "HTTP command text result", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning", ResultMode = HttpCommandResultMode.Text, Description = "Run an HTTP command and flow the plain-text response back to the caller" });
911serviceBuilder.WithHttpCommand("/multiple-traces-linked", "Multiple traces linked", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
912serviceBuilder.WithHttpCommand("/overflow-counter", "Overflow counter", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
913serviceBuilder.WithHttpCommand("/nested-trace-spans", "Out of order nested spans", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
914serviceBuilder.WithHttpCommand("/exemplars-no-span", "Examplars with no span", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
992serviceBuilder.WithHttpCommand("/genai-trace", "Gen AI trace", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
993serviceBuilder.WithHttpCommand("/genai-langchain-trace", "Gen AI LangChain trace", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
994serviceBuilder.WithHttpCommand("/genai-trace-display-error", "Gen AI trace display error", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
995serviceBuilder.WithHttpCommand("/genai-evaluations", "Gen AI evaluations", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
996serviceBuilder.WithHttpCommand("/log-formatting", "Log formatting", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
1003commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
1008commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
1013commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
1018commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
1023commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
System.Net.Http (11)
System.Net.Requests (2)