c#.net web service

c#, service

Solution

Create a file with extension asmx. Provide your function that is to be exposed, as a [WebMethod].

[WebMethod]
public string HelloWorld()
{
    return "Hello World";
}

from your other application add a web reference to the currently built asmx page. From that reference you will be able to invoke the desired function.

Problem

i want to create a simple webservice , and i want to call that webservice from a client program using c#.net. As i am a beginner, i find it difficult to do it. can anybody help. Thank you...

Original source