You are on page 1of 1

ActionResult Helper Method Description

ViewResult View ViewResult Renders a view as a web page.

As the name describe PartialViewResult


PartialViewResult PartialView
renders the partial view.

When you want to redirect to another action


RedirectResult Redirect
method we will use RedirectResult

RedirectToRouteResul RedirectToRout
Redirect to another action method
t e

ContentResult Content Returns a user-defined content type

When you want to return a serialized JSON


JsonResult Json
object

Returns a script that can be executed on the


JavaScriptResult JavaScript
client

Returns a binary output to write to the


FileResult File
response

EmptyResult (None) returns a null result

You might also like