top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Can you list the main types of result using ASP.Net MVC?

0 votes
360 views
Can you list the main types of result using ASP.Net MVC?
posted Aug 22, 2016 by Latha

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

There are total 10 main types of result, ActionResult is main type and others are sub types of results as listed below:

System.Web.Mvc.ActionResult 
System.Web.Mvc.ContentResult 
System.Web.Mvc.EmptyResult 
System.Web.Mvc.FileResult 
System.Web.Mvc.HttpStatusCodeResult 
System.Web.Mvc.JavaScriptResult 
System.Web.Mvc.JsonResult 
System.Web.Mvc.RedirectResult 
System.Web.Mvc.RedirectToRouteResult 
System.Web.Mvc.ViewResultBase
answer Aug 22, 2016 by Shivaranjini
...