<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:35:48 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-99] ConnectionString should determine if it needs to check in the .config file for the Connection String</title>
                <link>https://jira.mongodb.org/browse/CSHARP-99</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;If a ConnectionString name is passed into the driver, the driver should look to see if it is a valid Connection string, and if not, attempt to get a connection string from the configuration file through ConfigurationManager.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13712">CSHARP-99</key>
            <summary>ConnectionString should determine if it needs to check in the .config file for the Connection String</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="ahazelwood@ciradar.com">Andre&apos; Hazelwood</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Nov 2010 18:21:43 +0000</created>
                <updated>Thu, 20 Mar 2014 14:30:14 +0000</updated>
                            <resolved>Tue, 16 Nov 2010 18:32:35 +0000</resolved>
                                                    <fixVersion>0.7</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="20373" author="rstam" created="Tue, 16 Nov 2010 20:43:45 +0000"  >&lt;p&gt;Wrote a little test with SqlConnection, and the following line throws an exception:&lt;/p&gt;

&lt;p&gt;var connection = new SqlConnection(&quot;MyConnectionString&quot;);&lt;/p&gt;

&lt;p&gt;even though &quot;MyConnectionString&quot; is in the config file.&lt;/p&gt;

&lt;p&gt;The exception is of type ArgumentException and the error message reads: &quot;Format of the initialization string does not conform to specification starting at index 0.&quot;.&lt;/p&gt;

&lt;p&gt;So it looks like it is not standard behavior to automatically read the config file.&lt;/p&gt;</comment>
                            <comment id="20359" author="rstam" created="Tue, 16 Nov 2010 18:50:37 +0000"  >&lt;p&gt;I was looking at the documentation for SqlConnection and it doesn&apos;t mention anything about automatically consulting ConfigurationManager if the connection string is invalid (does it even do that?). Are you sure this is something developers expect? I know I&apos;ve never expected it.&lt;/p&gt;</comment>
                            <comment id="20358" author="ahazelwood@ciradar.com" created="Tue, 16 Nov 2010 18:38:06 +0000"  >&lt;p&gt;While I agree in part with you, I think that developers are so used to being able to assume passing in a ConnectionString name is a valid way to reference Connection strings, that implementing it would seem a natural way to make it easier for developers coming from other databases to interact with the MongoDB driver.  Other implemented drivers, such as NoRM already allow this, so I would argue for including it as an option.&lt;/p&gt;</comment>
                            <comment id="20356" author="rstam" created="Tue, 16 Nov 2010 18:32:35 +0000"  >&lt;p&gt;The driver should never make any assumptions about &lt;b&gt;where&lt;/b&gt; the connection string is coming from (not even to assume ConfigurationManager is the right choice). It should always be up to the client code to decide where it wants to fetch connection strings from.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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|hrh9p3:</customfieldvalue>

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