<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Next Web Designs &#187; C#</title>
	<atom:link href="http://nextwebdesigns.com/tag/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://nextwebdesigns.com</link>
	<description>Growing the Artistic Web</description>
	<lastBuildDate>Wed, 14 Jul 2010 13:23:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>App.config Settings for a Project with no Output</title>
		<link>http://nextwebdesigns.com/2008/10/17/appconfig-settings-for-a-project-with-no-output/</link>
		<comments>http://nextwebdesigns.com/2008/10/17/appconfig-settings-for-a-project-with-no-output/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 19:58:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Design]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://nextwebdesigns.com/?p=42</guid>
		<description><![CDATA[Sometimes more than just connection strings need to be stored to a settings or configuration file of some kind. If you are building a mult-tier application and your project is a class library with no run-able code, you can't just throw settings into an app.config file. Likewise, you wouldn't want to put your tier-specific settings [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes more than just connection strings need to be stored to a settings or configuration file of some kind. If you are building a mult-tier application and your project is a class library with no run-able code, you can't just throw settings into an app.config file. Likewise, you wouldn't want to put your tier-specific settings in a different project just because that project contains the output (and the app.config).</p>
<p>A simple way around this problem is to create a settings file for your project.  To do so, right click on your project and select "Properties"</p>
<p><a href="http://None"><img class="aligncenter size-full wp-image-46" title="Project Properties" src="http://nextwebdesigns.com/wp-content/uploads/2008/10/setting_shot1.jpg" alt="" width="316" height="538" /></a></p>
<p>Navigate to the "Settings" tab and click the link to create a new settings file</p>
<p><a href="http://None"><img class="aligncenter size-full wp-image-47" title="Create a settings file" src="http://nextwebdesigns.com/wp-content/uploads/2008/10/setting_shot2.jpg" alt="" width="500" height="307" /></a></p>
<p>Add the application specific parameters to your settings file via the designer.  Save and rebuild your project.</p>
<p><a href="http://None"><img class="aligncenter size-full wp-image-48" title="Add your setting string" src="http://nextwebdesigns.com/wp-content/uploads/2008/10/setting_shot3.jpg" alt="" width="500" height="297" /></a></p>
<p>To use your settings, reference them via the following syntax:</p>
<pre class="cpp">Properties.<span style="color: #00eeff;">Settings</span>.<span style="color: #0000ff;">Default</span>.<span style="color: #00eeff;">MySetting</span></pre>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://nextwebdesigns.com/2008/10/17/appconfig-settings-for-a-project-with-no-output/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
