Generating JSON Generating JSON from your .net classes is very easy. Here’s simple sample how to do it. Create new web MVC 4 project Choose Internet Application Create normal C# class Create new Action into HomeController See result