{"id":2375,"date":"2019-01-03T07:30:06","date_gmt":"2019-01-03T12:30:06","guid":{"rendered":"http:\/\/ninecrows.com\/career\/?p=2375"},"modified":"2019-01-03T07:30:13","modified_gmt":"2019-01-03T12:30:13","slug":"started-adding-mongodb-support-to-c-code","status":"publish","type":"post","link":"https:\/\/ninecrows.com\/career\/2019\/01\/03\/started-adding-mongodb-support-to-c-code\/","title":{"rendered":"Started adding mongodb support to C# code"},"content":{"rendered":"\n<p>I started adding in concrete MongoDB support to the tool code I&#8217;m building. Last night I incorporated the drivers into the solution and set up the connection code for the database. My initial attempt to directly use the C++\/CLI object to push a record into the database failed but I expect to add a class that is properly serializable to BSON tonight and get volume information persistence working. I still need to get a better handle on updates in MongoDB. I know there are various sorts of atomic test and set sorts of operations on documents and in order to make this work properly with concurrent access, I need to understand those operations and use them to ensure that updates don&#8217;t &#8216;walk&#8217; on themselves.<\/p>\n\n\n\n<p>When I have a bit more time to type, I&#8217;ll add in more details on the MongoDB driver work and the approaches I&#8217;m using.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I started adding in concrete MongoDB support to the tool code I&#8217;m building. Last night I incorporated the drivers into the solution and set up the connection code for the database. My initial attempt to directly use the C++\/CLI object to push a record into the database failed but I expect to add a class &hellip; <a href=\"https:\/\/ninecrows.com\/career\/2019\/01\/03\/started-adding-mongodb-support-to-c-code\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Started adding mongodb support to C# code<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[72,73,2,22],"tags":[],"class_list":["post-2375","post","type-post","status-publish","format-standard","hentry","category-c-topics","category-mongodb","category-projects","category-sandbox"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7F2Qc-Cj","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/posts\/2375"}],"collection":[{"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/comments?post=2375"}],"version-history":[{"count":1,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/posts\/2375\/revisions"}],"predecessor-version":[{"id":2376,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/posts\/2375\/revisions\/2376"}],"wp:attachment":[{"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/media?parent=2375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/categories?post=2375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/tags?post=2375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}