29 references to WithHttpCommand
Aspire.Hosting (2)
ApplicationModel\HttpCommandContext.cs (1)
8
/// <see cref="ResourceBuilderExtensions.
WithHttpCommand
{TResource}(IResourceBuilder{TResource}, string, string, string?, string?, HttpCommandOptions?)"/>
ApplicationModel\HttpCommandOptions.cs (1)
7
/// Optional configuration for resource HTTP commands added with <see cref="ResourceBuilderExtensions.
WithHttpCommand
{TResource}(Aspire.Hosting.ApplicationModel.IResourceBuilder{TResource}, string, string, string?, string?, Aspire.Hosting.ApplicationModel.HttpCommandOptions?)"/>."/>
Aspire.Hosting.Tests (17)
WithHttpCommandTests.cs (17)
23
.
WithHttpCommand
("/some-path", "Do The Thing");
47
container.
WithHttpCommand
("/some-path", "Do The Thing", endpointName: "nonhttp");
86
.
WithHttpCommand
("/some-path", "Do The Thing");
110
.
WithHttpCommand
("/some-path", "Do The Thing",
143
.
WithHttpCommand
("/some-path", "Do The Thing")
144
.
WithHttpCommand
("/some-path", "Do The Thing", endpointName: "custom-endpoint")
145
.
WithHttpCommand
("/some-path", "Do The Get Thing", commandOptions: new() { Method = HttpMethod.Get })
146
.
WithHttpCommand
("/some-path", "Do The Get Thing", endpointName: "custom-endpoint", commandOptions: new() { Method = HttpMethod.Get })
147
.
WithHttpCommand
("/some-other-path", "Do The Other Thing")
149
.
WithHttpCommand
("/some-other-path", "Do The Other Thing CHANGED");
183
.
WithHttpCommand
($"/status/{statusCode}", "Do The Thing", commandName: "mycommand");
213
.
WithHttpCommand
("/get-only", "Do The Thing", commandName: "mycommand", commandOptions: new() { Method = method });
242
.
WithHttpCommand
("/get-only", "Do The Thing", commandName: "mycommand", commandOptions: new() { HttpClientName = "commandclient" });
314
.
WithHttpCommand
("/status/200", "Do The Thing",
358
.
WithHttpCommand
("/status/200", "Do The Thing",
407
.
WithHttpCommand
("/dothing", "Do The Thing", commandName: "mycommand");
467
.
WithHttpCommand
("/dothing", "Do The Thing",
Stress.AppHost (9)
Program.cs (9)
70
serviceBuilder.
WithHttpCommand
("/write-console", "Write to console", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
71
serviceBuilder.
WithHttpCommand
("/increment-counter", "Increment counter", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
72
serviceBuilder.
WithHttpCommand
("/big-trace", "Big trace", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
73
serviceBuilder.
WithHttpCommand
("/trace-limit", "Trace limit", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
74
serviceBuilder.
WithHttpCommand
("/log-message", "Log message", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
75
serviceBuilder.
WithHttpCommand
("/log-message-limit", "Log message limit", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
76
serviceBuilder.
WithHttpCommand
("/multiple-traces-linked", "Multiple traces linked", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
77
serviceBuilder.
WithHttpCommand
("/overflow-counter", "Overflow counter", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
78
serviceBuilder.
WithHttpCommand
("/nested-trace-spans", "Out of order nested spans", commandOptions: new() { Method = HttpMethod.Get, IconName = "ContentViewGalleryLightning" });
TestShop.AppHost (1)
Program.cs (1)
37
.
WithHttpCommand
("/reset-db", "Reset Database",