actionresult

What are ActionResults? - ASP.NET MVC Demystified

If you've been working in ASP.NET MVC at all, you've seen code like this before: public ActionResult Index() { return View(); } Any action in an MVC controller, generally speaking, returns an ActionResult. Obviously that class represents an action of some kind, but exactly what does it do? Let's peel back the covers on ActionResult and discover why it and its derived classes are critical to understanding ASP.NET MVC. What is an ActionResult? ActionResult is an abstract class that represents... Read more >