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)
tests\AnalyzeCiFailure.Tests\TestServices\GitHubFixtureHandler.cs (2)
56if (request.Method == HttpMethod.Get) 208if (request.Method != HttpMethod.Get)
AnalyzeCiFailure.Tests (2)
TestServices\GitHubFixtureHandler.cs (2)
56if (request.Method == HttpMethod.Get) 208if (request.Method != HttpMethod.Get)
aspire (4)
Documentation\CachedHttpDocumentFetcher.cs (1)
39using var request = new HttpRequestMessage(HttpMethod.Get, url);
src\Shared\Telemetry\InternalMicrosoftDetector.cs (3)
1033using var userRequest = NewGitHubRequest(HttpMethod.Get, "https://api.github.com/user", token); 1054using var membershipRequest = NewGitHubRequest(HttpMethod.Get, $"https://api.github.com/user/memberships/orgs/{MicrosoftGitHubOrg}", token); 1076using var publicMemberRequest = NewGitHubRequest(HttpMethod.Get, $"https://api.github.com/orgs/{MicrosoftGitHubOrg}/public_members/{login}", token);
Aspire.Cli.EndToEnd.Tests (1)
Helpers\CliE2ETestHelpers.cs (1)
869using var request = new HttpRequestMessage(HttpMethod.Get, url);
Aspire.Dashboard (3)
src\Shared\Telemetry\InternalMicrosoftDetector.cs (3)
1033using var userRequest = NewGitHubRequest(HttpMethod.Get, "https://api.github.com/user", token); 1054using var membershipRequest = NewGitHubRequest(HttpMethod.Get, $"https://api.github.com/user/memberships/orgs/{MicrosoftGitHubOrg}", token); 1076using var publicMemberRequest = NewGitHubRequest(HttpMethod.Get, $"https://api.github.com/orgs/{MicrosoftGitHubOrg}/public_members/{login}", token);
Aspire.Dashboard.Tests (7)
Integration\BlazorWebSocketOriginTests.cs (1)
49var request = new HttpRequestMessage(HttpMethod.Get, path)
Integration\HealthTests.cs (1)
34var request = new HttpRequestMessage(HttpMethod.Get, $"/{DashboardUrls.HealthBasePath}");
Integration\ResponseCompressionTests.cs (2)
25var request = new HttpRequestMessage(HttpMethod.Get, DashboardUrls.StructuredLogsBasePath); 48var request = new HttpRequestMessage(HttpMethod.Get, path);
Integration\StartupTests.cs (3)
467var request = new HttpRequestMessage(HttpMethod.Get, "/"); 568var request = new HttpRequestMessage(HttpMethod.Get, "/"); 1071var request = new HttpRequestMessage(HttpMethod.Get, "/");
Aspire.Deployment.EndToEnd.Tests (7)
AcaExpressDeploymentTests.cs (2)
321using var request = new HttpRequestMessage(HttpMethod.Get, url); 368using var wrongSecretRequest = new HttpRequestMessage(HttpMethod.Get, urls["api"]);
FoundryHostedAgentDeploymentTests.cs (3)
229using var resourcesRequest = new HttpRequestMessage(HttpMethod.Get, resourcesUri); 246HttpMethod.Get, 261HttpMethod.Get,
Helpers\DotnetProjectDeploymentHelpers.cs (1)
78using var request = new HttpRequestMessage(HttpMethod.Get, url);
Helpers\EntraDeploymentHelpers.cs (1)
360using var response = await SendAsync(client, credential, HttpMethod.Get, url, cancellationToken);
Aspire.Hosting (3)
Dcp\DcpKubernetesClient.cs (3)
58using var request = new HttpRequestMessage(HttpMethod.Get, new Uri(BaseUri, $"{collectionPath}?watch=true")); 142var httpResponse = await SendRequest<object?>(url, HttpMethod.Get, customHeaders: null, body: null, cancellationToken).ConfigureAwait(false); 160Method = HttpMethod.Get,
Aspire.Hosting.Azure.Sandboxes (3)
Internal\Adc\AzureDevComputeClient.cs (3)
79HttpMethod.Get, 170HttpMethod.Get, 379method == HttpMethod.Get ||
Aspire.Hosting.Azure.Tests (3)
AzureSandboxesTests.cs (1)
615Assert.Equal(HttpMethod.Get, request.Method);
AzureWebPubSubEmulatorTests.cs (1)
162var matches = request.Method == HttpMethod.Get && request.RequestUri == new Uri("http://localhost:18080/api/health");
FoundryExtensionsTests.cs (1)
409Assert.Equal(HttpMethod.Get, request.Method);
Aspire.Hosting.Foundry (3)
FoundryLocalHealthCheck.cs (2)
21using var request = new HttpRequestMessage(HttpMethod.Get, new Uri(resource.EmulatorServiceUri, "v1/models")); 30using var legacyRequest = new HttpRequestMessage(HttpMethod.Get, new Uri(resource.EmulatorServiceUri, "openai/status"));
FoundryLocalService.cs (1)
131using var request = new HttpRequestMessage(HttpMethod.Get, new Uri(endpoint, path));
Aspire.Hosting.Native.Server (2)
Dcp\DcpApiClient.cs (2)
119return await SendAsync(HttpMethod.Get, Api + collection.ToPath() + "/" + name, null, 220while ((await SendAsync(HttpMethod.Get, "admin/execution", null, DcpJsonContext.Default.DcpExecutionResponse,
Aspire.Hosting.OpenAI (2)
OpenAIHealthCheck.cs (1)
66using var req = new HttpRequestMessage(HttpMethod.Get, s_statusPageUri);
OpenAIModelHealthCheck.cs (1)
40using var request = new HttpRequestMessage(HttpMethod.Get, new Uri($"{endpoint}/models/{model}"));
Aspire.Hosting.Tests (2)
WithHttpCommandTests.cs (2)
407.WithHttpCommand("/some-path", "Do The Get Thing", commandOptions: new() { Method = HttpMethod.Get }) 408.WithHttpCommand("/some-path", "Do The Get Thing", endpointName: "custom-endpoint", commandOptions: new() { Method = HttpMethod.Get })
Aspire.TestTools (19)
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.");
dotnet-sourcelink (1)
EntraId.Web (1)
GraphController.cs (1)
25using var request = new HttpRequestMessage(HttpMethod.Get, "me");
Microsoft.AspNetCore.Authentication.Google (1)
GoogleHandler.cs (1)
47var request = new HttpRequestMessage(HttpMethod.Get, Options.UserInformationEndpoint);
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
MicrosoftAccountHandler.cs (1)
43var request = new HttpRequestMessage(HttpMethod.Get, Options.UserInformationEndpoint);
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectHandler.cs (1)
1063var requestMessage = new HttpRequestMessage(HttpMethod.Get, userInfoEndpoint);
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterHandler.cs (1)
325var response = await ExecuteRequestAsync("https://api.twitter.com/1.1/account/verify_credentials.json", HttpMethod.Get, accessToken, queryParameters: new Dictionary<string, string>() { { "include_email", "true" } });
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (8)
Logging\AcceptanceTests.cs (3)
442using var httpMessage = new HttpRequestMessage(HttpMethod.Get, "/"); 470Assert.Single(state, x => x.Key == HttpLoggingTagNames.Method && x.Value == HttpMethod.Get.ToString()); 668Assert.Single(state, x => x.Key == HttpLoggingTagNames.Method && x.Value == HttpMethod.Get.ToString());
Logging\AcceptanceTests.Mvc.cs (5)
84Assert.Single(state, x => x.Key == HttpLoggingTagNames.Method && x.Value == HttpMethod.Get.ToString()); 122Assert.Single(state, x => x.Key == HttpLoggingTagNames.Method && x.Value == HttpMethod.Get.ToString()); 174Assert.Single(state, x => x.Key == HttpLoggingTagNames.Method && x.Value == HttpMethod.Get.ToString()); 209Assert.Single(state, x => x.Key == HttpLoggingTagNames.Method && x.Value == HttpMethod.Get.ToString()); 252Assert.Single(state, x => x.Key == HttpLoggingTagNames.Method && x.Value == HttpMethod.Get.ToString());
Microsoft.AspNetCore.Http.Connections.Client (3)
Internal\LongPollingTransport.cs (2)
54var request = new HttpRequestMessage(HttpMethod.Get, url); 154var request = new HttpRequestMessage(HttpMethod.Get, pollUrl);
Internal\ServerSentEventsTransport.cs (1)
55var request = new HttpRequestMessage(HttpMethod.Get, url);
Microsoft.AspNetCore.Mvc.Testing (1)
Handlers\RedirectHandler.cs (1)
152redirect.Method = HttpMethod.Get;
Microsoft.AspNetCore.OpenApi (1)
Extensions\ApiDescriptionExtensions.cs (1)
35"GET" => HttpMethod.Get,
Microsoft.AspNetCore.TestHost (2)
RequestBuilder.cs (2)
23_req = new HttpRequestMessage(HttpMethod.Get, path); 84_req.Method = HttpMethod.Get;
Microsoft.Extensions.AI.Evaluation.Safety (1)
ContentSafetyService.cs (1)
413requestMethod ??= HttpMethod.Get;
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIResponseClientTests.cs (2)
3012Method = HttpMethod.Get, 3264Method = HttpMethod.Get,
Microsoft.Extensions.Http.Diagnostics (1)
Logging\Internal\HttpRequestBodyReader.cs (1)
39if (request.Content == null || request.Method == HttpMethod.Get)
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,
Logging\HttpClientLoggerTest.cs (3)
85Method = HttpMethod.Get, 123Method = HttpMethod.Get, 278using var request = new HttpRequestMessage(HttpMethod.Get, "http://default-uri.com/foo/bar");
Logging\HttpClientLoggingExtensionsTest.cs (2)
766using var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost/api"); 789using var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost/api");
Logging\HttpRequestBodyReaderTest.cs (1)
233Method = HttpMethod.Get
Logging\HttpRequestReaderTest.cs (7)
663Method = HttpMethod.Get, 695using var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, uri); 725using var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, uri); 761using var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, uri); 809using var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, uri); 850using var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, uri); 898httpRequestMessage.Method = HttpMethod.Get;
Microsoft.Extensions.Http.Resilience (1)
Resilience\ResilienceHttpClientBuilderExtensions.Resilience.cs (1)
128using var request = new HttpRequestMessage(HttpMethod.Get, "https://localhost:123");
Microsoft.Extensions.Http.Resilience.Tests (20)
Hedging\HedgingTests.cs (9)
83using var request = new HttpRequestMessage(HttpMethod.Get, "https://to-be-replaced:1234/some-path?query"); 123using var request = new HttpRequestMessage(HttpMethod.Get, "https://to-be-replaced:1234/some-path?query"); 142using var request = new HttpRequestMessage(HttpMethod.Get, "https://to-be-replaced:1234/some-path?query"); 164using var request = new HttpRequestMessage(HttpMethod.Get, "https://to-be-replaced:1234/some-path?query"); 189using var request = new HttpRequestMessage(HttpMethod.Get, "https://to-be-replaced:1234/some-path?query"); 213using var request = new HttpRequestMessage(HttpMethod.Get, "https://to-be-replaced:1234/some-path?query"); 237using var request = new HttpRequestMessage(HttpMethod.Get, "https://to-be-replaced:1234/some-path?query"); 265using var request = new HttpRequestMessage(HttpMethod.Get, "https://to-be-replaced:1234/some-path?query"); 289using var request = new HttpRequestMessage(HttpMethod.Get, "https://to-be-replaced:1234/some-path?query");
Hedging\StandardHedgingTests.cs (5)
223using var request = new HttpRequestMessage(HttpMethod.Get, "https://key:80/discarded"); 256using var firstRequest = new HttpRequestMessage(HttpMethod.Get, "https://to-be-replaced:1234/some-path?query"); 263using var secondRequest = new HttpRequestMessage(HttpMethod.Get, "https://to-be-replaced:1234/some-path?query"); 291using var request = new HttpRequestMessage(HttpMethod.Get, "https://some-endpoint:1234/some-path?query"); 338using var request = new HttpRequestMessage(HttpMethod.Get, $"https://{FailingEndpoint}:3000");
Polly\HttpRetryStrategyOptionsExtensionsTests.cs (3)
18Assert.Throws<ArgumentNullException>(() => ((HttpRetryStrategyOptions)null!).DisableFor(HttpMethod.Get)); 37Assert.Throws<ArgumentException>(() => options.DisableFor(HttpMethod.Get)); 61using var request = new HttpRequestMessage { Method = HttpMethod.Get };
Resilience\HttpClientBuilderExtensionsTests.Standard.cs (1)
41using var request = new HttpRequestMessage(HttpMethod.Get, url);
Resilience\RequestMessageSnapshotTests.cs (2)
24Method = HttpMethod.Get, 58Method = HttpMethod.Get,
Microsoft.Extensions.ServiceDiscovery.Tests (1)
ServiceEndpointResolverTests.cs (1)
200var httpRequest = new HttpRequestMessage(HttpMethod.Get, "http://basket");
Microsoft.ML.Tokenizers (1)
Utils\Helpers.netcoreapp.cs (1)
34HttpResponseMessage response = client.Send(new HttpRequestMessage(HttpMethod.Get, url), HttpCompletionOption.ResponseHeadersRead);
Microsoft.ML.Tokenizers.Tests (1)
parent\parent\src\Microsoft.ML.Tokenizers\Utils\Helpers.netcoreapp.cs (1)
34HttpResponseMessage response = client.Send(new HttpRequestMessage(HttpMethod.Get, url), HttpCompletionOption.ResponseHeadersRead);
Microsoft.NET.Build.Containers (5)
AuthHandshakeMessageHandler.cs (1)
464var message = new HttpRequestMessage(HttpMethod.Get, builder.ToString());
AuthRealmHandlerFactory.cs (2)
166request.Method = HttpMethod.Get; 198HttpStatusCode.SeeOther => method != HttpMethod.Get && method != HttpMethod.Head,
Registry\DefaultBlobOperations.cs (1)
73using HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Get, new Uri(_baseUri, $"/v2/{repositoryName}/blobs/{digest}")).AcceptManifestFormats();
Registry\DefaultManifestOperations.cs (1)
51using HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Get, new Uri(_baseUri, $"/v2/{repositoryPath}/manifests/{tagOrDigest}")).AcceptManifestFormats();
NuGet.Protocol (5)
HttpSource\HttpSource.cs (1)
120var requestMessage = HttpRequestMessageFactory.Create(HttpMethod.Get, request.Uri, log);
HttpSource\HttpSourceRequest.cs (2)
18: this(() => HttpRequestMessageFactory.Create(HttpMethod.Get, uri, log)) 23: this(() => HttpRequestMessageFactory.Create(HttpMethod.Get, uri, log))
LegacyFeed\ODataServiceDocumentUtils.cs (1)
28new HttpSourceRequest(() => HttpRequestMessageFactory.Create(HttpMethod.Get, url, log)),
LegacyFeed\V2FeedParser.cs (1)
585var request = HttpRequestMessageFactory.Create(HttpMethod.Get, uri, log);
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\Http\HttpClient.cs (4)
175HttpRequestMessage request = CreateRequestMessage(HttpMethod.Get, requestUri); 249HttpRequestMessage request = CreateRequestMessage(HttpMethod.Get, requestUri); 326HttpRequestMessage request = CreateRequestMessage(HttpMethod.Get, requestUri); 387SendAsync(CreateRequestMessage(HttpMethod.Get, requestUri), completionOption, cancellationToken);
System\Net\Http\HttpMethod.cs (3)
87/// This method may return a singleton instance for known methods; for example, it may return <see cref="Get"/> 88/// if "GET" is specified. The parsing is performed in a case-insensitive manner, so it may also return <see cref="Get"/> 104'g' => Get,
System\Net\Http\HttpRequestMessage.cs (1)
180: this(HttpMethod.Get, (Uri?)null)
System\Net\Http\SocketsHttpHandler\RedirectHandler.cs (3)
71Trace($"Modified request from {request.Method} to {HttpMethod.Get} in response to status code {(int)response.StatusCode} '{response.StatusCode}'.", request.GetHashCode()); 74request.Method = HttpMethod.Get; 168return requestMethod != HttpMethod.Get && requestMethod != HttpMethod.Head;
System.Net.Requests (2)
System\Net\HttpWebRequest.cs (2)
39private string _originVerb = HttpMethod.Get.Method; 1077if (string.Equals(HttpMethod.Get.Method, _originVerb, StringComparison.OrdinalIgnoreCase) ||