1.

Mention What Is The Difference Between “actionresult” And “viewresult”?

Answer»

“ActionResult” is an ABSTRACT class while “ViewResult” is derived from “AbstractResult” class. “ActionResult” has a number of derived CLASSES like “JsonResult”, “FileStreamResult” and “ViewResult” .
“ActionResult” is best if you are DERIVING DIFFERENT TYPES of view dynamically.

“ActionResult” is an abstract class while “ViewResult” is derived from “AbstractResult” class. “ActionResult” has a number of derived classes like “JsonResult”, “FileStreamResult” and “ViewResult” .
“ActionResult” is best if you are deriving different types of view dynamically.



Discussion

No Comment Found