Teemu Tapanila bio photo

Teemu Tapanila

Microsoft Azure MVP and Windows Phone developer

Email Twitter Facebook Google+ LinkedIn Github Stackoverflow

Generating JSON from your .net classes is very easy. Here’s simple sample how to do it.

  1. Create new web MVC 4 project CreateProjectMVC4
  2. Choose Internet Application InternetApplication
  3. Create normal C# class SampleClass
  4. Create new Action into HomeController ActionData
  5. See result JsonSample