title: How can I store site setting in MongoDB C#
body: <p>I'm making a minimalist admin panel. I need to store site settings on MongoDB. But the site should be store only one &quot;setting class&quot; on db because there is no multiple follow us TwitterURLs for the site.</p>
  <p>Here is my class and properties;</p>
  <pre><code>        public class Setting
          {
              [BsonId]
              [BsonRepresentation(BsonType.ObjectId)]
              public string Id { get; set; }
      
              public string TwitterUrl { get; set; }
          }
  </code></pre>
  <p>So when I insert this to the db, it has an id. When i insert another setting, second rows appear that i don't need. The setting class should be singular on the db. I need to write, read and update only one row not multiple rows. How can I do that?</p>