31 users online (1 members and 30 guests)  


  Results 1 to 2 of 2

Related

  1. help for create an account    Forum: Myspace Forum
    Replies: 2
  2. Create (not add) an attachment    Forum: PHP Forum
    Replies: 0
  3. Replies: 4
  1. #1
    jacksoft's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2009
    Posts
    1

    How to create web service with C#

    How to create web service with C#

  2. #2
    annaharris's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2012
    Posts
    4

    Re: How to create web service with C#

    Creating Web services in C# is very easy. The following code is an example:
    using System.Web.Services;
    Public class AWebService: WebService
    {
    public AWebService
    {
    // constructor code
    }
    public void BusinessLogicMethod () {
    // code here
    }
    [WebMethod (Description=""A Web Method"", EnableSession=false)]
    Public int WebServiceMethod ()
    {
    // code here
    }
    }



Tags for this Thread