386 instantiations of HttpGetAttribute
ApiExplorerWebSite (52)
Controllers\ApiExplorerHttpMethodController.cs (2)
16[HttpGet("Get")] 26[HttpGet("MultipleActions")]
Controllers\ApiExplorerInboundOutboundController.cs (2)
10[HttpGet("ApiExplorerInboundOutbound/SuppressedForLinkGeneration")] 15[HttpGet("ApiExplorerInboundOutbound/SuppressedForPathMatching")]
Controllers\ApiExplorerNameSetByConventionController.cs (1)
11[HttpGet]
Controllers\ApiExplorerNameSetExplicitlyController.cs (2)
12[HttpGet("SetOnController")] 18[HttpGet("SetOnAction")]
Controllers\ApiExplorerResponseContentTypeController.cs (4)
11[HttpGet] 17[HttpGet] 24[HttpGet] 31[HttpGet]
Controllers\ApiExplorerResponseContentTypeOverrideOnActionController.cs (2)
12[HttpGet("Controller")] 18[HttpGet("Action")]
Controllers\ApiExplorerResponseTypeOverrideOnActionController.cs (3)
13[HttpGet("Controller")] 18[HttpGet("Action")] 26[HttpGet("Action2")]
Controllers\ApiExplorerResponseTypeWithApiConventionController.cs (3)
13[HttpGet] 16[HttpGet] 19[HttpGet]
Controllers\ApiExplorerResponseTypeWithAttributeController.cs (7)
11[HttpGet] 17[HttpGet] 23[HttpGet] 30[HttpGet] 37[HttpGet] 44[HttpGet] 51[HttpGet]
Controllers\ApiExplorerResponseTypeWithoutAttributeController.cs (13)
11[HttpGet] 16[HttpGet] 22[HttpGet] 28[HttpGet] 34[HttpGet] 40[HttpGet] 43[HttpGet] 49[HttpGet] 55[HttpGet] 61[HttpGet] 67[HttpGet] 73[HttpGet] 79[HttpGet]
Controllers\ApiExplorerRouteAndPathParametersInformationController.cs (9)
11[HttpGet] 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\ApiExplorerVisibilityDisabledByConventionController.cs (1)
11[HttpGet]
Controllers\ApiExplorerVisibilityEnabledByConventionController.cs (1)
11[HttpGet]
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 (68)
Areas\Area1\Controllers\RemoteAttribute_HomeController.cs (1)
15[HttpGet]
Areas\Area2\Controllers\RemoteAttribute_VerifyController.cs (1)
15[HttpGet]
Controllers\ActionResultOfTController.cs (2)
11[HttpGet] 22[HttpGet]
Controllers\AntiforgeryController.cs (1)
71[HttpGet]
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\FormatFilterController.cs (1)
20[HttpGet]
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\CustomValueProviderController.cs (4)
11[HttpGet] 15[HttpGet] 19[HttpGet] 23[HttpGet]
Controllers\DefaultValuesController.cs (4)
11[HttpGet] 17[HttpGet] 23[HttpGet] 31[HttpGet]
Controllers\HomeController.cs (2)
110[HttpGet] 127[HttpGet]
Controllers\LinkGeneration\OrdersController.cs (2)
11[HttpGet] 17[HttpGet]
Controllers\NonNullableApiController.cs (1)
14[HttpGet]
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\RemoteAttribute_HomeController.cs (1)
14[HttpGet]
Controllers\RequestScopedServiceController.cs (7)
12[HttpGet] 19[HttpGet] 25[HttpGet] 31[HttpGet] 37[HttpGet] 43[HttpGet] 52[HttpGet]
Controllers\TempDataController.cs (7)
80[HttpGet] 86[HttpGet] 92[HttpGet] 99[HttpGet] 105[HttpGet] 113[HttpGet] 119[HttpGet]
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}")]
ClaimsTransformation (1)
Controllers\AccountController.cs (1)
15[HttpGet]
ControllersFromServicesClassLibrary (5)
ControllerWithConstructorInjection.cs (1)
24[HttpGet("/constructorinjection")]
GenericController.cs (1)
10[HttpGet("/not-discovered/generic")]
Inventory.cs (1)
10[HttpGet]
NestedControllerOwner.cs (1)
12[HttpGet("/not-discovered/nested")]
TimeScheduleController.cs (1)
10[HttpGet("/schedule/{id:int}")]
ControllersFromServicesWebSite (4)
AnotherController.cs (3)
11[HttpGet] 17[HttpGet("InServicesViewComponent")] 23[HttpGet("InServicesTagHelper")]
NotInServicesController.cs (1)
10[HttpGet("/not-discovered/not-in-services")]
Cookies (1)
Controllers\AccountController.cs (1)
14[HttpGet]
CorsWebSite (4)
Controllers\StoreController.cs (4)
14[HttpGet] 20[HttpGet] 29[HttpGet] 38[HttpGet]
CustomAuthorizationFailureResponse (3)
Controllers\SampleController.cs (3)
14[HttpGet("customPolicyWithCustomForbiddenMessage")] 21[HttpGet("customPolicy")] 28[HttpGet("failureReason")]
CustomPolicyProvider (1)
Controllers\AccountController.cs (1)
13[HttpGet]
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")]
FormatterWebSite (23)
Controllers\AsyncEnumerableController.cs (3)
12[HttpGet] 16[HttpGet] 23[HttpGet]
Controllers\DoNotRespectBrowserAcceptHeaderController.cs (2)
10[HttpGet] 20[HttpGet]
Controllers\JsonOutputFormatterController.cs (10)
13[HttpGet] 16[HttpGet] 19[HttpGet] 22[HttpGet] 25[HttpGet] 29[HttpGet] 37[HttpGet] 46[HttpGet] 54[HttpGet] 62[HttpGet]
Controllers\RespectBrowserAcceptHeaderController.cs (1)
10[HttpGet]
Controllers\StreamController.cs (5)
10[HttpGet] 16[HttpGet] 23[HttpGet] 30[HttpGet] 37[HttpGet]
Controllers\SystemTextJsonOutputFormatterController.cs (2)
14[HttpGet] 22[HttpGet]
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}")]
HostedBlazorWebassemblyApp.Server (1)
Controllers\WeatherForecastController.cs (1)
25[HttpGet]
HtmlGenerationWebSite (9)
Areas\Customer\Controllers\HtmlGeneration_CustomerController.cs (1)
16[HttpGet]
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}")]
IdentitySample.DefaultUI (1)
Controllers\HomeController.cs (1)
10[HttpGet]
IdentitySample.Mvc (19)
Controllers\AccountController.cs (12)
40[HttpGet] 88[HttpGet] 153[HttpGet] 235[HttpGet] 254[HttpGet] 292[HttpGet] 301[HttpGet] 336[HttpGet] 345[HttpGet] 404[HttpGet] 451[HttpGet] 498[HttpGet]
Controllers\HomeController.cs (1)
10[HttpGet]
Controllers\ManageController.cs (6)
38[HttpGet] 172[HttpGet] 226[HttpGet] 260[HttpGet] 293[HttpGet] 331[HttpGet]
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (16)
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}")]
Logging\TestController.cs (5)
16[HttpGet] 25[HttpGet] 34[HttpGet] 43[HttpGet] 51[HttpGet]
Microsoft.AspNetCore.Mvc.Core.Test (80)
ApiConventionTypeAttributeTest.cs (2)
39var attribute = new HttpGetAttribute(); 51[HttpGet("url")]
ApplicationModels\ActionModelTest.cs (2)
27var route = new AttributeRouteModel(new HttpGetAttribute("api/Products")); 64new HttpGetAttribute(),
ApplicationModels\AttributeRouteModelTests.cs (1)
14var route = new AttributeRouteModel(new HttpGetAttribute("/api/Products"))
ApplicationModels\ControllerActionDescriptorProviderTests.cs (25)
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")] 1564[HttpGet] 1567[HttpGet("{id}", Name = "Products")] 1579[HttpGet("/Items/{id}", Name = "Items")] 1598[HttpGet] 1611[HttpGet] 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 (2)
29var route = new AttributeRouteModel(new HttpGetAttribute("api/Products")); 68new HttpGetAttribute(),
ApplicationModels\DefaultApplicationModelProviderTest.cs (14)
1483[HttpGet] 1599[HttpGet("All")] 1618[HttpGet("All")] 1619[HttpGet("List")] 1629[HttpGet("All")] 1630[HttpGet("List")] 1639[HttpGet] 1644[HttpGet] 1655[HttpGet] 1667[HttpGet] 1675[HttpGet] 1676[HttpGet("id/{id?}")] 1704[HttpGet] 1708[HttpGet]
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 (24)
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")] 1045[HttpGet] 1069[HttpGet] 1072[HttpGet] 1075[HttpGet] 1084[HttpGet] 1087[HttpGet("stuff/{status}")] 1090[HttpGet("/absolute-route")] 1105[HttpGet("{parameter}")] 1108[HttpGet] 1191[HttpGet("test")]
Infrastructure\ActionSelectorTest.cs (2)
1206[HttpGet] 1232[HttpGet]
Routing\HttpMethodProviderAttributesTests.cs (1)
23data.Add(new HttpGetAttribute(), new[] { "GET" });
Routing\RouteTemplateProviderAttributesTest.cs (1)
21data.Add(new HttpGetAttribute());
Microsoft.AspNetCore.Mvc.Cors.Test (3)
CorsApplicationModelProviderTest.cs (3)
225[HttpGet] 235[HttpGet] 244[HttpGet]
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Builder\ControllerActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (2)
324[HttpGet("/")] 331[HttpGet("other")]
Mvc.RoutingWebSite (34)
Areas\Admin\UserManagementController.cs (1)
19[HttpGet("All")]
Areas\Order\OrderController.cs (1)
19[HttpGet]
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 (3)
22[HttpGet] 49[HttpGet("Employees")] 57[HttpGet("Departments", Name = "Departments")]
Controllers\DynamicOrderController.cs (2)
17[HttpGet("attribute-dynamic-order/{**slug}", Name = "AttributeRouteSlug")] 23[HttpGet]
Controllers\EmployeeController.cs (3)
43[HttpGet("{id}")] 49[HttpGet("{id}/Administrator")] 55[HttpGet("~/Manager/{id}")]
Controllers\EndpointNameController.cs (1)
19[HttpGet]
Controllers\FriendsController.cs (2)
18[HttpGet] 19[HttpGet("{id}")]
Controllers\MapsController.cs (1)
19[HttpGet]
Controllers\OrderController.cs (1)
18[HttpGet]
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}/")]
Negotiate.Client (8)
Controllers\AuthTestController.cs (8)
27[HttpGet] 47[HttpGet] 74[HttpGet] 97[HttpGet] 130[HttpGet] 163[HttpGet] 196[HttpGet] 222[HttpGet]
Negotiate.Server (3)
Controllers\AuthController.cs (3)
13[HttpGet] 25[HttpGet] 38[HttpGet]
PathSchemeSelection (1)
Controllers\AccountController.cs (1)
15[HttpGet]
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")]
Sample (1)
Controllers\TestController.cs (1)
13[HttpGet]
Sandbox (2)
Controllers\ValuesController.cs (2)
13[HttpGet] 20[HttpGet("{id}")]
SimpleWebSiteWithWebApplicationBuilder (1)
Program.cs (1)
62[HttpGet("/greet")]
StaticFilesAuth (1)
Controllers\AccountController.cs (1)
14[HttpGet]
VersioningWebSite (13)
Controllers\CustomersController.cs (2)
20[HttpGet("{id}")] 27[HttpGet("{id}")]
Controllers\ItemsController.cs (2)
21[HttpGet("/Items")] 27[HttpGet]
Controllers\ItemsV2Controller.cs (1)
25[HttpGet]
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}")]
XmlFormattersWebSite (5)
Controllers\SerializableErrorController.cs (1)
11[HttpGet]
Controllers\XmlApiControllerBase.cs (4)
13[HttpGet] 17[HttpGet] 32[HttpGet] 36[HttpGet]
5 references to HttpGetAttribute
Microsoft.AspNetCore.Mvc.Core (2)
HttpGetAttribute.cs (2)
17/// Creates a new <see cref="HttpGetAttribute"/>. 25/// Creates a new <see cref="HttpGetAttribute"/> with the given route template.
Microsoft.AspNetCore.Mvc.Core.Test (3)
ApiConventionTypeAttributeTest.cs (1)
39var attribute = new HttpGetAttribute();
ApplicationModels\ControllerActionDescriptorProviderTests.cs (1)
292metadata => Assert.IsType<HttpGetAttribute>(metadata),
ApplicationModels\DefaultApplicationModelProviderTest.cs (1)
956Assert.Single(action.Attributes.OfType<HttpGetAttribute>());