23 references to Delete
Aspire.Hosting.Redis (1)
RedisBuilderExtensions.cs (1)
282var deleteRequest = new HttpRequestMessage(HttpMethod.Delete, databasesPath)
CodeGenerator (1)
src\Shared\runtime\Http3\QPack\H3StaticTable.Http3.cs (1)
14[HttpMethod.Delete] = 16,
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Logging\AcceptanceTests.cs (1)
423Assert.Single(state, x => x.Key == HttpLoggingTagNames.Method && x.Value == HttpMethod.Delete.ToString());
Microsoft.AspNetCore.Http.Connections.Client (1)
Internal\LongPollingTransport.cs (1)
233var request = new HttpRequestMessage(HttpMethod.Delete, url);
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
VersioningEndpointRoutingTests.cs (1)
34var message = new HttpRequestMessage(HttpMethod.Delete, "http://localhost/" + "Customers/5?version=2");
VersioningTestsBase.cs (1)
521var message = new HttpRequestMessage(HttpMethod.Delete, "http://localhost/" + "Customers/5?version=2");
Microsoft.AspNetCore.Routing.FunctionalTests (1)
WebHostBuilderExtensionsTest.cs (1)
54new HttpRequestMessage(HttpMethod.Delete, "greeting/James"),
Microsoft.AspNetCore.Server.IISIntegration.Tests (1)
IISMiddlewareTests.cs (1)
154HttpMethod.Delete,
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\runtime\Http3\QPack\H3StaticTable.Http3.cs (1)
14[HttpMethod.Delete] = 16,
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\runtime\Http3\QPack\H3StaticTable.Http3.cs (1)
14[HttpMethod.Delete] = 16,
Microsoft.AspNetCore.SignalR.Client.Tests (8)
LongPollingTransportTests.cs (5)
237if (request.Method == HttpMethod.Delete) 331if (request.Method == HttpMethod.Delete) 485else if (request.Method == HttpMethod.Delete) 553else if (request.Method == HttpMethod.Delete) 692var deleteRequest = handler.ReceivedRequests.SingleOrDefault(r => r.Method == HttpMethod.Delete);
ResponseUtils.cs (1)
49return request.Method == HttpMethod.Delete &&
TestHttpMessageHandler.cs (2)
123if (request.Method.Equals(HttpMethod.Delete) && request.RequestUri.PathAndQuery.Contains("id=")) 154public void OnDelete(string pathAndQuery, Func<HttpRequestMessage, CancellationToken, Task<HttpResponseMessage>> handler) => OnRequest(HttpMethod.Delete, pathAndQuery, handler);
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (2)
Languages\csharp\CSharp.cs (1)
211if (method == HttpMethod.Delete || method == HttpMethod.Get || method == HttpMethod.Head ||
Modeler\ServiceClientModelFactory.cs (1)
227return HttpMethod.Delete;
System.Net.Http (3)
src\libraries\Common\src\System\Net\Http\aspnetcore\Http3\QPack\H3StaticTable.Http3.cs (1)
14[HttpMethod.Delete] = 16,
System\Net\Http\HttpClient.cs (1)
445SendAsync(CreateRequestMessage(HttpMethod.Delete, requestUri), cancellationToken);
System\Net\Http\HttpMethod.cs (1)
99'd' => Delete,