Last post Apr 22, 2017 06:21 PM by kaushalparik27
Apr 22, 2017 06:46 AM|Embryologist|LINK
Apr 22, 2017 06:21 PM|kaushalparik27|LINK
You would get better explanation here
ASP.NET page methods vs web service
You might expect page methods to offer better performance than Web services. After all, to resolve Web service calls, the ASP.NET runtime has to parse SOAP packets. This, however, isn't exactly true. ASP.NET AJAX installs a tailor-made HTTP handler (see
Figure 3) that intercepts all ASMX requests. Requests with a /js suffix are processed differently, working directly with the JSON payload and Web service method. As a result, no SOAP is involved whatsoever and the body of the request simply contains the JSON
stream of input arguments. For non-AJAX requests, the new HTTP handler just delegates the call back to the original ASP.NET handler that understands SOAP.