Number of questions 1,751
Number of tests completed 250,177
Number of questions answered 3,739,532
Number of registered users 19,109
Sign In | Register
Skip Navigation Links
Question: Which is not a type of result in MVC
Answer1: ViewResult
Answer2: JsonResult
Answer3: RedirectResult
Answer4: EmptyResult
Answer5: XMLResult
Answer: XMLResult

Explaination: There 12 kinds of results in MVC, at the top is “ActionResult”class which is a base class that can have 11 subtypes as listed below: - ViewResult - Renders a specified view to the response stream PartialViewResult - Renders a specified partial view to the response stream EmptyResult - An empty response is returned RedirectResult - Performs an HTTP redirection to a specified URL RedirectToRouteResult - Performs an HTTP redirection to a URL that is determined by the routing engine, based on given route data JsonResult - Serializes a given ViewData object to JSON format JavaScriptResult - Returns a piece of JavaScript code that can be executed on the client ContentResult - Writes content to the response stream without requiring a view FileContentResult - Returns a file to the client FileStreamResult - Returns a file to the client, which is provided by a Stream FilePathResult - Returns a file to the client
Link:

Correctly answered: 6134
Incorrectly answered: 4120
Terms of Use
contact@quiznetonline.com Ver. 2.0.6783.38332