title: How can I use wcf serializer for serialize objects within mongodb c# driver?
body: <p>I have a class that implement IBsonSerializer:</p>
  
  <pre><code>public class PersistentObject : IBsonSerializer
      {
          public object Id { get; set; }
  
          public object Deserialize(BsonReader bsonReader, Type nominalType, IBsonSerializationOptions options)
          {
              throw new NotImplementedException();
          }
  
          public object Deserialize(BsonReader bsonReader, Type nominalType, Type actualType, IBsonSerializationOptions options)
          {
              throw new NotImplementedException();
          }
  
          public bool GetDocumentId(object document, out object id, out Type idNominalType, out IIdGenerator idGenerator)
          {
              throw new NotImplementedException();
          }
  
          public void Serialize(BsonWriter bsonWriter, Type nominalType, object value, IBsonSerializationOptions options)
          {
              throw new NotImplementedException();
          }
  
          public void SetDocumentId(object document, object id)
          {
              throw new NotImplementedException();
          }
  
      }
  </code></pre>
  
  <p>Is it possible to implement Serialize and Deserialize methods using <strong>WCF Serializer</strong>?</p>