Code52/Samurai — Issue #14: Use the ASP.NET 4 JsonResult instead of MvcApiActionFilter.dll
Author: Laumania
Created: 2012-01-25 22:42:59+00:00
State: open

Why use this 3. part assembly, MvcApiActionFilter.dll for doing Json results, when this is build in ASP.NET MVC 4?

You can do stuff like this out of the box:
public JsonResult Test()
{
return Json(new {PlayerName = "John", Rank = 13}, JsonRequestBehavior.AllowGet);
}

I would like to participate in your projects, but I need to look into Git(hub) some more to understand how this works :)