<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:36:12 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CSHARP-228] Support standard byte order when serializing Guids</title>
                <link>https://jira.mongodb.org/browse/CSHARP-228</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Sadly, all existing C# drivers, including this official one, have been serializing Guids with the wrong byte order all along. This is because the byte array returned by Guid.ToByteArray returns an array where the first three groups (of 4, 2 and 2 bytes respectively) are reversed, as in little endian format.&lt;/p&gt;

&lt;p&gt;This is not a problem as long as only C# drivers are reading and writing the Guids. However, all other drivers are storing UUIDs with the standard byte order, so it becomes difficult to interoperate between the C# and other drivers when using Guids.&lt;/p&gt;

&lt;p&gt;This feature request is for a mechanism to allow C# applications to indicate when they would like Guids to be serialized using the standard byte order instead of Microsoft&apos;s internal byte order. For historical reasons everything will continue to default to Microsoft&apos;s byte order (so as not to break backward compatibility with existing code and data).&lt;/p&gt;

&lt;p&gt;There will be a new enum:&lt;/p&gt;

&lt;p&gt;    public enum GuidByteOrder &lt;/p&gt;
{
        Microsoft,
        Standard
    }

&lt;p&gt;To see all the changes involved in implementing this feature start by searching for occurrences of &quot;GuidByteOrder&quot; and follow the code changes from there (or look at the commit).&lt;/p&gt;</description>
                <environment></environment>
        <key id="17238">CSHARP-228</key>
            <summary>Support standard byte order when serializing Guids</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="robert@mongodb.com">Robert Stam</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 May 2011 21:37:56 +0000</created>
                <updated>Thu, 2 Apr 2015 18:27:31 +0000</updated>
                            <resolved>Thu, 19 May 2011 04:11:28 +0000</resolved>
                                    <version>1.0</version>
                                    <fixVersion>1.1</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="33590" author="rstam" created="Thu, 19 May 2011 22:49:20 +0000"  >&lt;p&gt;Decided to use better names for the enum values:&lt;/p&gt;

&lt;p&gt;    public enum GuidByteOrder &lt;/p&gt;
{
        LittleEndian,
        BigEndian
    }

&lt;p&gt;As it&apos;s not so much a matter of how Microsoft defines the byte order as it is a matter of the endianness of the system the code is running on (although it just so happens that Windows most often runs on little endian platforms).&lt;/p&gt;

&lt;p&gt;The default value is still LittleEndian.&lt;/p&gt;</comment>
                            <comment id="33437" author="rstam" created="Thu, 19 May 2011 04:11:28 +0000"  >&lt;p&gt;Implemented. Could cause backward compatibility problems with existing data if used carelessly.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="76697">DOCS-1543</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrh8xz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14248</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>