<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:35:32 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-5] Async IO</title>
                <link>https://jira.mongodb.org/browse/CSHARP-5</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Add capability to asynchronously read and write to the database.&lt;/p&gt;</description>
                <environment></environment>
        <key id="11323">CSHARP-5</key>
            <summary>Async IO</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="sam">Sam Corder</assignee>
                                    <reporter username="sam">Sam Corder</reporter>
                        <labels>
                    </labels>
                <created>Wed, 17 Feb 2010 18:53:28 +0000</created>
                <updated>Fri, 21 Mar 2014 15:30:56 +0000</updated>
                            <resolved>Thu, 11 Nov 2010 20:07:50 +0000</resolved>
                                                                    <component>SAMUS</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="520755" author="mkennedy66996693" created="Fri, 21 Mar 2014 15:30:56 +0000"  >&lt;p&gt;Makes sense, I like it! Any idea when it&apos;ll be shipping?&lt;/p&gt;</comment>
                            <comment id="520140" author="craiggwilson" created="Thu, 20 Mar 2014 17:28:35 +0000"  >&lt;p&gt;This is closed because it applied to a different driver.  &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-138&quot; title=&quot;Add asynchronous APIs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-138&quot;&gt;&lt;del&gt;CSHARP-138&lt;/del&gt;&lt;/a&gt; is the ticket you care about.  However, the syntax probably wouldn&apos;t look like that, but be more in the terminating functions.&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;User u = await coll.AsQueryable().SingleAsync(u =&amp;gt; u.Id == 1);&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                                 .ToListAsync();&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;                                 // etc...&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</comment>
                            <comment id="520136" author="mkennedy66996693" created="Thu, 20 Mar 2014 17:26:10 +0000"  >&lt;p&gt;Is this in the current driver or on the roadmap?&lt;/p&gt;

&lt;p&gt;something like:&lt;/p&gt;

&lt;p&gt;User u = await coll.AsQueryableAsync().Single(u =&amp;gt; u.Id == 1);&lt;/p&gt;

&lt;p&gt;?&lt;/p&gt;</comment>
                            <comment id="46396" author="rstam" created="Thu, 4 Aug 2011 16:43:42 +0000"  >&lt;p&gt;All issues before &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-71&quot; title=&quot;Running a FindAll which returns more than 16KB of results causes an error.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-71&quot;&gt;&lt;del&gt;CSHARP-71&lt;/del&gt;&lt;/a&gt; apply to a different driver (this JIRA project used to be used by the samus driver) and should be ignored.&lt;/p&gt;

&lt;p&gt;But see also &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-138&quot; title=&quot;Add asynchronous APIs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-138&quot;&gt;&lt;del&gt;CSHARP-138&lt;/del&gt;&lt;/a&gt; which is similar and applies to the official driver. We do intend to support an async API eventually, but it is not at the top of the list (for example, LINQ is higher).&lt;/p&gt;</comment>
                            <comment id="46392" author="manishtpatel" created="Thu, 4 Aug 2011 16:34:46 +0000"  >&lt;p&gt;Why Won&apos;t Fix/Closed? is it never going to be supported? this is serious should be top of the list when c# can support this.&lt;/p&gt;</comment>
                            <comment id="39481" author="flavien" created="Tue, 28 Jun 2011 09:00:46 +0000"  >&lt;p&gt;Even without moving to .NET 4.0, this can still be implemented using the Begin.../End... pattern. To be honest, this feature should be at the top of the priority list. This is a pretty serious problem that you have to block a thread while waiting for completion of the IO. This basically prevents any serious (production) use of this driver.&lt;/p&gt;</comment>
                            <comment id="39480" author="flavien" created="Tue, 28 Jun 2011 08:55:53 +0000"  >&lt;p&gt;I looked at your implementation, but unfortunately this isn&apos;t asynchronous IO. What you are doing here is borrowing a thread from the thread pool (through Task.Factory.StartNew), and running a synchronous IO on that thread, blocking the thread until the IO completes.&lt;br/&gt;
True asynchronous IO should not block any thread, this is why they need to be implemented bottom up (you cannot do true asynchronous IO by wrapping synchronous IO).&lt;br/&gt;
The problem with that is that won&apos;t scale, since you will be limited by the number of threads in your process.&lt;/p&gt;</comment>
                            <comment id="14891" author="nisbus" created="Sun, 20 Jun 2010 19:52:26 +0000"  >&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;I&apos;ve forked the project at: &lt;a href=&quot;http://github.com/nisbus/mongodb-csharp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/nisbus/mongodb-csharp&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&apos;m a complete noob at git so this fork might be a bit strange &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="14887" author="craiggwilson" created="Sat, 19 Jun 2010 20:54:23 +0000"  >&lt;p&gt;Nice implementation.  If you&apos;d like, you can fork the project at github and contribute that way.  It makes it easy for us.&lt;/p&gt;

&lt;p&gt;Currently we aren&apos;t targeting .NET 4.0.  Perhaps we can start a 4.0 branch that has some cool stuff in it like this.&lt;/p&gt;</comment>
                            <comment id="14885" author="nisbus" created="Sat, 19 Jun 2010 19:42:39 +0000"  >&lt;p&gt;I created async versions of the MongoCollection interface and class using .NET 4&apos;s Tasks.&lt;br/&gt;
Feel free to use them if they seem useful for this. &lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10246" name="IMongoCollection_1.Async.cs" size="17653" author="nisbus" created="Sat, 19 Jun 2010 19:42:39 +0000"/>
                            <attachment id="10247" name="MongoCollection_1.Async.cs" size="34797" author="nisbus" created="Sat, 19 Jun 2010 19:42:39 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <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|hrha9r:</customfieldvalue>

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