title: New function added in WCF service is not showing on Client
body: <p>I have a simple web application on Asp.net MVC. I created a WFC Service so I can get data to my Windows 8.1 app, but my new functions are not showing in my client side.</p>
  
  <p>This My WFC code:</p>
  
  <pre><code>[DataContract]
      public class Service1 : IService1
      {
          ApplicationDbContext _db=new ApplicationDbContext();
  
          public string GetData(int value)
          {
  
  
              return string.Format("You entered: {0}", value);
          }
  
          public WtFImages.Models.Images GetDataL(int value)
          {
              var User = _db.Image.Local.FirstOrDefault(c =&gt; c.Id == value);
  
              return User;
          }
          public List&lt;WtFImages.Models.Images&gt; GetDataAll(int value)
          {
              var GetAllPublic = _db.Image.Local.ToList();
  
              return (GetAllPublic);
          }
  
          public IList&lt;WtFImages.Models.Images&gt; ZGetDataAll(int value)
          {
              var GetAllPublic = _db.Image.Local.ToList();
  
              return (GetAllPublic);
          }
          public CompositeType GetDataUsingDataContract(CompositeType composite)
          {
              if (composite == null)
              {
                  throw new ArgumentNullException("composite");
              }
              if (composite.BoolValue)
              {
                  composite.StringValue += "Suffix";
              }
              return composite;
          }
      }
  }
  </code></pre>
  
  <p>My client side only shows the default functions.</p>
  
  <p><a href="https://i.stack.imgur.com/RDqJ7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RDqJ7.png" alt="enter image description here"></a></p>
  
  <p>Iservice Code</p>
  
  <pre><code>namespace ImageFechingWfc
  {
      // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
      [ServiceContract]
      public interface IService1
      {
  
          [OperationContract]
          string GetData(int value);
  
          [OperationContract]
          CompositeType GetDataUsingDataContract(CompositeType composite);
  
          // TODO: Add your service operations here
      }
  
  
      // Use a data contract as illustrated in the sample below to add composite types to service operations.
      [DataContract]
      public class CompositeType
      {
          bool boolValue = true;
          string stringValue = "Hello ";
  
          [DataMember]
          public bool BoolValue
          {
              get { return boolValue; }
              set { boolValue = value; }
          }
  
          [DataMember]
          public string StringValue
          {
              get { return stringValue; }
              set { stringValue = value; }
          }
      }
  }
  </code></pre>