title: Converting a Get/Set class into a WCF service
body: <p>I have a class:</p>
  
  <pre><code>namespace BugNETLibrary
  {
      public class NewUser
      {
          public string UserName { get; set; }
          public int UserRole { get; set; }
          public string LoweredUserName { get; set; }
      }
  }
  </code></pre>
  
  <p>I am trying to convert this class into a WCF Service that I can reference in my project.</p>
  
  <p>I have at the minute an interface:</p>
  
  <pre><code>[ServiceContract]
      public interface INewUser
      {
          string UserName { get; set; }
          int UserRole { get; set; }
          string LoweredUserName { get; set; }
      }
  
  
  [DataContract]
  public class GetNewUser
  {
      string userName;
      int userRole;
      string loweredUserName;
  
      [DataMember]
      public string UserName
      {
          get { return userName; }
          set { userName = value; }
      }
  
      [DataMember]
      public int UserRole
      {
          get { return userRole; }
          set { userRole = value; }
      }
  
      [DataMember]
      public string LoweredUserName
      {
          get { return loweredUserName; }
          set { loweredUserName = value; }
      }
  }
  </code></pre>
  
  <p>I'm not sure if even this is correct but i am not sure what to add to the service class that inherits the interface so all I have is </p>
  
  <pre><code>public class NewUser : INewUser
      {
  
      }
  </code></pre>
  
  <p>Can somebody help me with what needs doing next? I'm sure I have done something wrong already but I am not sure what. Is this actually possible?</p>