title: Protobuf.net WCF Deserialize List<T>
body: <p>I try use WCF with protobuf-net r.282</p>
  
  <p>Ok. I mark my contracts with ProtoBehavior attribute</p>
  
  <pre><code>    [OperationContract,ProtoBehavior]
      [FaultContract(typeof(ServiceFaultException))]
      Dictionary&lt;ActivityCategoryDTO, SalesTemplateDTO&gt; GetSalesTemplates();
  
      [OperationContract, ProtoBehavior]
      [FaultContract(typeof(ServiceFaultException))]
      List&lt;ActivityCategoryDTO&gt; GetActivities();
  </code></pre>
  
  <p>Next, - DTO:</p>
  
  <pre><code>    [DataContract]
      [Serializable]
      [ProtoContract]
      public class ActivityCategoryDTO
      {
          [DataMember]
          [ProtoMember(1)]
          public int Id { get; set; }
          [DataMember]
          [ProtoMember(2)]
          public string Guid { get; set; }
          [DataMember]
          [ProtoMember(3)]
          public string Name { get; set; }
      }
  </code></pre>
  
  <p>I try consume this servise from client. When I call GetSalesTemplates - all is OK. I've got successful deserialized dictionary, but when I call GetActivities I get null at client.
  Through fiddler I see that, data is transmitting succesfully, so I think it's deserializer problem.</p>
  
  <p>What's wrong? How can I get List at Client?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>It seems that I have problems with all Lists :)</p>
  
  <pre><code>[DataContract]
  [Serializable]
  [ProtoContract]
  public class SalesTemplateDTO
  {
      [ProtoMember(1)]
      [DataMember]
      public string Name { get; set; }
      [ProtoMember(2)]
      public List&lt;FieldTemplateDTO&gt; Fields;
  }
  </code></pre>
  
  <p>It comes to client just with Name, List of Fields is null again. Though all data is transmitted too.</p>