title: call asp.net webmethod in windows project
body: <p>How do I call this <code>WebMethod</code> in ASP.NET from a Windows application? </p>
  
  <p>I have tried using web request post method, but it is returning the XML of the ASP.NET page.</p>
  
  <p>Here is my web method:</p>
  
  <pre><code>[WebMethod()]
  public static string Senddata(string value)
  {
      return "datareceived" + value;
  }
  </code></pre>