open navigation menu
AiFolder
Tools for a smarter you
Discover
Tools
AI
Games
Interviews
Blog
More
Search AiFolder
Toggle theme
Toggle theme
Sign in
Exit
00:00
Submit test
ASP.NET Web API · Intermediate
9 questions · Question 1 of 9
11%
Multiple Choice
Mid
How to restrict access to Web API method to specific HTTP verb?
A
Web API provides a great deal of flexibility in terms of exception handling: Use HttpResponseException or the shortcut methods to deal with unhandled exceptions at the action level.
B
A Web API controller action can return any of the following: void Return empty 204 (No Content) HttpResponseMessage Return empty 204 (No Content) IHttpActionResult Call ExecuteAsync to create an HttpResponseMessage, t...
C
Attribute programming plays its role here.
D
Use Controller to render your normal views.
Previous
Next