title: Generic Service Contract
body: <p>I need to have a generic Service contract but if I do that I receive this error:</p>
  
  <pre><code>[ServiceContract]
  public interface IService&lt;T&gt; where T : MyClass
  {
      [OperationContract]
      void DoWork();
  }
  </code></pre>
  
  <p><strong>The contract name 'x.y' could not be found in the list of contracts implemented by the service 'z.t'.</strong></p>