Click or drag to resize

WebPageController Methods

The WebPageController type exposes the following members.

Methods
  Name Description
Protected method BadRequest Creates a BadRequestResult.
(Inherited from ApiController)
Protected method BadRequest(ModelStateDictionary) Creates an InvalidModelStateResult with the specified model state.
(Inherited from ApiController)
Protected method BadRequest(String) Creates an ErrorMessageResult (400 Bad Request) with the specified error message.
(Inherited from ApiController)
Protected method Conflict Creates a ConflictResult (409 Conflict).
(Inherited from ApiController)
Protected method Content``1(HttpStatusCode, UMP) Creates a <see cref="T:System.Web.Http.NegotiatedContentResult`1" /> with the specified values.
(Inherited from ApiController)
Protected method Content``1(HttpStatusCode, UMP, MediaTypeFormatter) Creates a <see cref="T:System.Web.Http.FormattedContentResult`1" /> with the specified values.
(Inherited from ApiController)
Protected method Content``1(HttpStatusCode, UMP, MediaTypeFormatter, MediaTypeHeaderValue) Creates a <see cref="T:System.Web.Http.FormattedContentResult`1" /> with the specified values.
(Inherited from ApiController)
Protected method Content``1(HttpStatusCode, UMP, MediaTypeFormatter, String) Creates a <see cref="T:System.Web.Http.FormattedContentResult`1" /> with the specified values.
(Inherited from ApiController)
Protected method Created``1(String, UMP) Creates a CreatedNegotiatedContentResult (201 Created) with the specified values.
(Inherited from ApiController)
Protected method Created``1(Uri, UMP) Creates a CreatedNegotiatedContentResult (201 Created) with the specified values.
(Inherited from ApiController)
Protected method CreatedAtRoute``1(String, IDictionaryString, Object, UMP) Creates a CreatedAtRouteNegotiatedContentResult (201 Created) with the specified values.
(Inherited from ApiController)
Protected method CreatedAtRoute``1(String, Object, UMP) Creates a CreatedAtRouteNegotiatedContentResult (201 Created) with the specified values.
(Inherited from ApiController)
Public method Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ApiController)
Protected method Dispose(Boolean) Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources.
(Inherited from ApiController)
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public method ExecuteAsync Executes asynchronously a single HTTP operation.
(Inherited from ApiController)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetPage Common page request handler.
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Protected method Initialize Initializes the ApiController instance with the specified controllerContext.
(Inherited from ApiController)
Protected method InternalServerError Creates an InternalServerErrorResult (500 Internal Server Error).
(Inherited from ApiController)
Protected method InternalServerError(Exception) Creates an ExceptionResult (500 Internal Server Error) with the specified exception.
(Inherited from ApiController)
Protected method Json``1(UMP) Creates a JsonResult (200 OK) with the specified value.
(Inherited from ApiController)
Protected method Json``1(UMP, JsonSerializerSettings) Creates a JsonResult (200 OK) with the specified values.
(Inherited from ApiController)
Protected method Json``1(UMP, JsonSerializerSettings, Encoding) Creates a JsonResult (200 OK) with the specified values.
(Inherited from ApiController)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Protected method NotFound Creates a NotFoundResult.
(Inherited from ApiController)
Protected method Ok Creates an OkResult (200 OK).
(Inherited from ApiController)
Protected method Ok``1(UMP) Creates an OkNegotiatedContentResult with the specified values.
(Inherited from ApiController)
Public method PostPage Common page post handler.
Protected method Redirect(String) Creates a redirect result (302 Found) with the specified value.
(Inherited from ApiController)
Protected method Redirect(Uri) Creates a redirect result (302 Found) with the specified value.
(Inherited from ApiController)
Protected method RedirectToRoute(String, IDictionaryString, Object) Creates a redirect to route result (302 Found) with the specified values.
(Inherited from ApiController)
Protected method RedirectToRoute(String, Object) Creates a redirect to route result (302 Found) with the specified values.
(Inherited from ApiController)
Protected method ResponseMessage Creates a ResponseMessageResult with the specified response.
(Inherited from ApiController)
Protected method StatusCode Creates a StatusCodeResult with the specified status code.
(Inherited from ApiController)
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Protected method Unauthorized(AuthenticationHeaderValue) Creates an UnauthorizedResult (401 Unauthorized) with the specified values.
(Inherited from ApiController)
Protected method Unauthorized(IEnumerableAuthenticationHeaderValue) Creates an UnauthorizedResult (401 Unauthorized) with the specified values.
(Inherited from ApiController)
Public method Validate``1(UMP) Validates the given entity and adds the validation errors to the model state under the empty prefix, if any.
(Inherited from ApiController)
Public method Validate``1(UMP, String) Validates the given entity and adds the validation errors to the model state, if any.
(Inherited from ApiController)
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also