public class MyWebService : System.Web.WebServices { [WebMethod(Desciption="My WebService")] public int MyMethod( int number ) { return number * 2; } }
http://localhost/MyWebService.asmx/MyMethod?number=three
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)