Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


Different return types of a controller action method
Question Posted on 06 May 2020

Home >> DotNet >> MVC >> Different return types of a controller action method




Different return types of a controller action method
ActionResult is a return type of controller method in asp.net mvc. There are many derived ActionResult types in MVC that we use to return the result of a controller method to the view. ActionResult is a return type of controller method in MVC. ActionResult is abstract class that has many subtypes. Below are the different return types of a controller action method:-
(1)ViewResult
(2)PartialViewResult
(3)ContentResult
(4)RedirectResult
(5)RedirectToRouteResult
(6)JsonResult
(7)EmptyResult
(8)FileResult
(9)JavaScriptResult
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
How to create Razor enable application in MVC3
Can you write down some syntax for Razor in MVC3
Basic diagram of MVC
Different MVC version with there features
Could not load type System.Web.Mvc.ViewPage in asp.net MVC2






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |