[CSHARP-2242] C# Driver - Change Streams Examples required Created: 18/Apr/18  Updated: 31/Mar/22

Status: Backlog
Project: C# Driver
Component/s: Documentation
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Manuel Fontan Garcia (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 2
Labels: rp-track
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Case:

 Description   

One of our customers reports that there is virtually not documentation regarding continuous streams for C# Driver

I have provided the following advice but there are no examples on our docs:
In order to iterate the Async Cursor returned by the watch method you may want to use ForEachAsync method.

I have found this post in the google group with an example.



 Comments   
Comment by Manuel Fontan Garcia (Inactive) [ 18/Apr/18 ]

The C# Sharp examples here don'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 Change Stream Working Example

An example of a watch cursor like in the link above in the C# driver documentation would be very helpful.

Generated at Wed Feb 07 21:42:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.