ActionResultis the base type, while it ViewResultis a subtype ActionResult.
When you set the type of the returned action ActionResult, you can return any subtype of it, for example, Json, PartialView, View, RedirectToAction .
, ViewResult, , , .
ActionResult , Action ( , ActionResult), forums.asp.net
ActionResult - , ( "ASP.NET MVC 1.0 Quickly):
a) ViewResult
b) PartialViewResult
c) EmptyResult
;
d) RedirectResult
HTTP URL
e) RedirectToRouteResult
HTTP URL-,
f) JsonResult
ViewData JSON
g) JavaScriptResult
JavaScript,
h) ContentResult
i) FileContentResult
j) FileStreamResult
, Stream
k) FilePathResult
ViewResult
, , ViewResult. , , . ActionResult.
:
http://forums.asp.net/t/1448398.aspx
:
http://www.slideshare.net/umarali1981/difference-between-action-result-and-viewresult