There are two ways to return JSON-formatted content to caller: 1. MVC framework provides the JsonResult class to send JSON-formatted content to the caller. Suppose you have a C# object and you would like to return this C# object as JSON string to caller, you can use Json() method. [ HttpPost ] public JsonResult ValidateUser( string Password) { if (Password == ConfigurationManager.AppSettings[ "AccessPassword" ]) return Json( new { Valid = true }); else return Json( new { Valid = false }); } 2. If you ha...