A PCL (or Portable Profile) version of MongoDB.Bson

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi,

      I was wondering, if a portable profile would be on the cards, and if pull requests would be accepted regarding the same.

      I ran through a quick test for portability, currently only MongoDB.Bson of the latest 2.0.0-beta, and found while, not non-trivial, could be quite comfortably made compatible with Win/WP8.1, Xamarin.IOS and Xamarin.Android.

      If this is a possible future, then perhaps, a checklist could be started here, for the same.

      Things to be done:

      1. Change ConcurrentDictionary, and ConcurrentStack with portable implementations (Preferably, from immutable collections) .
      2. Some of the IdGenerators have to be adapted. (Eg: AscendingGuidGenerator - ProcessId implementations)
      3. IO classes use Serializable Attribute, which is not available. Any practical issues of not using them?
      4. Same as 3, for Exceptions
      5. Some implementations will have to be moved to a separate, platform specific library, say classes that use IPAddress.

      Would like to hear if this a feasible path. Cheers!

            Assignee:
            Unassigned
            Reporter:
            Prasanna V. Loganathar
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: