Model View Controller (MVC) Question:
Download Job Interview Questions and Answers PDF
Name a few different return types of a controller action method?
![MVC Interview Answer MVC Interview Question](https://globalguideline.com/public/images/interview/29.png)
Answer:
The following are just a few return types of a controller action method. In general an action method can return an instance of a any class that derives from ActionResult class.
1. ViewResult
2. JavaScriptResult
3. RedirectResult
4. ContentResult
5. JsonResult
1. ViewResult
2. JavaScriptResult
3. RedirectResult
4. ContentResult
5. JsonResult
Download MVC Interview Questions And Answers
PDF
Previous Question | Next Question |
Where are the routing rules defined in an asp.net MVC application? | What is the significance of NonActionAttribute? |