ApiController Class
Defines properties and methods for API controller.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
The ApiController type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Configuration | Gets or sets the HttpConfiguration of the current ApiController. |
![]() | ControllerContext | Gets the HttpControllerContext of the current ApiController. |
![]() | ModelState | Gets the model state after the model binding process. |
![]() | Request | Gets or sets the HttpRequestMessage of the current ApiController. |
![]() | Url | Returns an instance of a UrlHelper, which is used to generate URLs to other APIs. |
![]() | User | Returns the current principal associated with this request. |
| Name | Description | |
|---|---|---|
![]() | Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
![]() | Dispose(Boolean) | Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources. |
![]() | Equals | (Inherited from Object.) |
![]() | ExecuteAsync | Executes asynchronously a single HTTP operation. |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | Initialize | Initializes the ApiController instance with the specified controllerContext. |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Show:
