206 references to HttpGet
ApiExplorerWebSite (21)
Controllers\ApiExplorerHttpMethodController.cs (2)
16[HttpGet("Get")] 26[HttpGet("MultipleActions")]
Controllers\ApiExplorerInboundOutboundController.cs (2)
10[HttpGet("ApiExplorerInboundOutbound/SuppressedForLinkGeneration")] 15[HttpGet("ApiExplorerInboundOutbound/SuppressedForPathMatching")]
Controllers\ApiExplorerNameSetExplicitlyController.cs (2)
12[HttpGet("SetOnController")] 18[HttpGet("SetOnAction")]
Controllers\ApiExplorerResponseContentTypeOverrideOnActionController.cs (2)
12[HttpGet("Controller")] 18[HttpGet("Action")]
Controllers\ApiExplorerResponseTypeOverrideOnActionController.cs (3)
13[HttpGet("Controller")] 18[HttpGet("Action")] 26[HttpGet("Action2")]
Controllers\ApiExplorerRouteAndPathParametersInformationController.cs (8)
14[HttpGet("{id}")] 17[HttpGet("Optional/{id?}")] 20[HttpGet("Constraint/{integer:int}")] 23[HttpGet("CatchAll/{*parameter}")] 26[HttpGet("MultipleParametersInSegment/{month:range(1,12)}-{day:int}-{year:int}")] 29[HttpGet("MultipleParametersInMultipleSegments/{month:range(1,12)}/{day:int?}/{year:int?}")] 32[HttpGet("MultipleTypesOfParameters/{path}/{pathAndQuery}/{pathAndFromBody}")] 35[HttpGet("CatchAllAndConstraint/{*integer:int}")]
Controllers\ApiExplorerVisibilitySetExplicitlyController.cs (2)
13[HttpGet("Enabled")] 18[HttpGet("Disabled")]
ApplicationModelWebSite (7)
Controllers\HomeController.cs (6)
16[HttpGet("Home/GetHelloWorld")] 22[HttpGet("Home/CannotBeRouted", Name = nameof(SuppressPathMatching))] 23[HttpGet("Home/CanBeRouted")] 30[HttpGet("Home/SuppressLinkGeneration", Name = nameof(SuppressLinkGeneration))] 34[HttpGet("Home/RouteToSuppressLinkGeneration")] 37[HttpGet("Home/RouteToSuppressPathMatching")]
Controllers\LicenseController.cs (1)
10[HttpGet("License/GetLicense")]
BasicWebSite (34)
Controllers\AsyncDisposableController.cs (1)
23[HttpGet("Disposal/DisposeMode/Async({asyncMode})/Throws({throwException})")]
Controllers\ContactApiController.cs (10)
21[HttpGet("{id}")] 66[HttpGet("[action]")] 72[HttpGet("[action]")] 79[HttpGet("[action]")] 86[HttpGet("[action]/{id}")] 94[HttpGet("[action]")] 100[HttpGet("[action]")] 117[HttpGet("[action]")] 135[HttpGet("[action]/{id}")] 139[HttpGet("[action]")]
Controllers\ContentNegotiation\InvalidContentTypeController.cs (1)
10[HttpGet("InvalidContentType/SetResponseContentTypeJson")]
Controllers\CustomServiceApiController.cs (6)
12[HttpGet("GetOk")] 18[HttpGet("GetNotOk")] 24[HttpGet("GetBoth")] 32[HttpGet("GetKeyNull")] 40[HttpGet("GetOptionalNotRegistered")] 50[HttpGet("GetRequiredNotRegistered")]
Controllers\PageRouteController.cs (2)
24[HttpGet("/PageRoute/Attribute/{page}")] 36[HttpGet("/PageRoute/AttributeView/{page}")]
Controllers\RazorComponentsController.cs (4)
49[HttpGet("/components/{**slug}")] 50[HttpGet("/components/routable/{**slug}")] 61[HttpGet("/WeatherData")] 68[HttpGet("/components/Navigation")]
Controllers\TestingController.cs (10)
20[HttpGet("Testing/Builder")] 41[HttpGet("Testing/RedirectHandler/Headers")] 54[HttpGet("Testing/RedirectHandler/RedirectToAuthorized")] 60[HttpGet("Testing/RedirectHandler/Authorized")] 67[HttpGet("Testing/RedirectHandler/Headers/Redirect")] 80[HttpGet("Testing/RedirectHandler/Relative/")] 86[HttpGet("Testing/RedirectHandler/Relative/Ok")] 89[HttpGet("Testing/RedirectHandler/Redirect303")] 113[HttpGet("Testing/AntiforgerySimulator/{value}")] 143[HttpGet("Testing/PostRedirectGet/Get/{value}")]
ControllersFromServicesClassLibrary (4)
ControllerWithConstructorInjection.cs (1)
24[HttpGet("/constructorinjection")]
GenericController.cs (1)
10[HttpGet("/not-discovered/generic")]
NestedControllerOwner.cs (1)
12[HttpGet("/not-discovered/nested")]
TimeScheduleController.cs (1)
10[HttpGet("/schedule/{id:int}")]
ControllersFromServicesWebSite (3)
AnotherController.cs (2)
17[HttpGet("InServicesViewComponent")] 23[HttpGet("InServicesTagHelper")]
NotInServicesController.cs (1)
10[HttpGet("/not-discovered/not-in-services")]
CustomAuthorizationFailureResponse (3)
Controllers\SampleController.cs (3)
14[HttpGet("customPolicyWithCustomForbiddenMessage")] 21[HttpGet("customPolicy")] 28[HttpGet("failureReason")]
ErrorPageMiddlewareWebSite (6)
AggregateExceptionController.cs (1)
10[HttpGet("/AggregateException")]
ErrorPageMiddlewareController.cs (5)
11[HttpGet("/CompilationFailure")] 17[HttpGet("/ParserError")] 23[HttpGet("/ErrorFromViewImports")] 29[HttpGet("/RuntimeError")] 32[HttpGet("/LoaderException")]
GenericHostWebSite (8)
Controllers\TestingController.cs (8)
19[HttpGet("Testing/Builder")] 40[HttpGet("Testing/RedirectHandler/Headers")] 53[HttpGet("Testing/RedirectHandler/Headers/Redirect")] 66[HttpGet("Testing/RedirectHandler/Relative/")] 72[HttpGet("Testing/RedirectHandler/Relative/Ok")] 75[HttpGet("Testing/RedirectHandler/Redirect303")] 99[HttpGet("Testing/AntiforgerySimulator/{value}")] 129[HttpGet("Testing/PostRedirectGet/Get/{value}")]
HtmlGenerationWebSite (8)
Controllers\Catalog_CacheTagHelperController.cs (8)
12[HttpGet("/catalog")] 23[HttpGet("/catalog/{id:int}")] 30[HttpGet("/catalog/cart")] 37[HttpGet("/catalog/{region}/confirm-payment")] 45[HttpGet("/catalog/{region}/{section}/confirm-payment")] 55[HttpGet("/catalog/past-purchases/{id}")] 66[HttpGet("/categories/{category}")] 85[HttpGet("/catalog/GetDealPercentage/{dealPercentage}")]
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (11)
Logging\ApiRoutingController.cs (1)
20[HttpGet("{userId}/{noDataClassification}")]
Logging\AttributeRoutingController.cs (6)
15[HttpGet("")] 16[HttpGet("all")] 19[HttpGet("get-1/{param:int:min(1)}")] 22[HttpGet("get-2/{param?}")] 25[HttpGet("get-3/{param=all}")] 28[HttpGet("get-4/{param=all}")]
Logging\MixedRoutingController.cs (4)
16[HttpGet("mixed/attribute-routing-1/{param:int:min(1)}")] 19[HttpGet("mixed/attribute-routing-2/{param?}")] 22[HttpGet("mixed/attribute-routing-3/{param=all}")] 25[HttpGet("mixed/attribute-routing-4/{param=all}")]
Microsoft.AspNetCore.Mvc.Core.Test (56)
ApiConventionTypeAttributeTest.cs (1)
51[HttpGet("url")]
ApplicationModels\ActionModelTest.cs (1)
27var route = new AttributeRouteModel(new HttpGetAttribute("api/Products"));
ApplicationModels\AttributeRouteModelTests.cs (1)
14var route = new AttributeRouteModel(new HttpGetAttribute("/api/Products"))
ApplicationModels\ControllerActionDescriptorProviderTests.cs (22)
1515[HttpGet("stub/[action]")] 1521[HttpGet("stub/[ActIon]")] 1527[HttpGet("stub/[action]/[unknown]")] 1530[HttpGet("[invalid/syntax")] 1536[HttpGet("stub/{controller}/{action}")] 1542[HttpGet("stub/[action]")] 1545[HttpGet("stub/Action1")] 1552[HttpGet("Index")] 1555[HttpGet("Edit")] 1567[HttpGet("{id}", Name = "Products")] 1579[HttpGet("/Items/{id}", Name = "Items")] 1628[HttpGet("{id}", Name = "Products")] 1631[HttpGet("{ID}", Name = "Products")] 1645[HttpGet("List")] 1646[HttpGet("All")] 1675[HttpGet("AttributeRouted")] 1687[HttpGet("/List")] 1688[HttpGet("/List")] 1701[HttpGet("list")] 1704[HttpGet("/PRODUCTS/LIST")] 1707[HttpGet("list")] 1743[HttpGet("AttributeRoute")]
ApplicationModels\ControllerModelTest.cs (1)
29var route = new AttributeRouteModel(new HttpGetAttribute("api/Products"));
ApplicationModels\DefaultApplicationModelProviderTest.cs (6)
1599[HttpGet("All")] 1618[HttpGet("All")] 1619[HttpGet("List")] 1629[HttpGet("All")] 1630[HttpGet("List")] 1676[HttpGet("id/{id?}")]
ApplicationModels\EndpointMetadataProviderTest.cs (6)
306[HttpGet("selector1")] 307[HttpGet("selector2")] 310[HttpGet("selector1")] 311[HttpGet("selector2")] 325[HttpGet("selector1")] 326[HttpGet("selector2")]
ApplicationModels\InferParameterBindingInfoConventionTest.cs (18)
946[HttpGet("{parameter}")] 949[HttpGet("{id}")] 1009[HttpGet("parameter-with-model-binder-attribute")] 1012[HttpGet("parameter-with-fromquery")] 1015[HttpGet("parameter-with-fromquery-and-customname")] 1018[HttpGet("parameter-with-fromquery-on-complextype")] 1021[HttpGet("parameter-with-fromquery-on-complextype-and-customname")] 1024[HttpGet("parameter-with-fromquery-on-collection-type")] 1027[HttpGet("parameter-with-fromquery-on-array-type")] 1030[HttpGet("parameter-with-fromquery-on-array-type-customname")] 1033[HttpGet("parameter-with-fromroute")] 1036[HttpGet("parameter-with-fromroute-and-customname")] 1039[HttpGet("parameter-with-fromroute-on-complextype")] 1042[HttpGet("parameter-with-fromroute-on-complextype-and-customname")] 1087[HttpGet("stuff/{status}")] 1090[HttpGet("/absolute-route")] 1105[HttpGet("{parameter}")] 1191[HttpGet("test")]
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Builder\ControllerActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (2)
324[HttpGet("/")] 331[HttpGet("other")]
Mvc.RoutingWebSite (27)
Areas\Admin\UserManagementController.cs (1)
19[HttpGet("All")]
Areas\Travel\HomeController.cs (1)
23[HttpGet("ContosoCorp/AboutTravel")]
Areas\Travel\RailController.cs (1)
24[HttpGet("CheckSchedule")]
Controllers\BanksController.cs (2)
17[HttpGet("Banks/[action]/{id}")] 18[HttpGet("Bank/[action]/{id}")]
Controllers\BranchesController.cs (1)
22[HttpGet("dynamicattributeorder/{some}/{value}/{**slug}", Order = 1)]
Controllers\CompanyController.cs (2)
49[HttpGet("Employees")] 57[HttpGet("Departments", Name = "Departments")]
Controllers\DynamicOrderController.cs (1)
17[HttpGet("attribute-dynamic-order/{**slug}", Name = "AttributeRouteSlug")]
Controllers\EmployeeController.cs (3)
43[HttpGet("{id}")] 49[HttpGet("{id}/Administrator")] 55[HttpGet("~/Manager/{id}")]
Controllers\FriendsController.cs (1)
19[HttpGet("{id}")]
Controllers\PageParameterController.cs (1)
17[HttpGet("/PageParameter/LinkToPageParameter")]
Controllers\PageRouteController.cs (1)
22[HttpGet("/PageRoute/Attribute/{page}")]
Controllers\StoreController.cs (3)
18[HttpGet("Store/Shop/Products")] 25[HttpGet("Home/About")] 37[HttpGet("Store/Shop/Orders")]
Controllers\TeamController.cs (9)
18[HttpGet("/Team/{teamId}", Order = 2)] 24[HttpGet("/Team/{teamId}")] 30[HttpGet("")] 36[HttpGet("", Order = 0)] 42[HttpGet("/Club/{clubId?}")] 48[HttpGet("/Organization/{clubId?}", Order = 1)] 54[HttpGet("AllTeams")] 60[HttpGet("AllOrganizations", Order = 0)] 66[HttpGet("/TeamName/{*Name=DefaultName}/")]
RazorPagesWebSite (2)
Controllers\ClientValidationDisabledController.cs (1)
10[HttpGet("/Controller/ClientValidationDisabled")]
Controllers\RedirectController.cs (1)
10[HttpGet("/RedirectToPage")]
RazorWebSite (1)
Controllers\ViewWithPathsController.cs (1)
10[HttpGet("/ViewWithPaths")]
Sandbox (1)
Controllers\ValuesController.cs (1)
20[HttpGet("{id}")]
SimpleWebSiteWithWebApplicationBuilder (1)
Program.cs (1)
62[HttpGet("/greet")]
VersioningWebSite (11)
Controllers\CustomersController.cs (2)
20[HttpGet("{id}")] 27[HttpGet("{id}")]
Controllers\ItemsController.cs (1)
21[HttpGet("/Items")]
Controllers\MoviesController.cs (2)
23[HttpGet("Movies")] 29[HttpGet("Movies/{id}")]
Controllers\PetsController.cs (4)
19[HttpGet("v1/Pets")] 20[HttpGet("v2/Pets")] 26[HttpGet("v1/Pets/{id}")] 32[HttpGet("v2/Pets/{id}")]
Controllers\TicketsController.cs (2)
20[HttpGet("/Tickets")] 26[HttpGet("/Tickets/{id}")]