{"action":"created","issue":{"url":"https://api.github.com/repos/sbmako/NServiceBus.MongoDB/issues/11","labels_url":"https://api.github.com/repos/sbmako/NServiceBus.MongoDB/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/sbmako/NServiceBus.MongoDB/issues/11/comments","events_url":"https://api.github.com/repos/sbmako/NServiceBus.MongoDB/issues/11/events","html_url":"https://github.com/sbmako/NServiceBus.MongoDB/issues/11","id":84073908,"number":11,"title":"Update to use the Latest MongoDB Driver API","user":{"login":"wespday","id":8332125,"avatar_url":"https://avatars.githubusercontent.com/u/8332125?v=3","gravatar_id":"","url":"https://api.github.com/users/wespday","html_url":"https://github.com/wespday","followers_url":"https://api.github.com/users/wespday/followers","following_url":"https://api.github.com/users/wespday/following{/other_user}","gists_url":"https://api.github.com/users/wespday/gists{/gist_id}","starred_url":"https://api.github.com/users/wespday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wespday/subscriptions","organizations_url":"https://api.github.com/users/wespday/orgs","repos_url":"https://api.github.com/users/wespday/repos","events_url":"https://api.github.com/users/wespday/events{/privacy}","received_events_url":"https://api.github.com/users/wespday/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-02T15:32:49Z","updated_at":"2015-06-02T23:39:51Z","closed_at":null,"body":"Should fix this build warning:\r\n\r\n    Internals\\MongoHelpers.cs(46,26): warning CS0618:\r\n    'MongoDB.Driver.MongoClientExtensions.GetServer(MongoDB.Driver.MongoClient)'\r\n    is obsolete: 'Use the new API instead.'\r\n\r\nAlso, remove references to *MongoDB.Driver.Legacy.dll*"},"comment":{"url":"https://api.github.com/repos/sbmako/NServiceBus.MongoDB/issues/comments/108132221","html_url":"https://github.com/sbmako/NServiceBus.MongoDB/issues/11#issuecomment-108132221","issue_url":"https://api.github.com/repos/sbmako/NServiceBus.MongoDB/issues/11","id":108132221,"user":{"login":"wespday","id":8332125,"avatar_url":"https://avatars.githubusercontent.com/u/8332125?v=3","gravatar_id":"","url":"https://api.github.com/users/wespday","html_url":"https://github.com/wespday","followers_url":"https://api.github.com/users/wespday/followers","following_url":"https://api.github.com/users/wespday/following{/other_user}","gists_url":"https://api.github.com/users/wespday/gists{/gist_id}","starred_url":"https://api.github.com/users/wespday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wespday/subscriptions","organizations_url":"https://api.github.com/users/wespday/orgs","repos_url":"https://api.github.com/users/wespday/repos","events_url":"https://api.github.com/users/wespday/events{/privacy}","received_events_url":"https://api.github.com/users/wespday/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T23:39:51Z","updated_at":"2015-06-02T23:39:51Z","body":"Probably best to wait until the MongoDB C# Driver version 2.1 is released.\r\nThat release is planned to re-introduce AsQueryable and GridFS.\r\nFor now we still have the legacy driver with a warning ;).\r\n\r\nSee the **GridFS with new C# 2.0 Driver** issue: https://jira.mongodb.org/browse/CSHARP-1247\r\n\r\nand also the discussion on **AsQueryable**:\r\nhttps://groups.google.com/forum/#!msg/mongodb-user/ZMtmndAuMZs/9XdirPhCZ5MJ\r\n\r\nSee also the upgrading to 2.0 Reference:\r\nhttp://mongodb.github.io/mongo-csharp-driver/2.0/upgrading/"}}