title: Run WCF methods from a browser
body: <p>I am creating a very basic WCF service with C# in Visual Studio 2010. I want to know if I can run my methods directly from a browser by typing something like: <code>//localhost:49815/Service1.svc/methodName(parameterValue)</code>?</p>
  
  <p>Here is the essence of my code.</p>
  
  <p>Interface:</p>
  
  <pre><code>using ...
  namespace WcfService1{   
      [ServiceContract]
      public interface IService1{
          [OperationContract]
          [WebGet]
          string echoWithGet(string s);
          [OperationContract]
          [WebInvoke]
          string echoWithPost(string s);
      }
  }
  </code></pre>
  
  <p>Methods:</p>
  
  <pre><code> public string echoWithGet(string s ){
              return "Get: "+s;
          }
  
   public string echoWithPost(string s){
              return "Post: " + s;
          }
  </code></pre>