title: MongoDb and Net Topology Suite
body: <p>How can I save entities with geometric properties (like NTS) with mongo db?</p>
  
  <pre><code>using GeoAPI.Geometries;
  using NetTopologySuite.Geometries;
  
  public class Area
  {
      public string Id { get; set; }
      public Polygon Extent { get; set; }
  }
  </code></pre>
  
  <p>When I try to save the object I get the </p>
  
  <blockquote>
    <p>"Maximum serialization depth exceeded (does the object being serialized have a circular reference?)."</p>
  </blockquote>
  
  <p>exception (NTS does have circular references in its objects). Is there a way to by pass it?</p>