public void ProcessRequest(HttpContext context) { zues ret = new zues(); // var pp = (context.Request["vid"]); // var pp2 = (context.Request["vid2"]); var pp = context.Request["vv"]; JavaScriptSerializer ser = new JavaScriptSerializer(); SelectDate dd = ser.Deserialize <SelectDate>(pp); ser.MaxJsonLength = Int32.MaxValue; List <ApplicationOfficer2> lt_gen_isw = ret.ApplicationOff(dd.startdate, dd.enddate); context.Response.ContentType = "application/json"; context.Response.Write(ser.Serialize(lt_gen_isw)); }