8 references to WithName
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Operations.cs (1)
192
builder.MapGet("/api/todos", () => { }).
WithName
("GetTodos");
Microsoft.AspNetCore.Routing.Tests (2)
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (1)
454
map(builder, "/{ID}", () => { }).
WithName
("Foo");
Builder\RoutingEndpointConventionBuilderExtensionsTest.cs (1)
144
builder.
WithName
(name);
Sample (1)
Endpoints\MapVersionedEndpoints.cs (1)
30
.
WithName
("CreateUser");
TestingAppHost1.MyWebApp (4)
Program.cs (4)
35
.
WithName
("GetWeatherForecast");
40
}).
WithName
("GetLaunchProfileVar");
45
}).
WithName
("GetAppHostArg");
50
}).
WithName
("GetLaunchProfileVarFromAppHost");