<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Seeking Suggestions for Reading Web.Config</title> <atom:link href="http://www.radicalwacko.com/2008/03/24/seeking-suggestions-for-reading-webconfig/feed/" rel="self" type="application/rss+xml" /><link>http://www.radicalwacko.com/2008/03/24/seeking-suggestions-for-reading-webconfig/</link> <description>A Place of Unfettered Eccentricity</description> <lastBuildDate>Thu, 12 Jan 2012 18:54:22 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Pete</title><link>http://www.radicalwacko.com/2008/03/24/seeking-suggestions-for-reading-webconfig/comment-page-1/#comment-2416</link> <dc:creator>Pete</dc:creator> <pubDate>Fri, 18 Apr 2008 01:55:12 +0000</pubDate> <guid
isPermaLink="false">http://www.radicalwacko.com/index.php/2008/03/24/seeking-suggestions-for-reading-webconfig/#comment-2416</guid> <description>This probably won&#039;t help at all....but I couldn&#039;t resist.  Here&#039;s my version using LINQ to XML in a single line of code:
return (from nd in XElement.Load(Server.MapPath(&quot;web.config&quot;)).Descendants(&quot;authentication&quot;)
select nd.Attribute(&quot;mode&quot;).Value).Single();</description> <content:encoded><![CDATA[<p>This probably won&#8217;t help at all&#8230;.but I couldn&#8217;t resist.  Here&#8217;s my version using LINQ to XML in a single line of code:</p><p>return (from nd in XElement.Load(Server.MapPath(&#8220;web.config&#8221;)).Descendants(&#8220;authentication&#8221;)<br
/> select nd.Attribute(&#8220;mode&#8221;).Value).Single();</p> ]]></content:encoded> </item> <item><title>By: RadicalWacko</title><link>http://www.radicalwacko.com/2008/03/24/seeking-suggestions-for-reading-webconfig/comment-page-1/#comment-2346</link> <dc:creator>RadicalWacko</dc:creator> <pubDate>Sun, 30 Mar 2008 07:14:09 +0000</pubDate> <guid
isPermaLink="false">http://www.radicalwacko.com/index.php/2008/03/24/seeking-suggestions-for-reading-webconfig/#comment-2346</guid> <description>Yeah, I took a look and it doesn&#039;t seem to be any easier.  Of course, they are probably a bit safer about thread safety than I am, but I only read it once, so no need to change it now.  Thanks for the pointer.</description> <content:encoded><![CDATA[<p>Yeah, I took a look and it doesn&#8217;t seem to be any easier.  Of course, they are probably a bit safer about thread safety than I am, but I only read it once, so no need to change it now.  Thanks for the pointer.</p> ]]></content:encoded> </item> <item><title>By: dylan</title><link>http://www.radicalwacko.com/2008/03/24/seeking-suggestions-for-reading-webconfig/comment-page-1/#comment-2339</link> <dc:creator>dylan</dc:creator> <pubDate>Tue, 25 Mar 2008 16:58:17 +0000</pubDate> <guid
isPermaLink="false">http://www.radicalwacko.com/index.php/2008/03/24/seeking-suggestions-for-reading-webconfig/#comment-2339</guid> <description>It looks like you could use System.Web.Configuration.WebConfigurationManager too, though it doesn&#039;t look like the code would be any simpler.</description> <content:encoded><![CDATA[<p>It looks like you could use System.Web.Configuration.WebConfigurationManager too, though it doesn&#8217;t look like the code would be any simpler.</p> ]]></content:encoded> </item> </channel> </rss>
