<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:42:00 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-2242] C# Driver - Change Streams Examples required</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2242</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;One of our customers reports that there is virtually not documentation regarding continuous streams for  C# Driver&lt;/p&gt;

&lt;p&gt;I have provided the following advice but there are no examples on our docs:&lt;br/&gt;
In order to iterate the Async Cursor returned by the &lt;a href=&quot;https://mongodb.github.io/mongo-csharp-driver/2.5/apidocs/html/M_MongoDB_Driver_IMongoCollectionExtensions_Watch__1_1.htm&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;watch&lt;/a&gt; method you may want to use &lt;a href=&quot;https://mongodb.github.io/mongo-csharp-driver/2.5/apidocs/html/M_MongoDB_Driver_IAsyncCursorExtensions_ForEachAsync__1_2.htm&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;ForEachAsync&lt;/a&gt; method.&lt;/p&gt;

&lt;p&gt;I have found this &lt;a href=&quot;https://groups.google.com/forum/#!topic/mongodb-user/CzT03w0KX1g&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;post&lt;/a&gt; in the google group with an example.&lt;/p&gt;

</description>
                <environment></environment>
        <key id="530168">CSHARP-2242</key>
            <summary>C# Driver - Change Streams Examples required</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="manuel.fontan">Manuel Fontan Garcia</reporter>
                        <labels>
                            <label>rp-track</label>
                    </labels>
                <created>Wed, 18 Apr 2018 08:05:51 +0000</created>
                <updated>Thu, 31 Mar 2022 00:53:57 +0000</updated>
                                                                            <component>Documentation</component>
                                        <votes>2</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1867639" author="manuel.fontan" created="Wed, 18 Apr 2018 14:46:59 +0000"  >&lt;p&gt;The C# Sharp examples &lt;a href=&quot;https://docs.mongodb.com/manual/changeStreams/#lookup-full-document-for-update-operations&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt; don&apos;t use a cursor they iterate over an Enumerable and get the first document then dispose of the cursor, which is not the same thing as this example &lt;a href=&quot;https://docs.mongodb.com/manual/reference/method/db.collection.watch/index.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Change Stream Working Example&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;An example of a watch cursor like in the link above in the C# driver documentation would be very helpful.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[500A000000aP2tkIAC]]]></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|htmwrz:</customfieldvalue>

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