public void ProcessRequest(HttpContext context) { string searchText = context.Request.QueryString["term"]; //Get Result here //```` //```` //Get Result here JavaScriptSerializer serializer = new JavaScriptSerializer(); string jsonString = serializer.Serialize(results); context.Response.Write(jsonString); }