ContentResult - Returns a user-defined content type.
Helper method: System.Web.Mvc.Controller.Content()
EmptyResult - Represents a return value that is used if the action method must return a null result (void).
Helper method: (None)
FileContentResult - Sends the contents of a binary file to the response.
Helper method: System.Web.Mvc.Controller.File()
FileStreamResult - Sends binary content to the response through a stream.
Helper method: System.Web.Mvc.Controller.File()
FilePathResult - Sends the contents of a file to the response.
Helper method: System.Web.Mvc.Controller.File()
HttpStatusCodeResult - Returns a specific HTTP response code and description.
Helper method: (None)
HttpUnauthorizedResult - Returns the result of an unauthorized HTTP request.
Helper method: (None)
HttpNotFoundResult - Indicates the requested resource was not found.
Helper method: System.Web.Mvc.Controller.HttpNotFound()
JavaScriptResult - Returns a script that can be executed on the client.
Helper method: System.Web.Mvc.Controller.JavaScript()
JsonResult - Returns a serialized JSON object.
Helper method: System.Web.Mvc.Controller.Json()
PartialViewResult - Renders a partial view, which defines a section of a view that can be rendered inside another view.
Helper method: System.Web.Mvc.Controller.PartialView()
RedirectResult - Redirects to another action method by using its URL.
Helper method: System.Web.Mvc.Controller.Redirect()
RedirectToRouteResult - Redirects to another action method.
Helper method: System.Web.Mvc.Controller.RedirectToAction() or RedirectToRoute()
ViewResult - Renders a view as a Web page.
Helper method: System.Web.Mvc.Controller.View()
No comments:
Post a Comment