title: WCF REST Webinvoke not found
body: <p>Following is the code i am using in my test app:</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.ServiceModel;
  using System.ServiceModel.Description;
  using System.IO;
  
  namespace MyWCFServices
  {
      [ServiceContract]
      interface IHelloWorldService
      {
          [OperationContract]
          String GetMessage(String name);
  
          //[OperationContract]
          //[WebInvoke(Method = "PUT",UriTemplate = "File/{fileName}")]
          //[WebContentType("application/octet-stream")]
          // bool UploadFile(string fileName, Stream fileContents); 
          [OperationContract]
          [WebInvoke(UriTemplate = "UploadFile/{fileName}")]
          void UploadFile(string fileName, Stream fileContent); 
      }
  }
  </code></pre>
  
  <p>It gives and error on compilation for webinvoke. Any idea about the same ??</p>