Top "Webmethod" questions

WebMethod is an attribute that is marked to indicate that a function (usually in .NET) in a web service is exposed to the consumers of the web service.

Invalid web service call, missing value for parameter

I have been looking at this for a while and can't see where the problem is. Any help is greatly …

jquery asp.net ajax webmethod
WebMethod not being called

I am passing a javascript variable containing a string to the server via jquery.ajax. Although the "success" condition is …

c# asp.net jquery webmethod
Authentication failed error when calling web method using $.ajax

When I make a JQuery call, I get an Authentication failed response: { Message: "Authentication failed.", StackTrace: null, ExceptionType: "System.InvalidOperationException" } …

c# jquery asp.net ajax webmethod
Jquery Ajax and asp.net WebMethod

I'm trying to call a webmethod in an aspx page using jquery ajax. The ajax code is callind the page …

c# jquery asp.net ajax webmethod
POST form values to C# WebMethod via ajax call

I'm trying to serialize some form values into a json object using serializeArray() and then POST the form values to …

c# jquery ajax json webmethod
Passing JSON data object from jquery ajax to asp.net webmethod

I have data similar to this: var data = { email: $("#txtEmail").val(), password: $("#txtPassword").val() } data = JSON.stringify(data); I use …

json jquery webmethod
How to get SessionID on a request where EnableSessionState="False"

I want to be able to get the SessionID of the currently authenticated session in a WebMethod function where EnableSession = …

asp.net session-state webmethod sessionid
call asp.net webmethod in windows project

How do I call this WebMethod in ASP.NET from a Windows application? I have tried using web request post …

c# asp.net web-services webmethod
What is the advantage of using web API over web method in ASP.NET

I am familiar with web method. Now I got a suggestion to use web API instead of web method. I …

asp.net .net architecture asp.net-web-api webmethod
Testing a web method (with browser/Fiddler)

I'm trying to implement the Jquery autocomplete by DevBridge(http://www.devbridge.com/projects/autocomplete/jquery/). This makes an AJAX …

asp.net testing webmethod