<?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>Adam Carter &#187; Programming Archives  &#8211; Adam Carter</title>
	<atom:link href="http://adam-carter.com/posts/category/programming/feed" rel="self" type="application/rss+xml" />
	<link>http://adam-carter.com</link>
	<description>Documenting the misadventures of yours truly.</description>
	<lastBuildDate>Mon, 05 Dec 2011 18:41:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to not hardcode AspNetDevelopmentServerHost attribute when unit testing</title>
		<link>http://adam-carter.com/posts/684</link>
		<comments>http://adam-carter.com/posts/684#comments</comments>
		<pubDate>Mon, 05 Dec 2011 18:41:29 +0000</pubDate>
		<dc:creator>acarter</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[visualstudio]]></category>

		<guid isPermaLink="false">http://adam-carter.com/?p=684</guid>
		<description><![CDATA[By default, whenever you have VS2010 generate a new unit test for a web method (an MVC controller in my case), it creates a hard-linked file path in the &#34;AspNetDevelopmentServerHost&#34; attribute. This may work fine if you&#8217;re the sole developer and code on only one machine, but what about when you work on a team [...]]]></description>
		<wfw:commentRss>http://adam-carter.com/posts/684/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;The property is read only&#8221; Error Using RIA Services</title>
		<link>http://adam-carter.com/posts/624</link>
		<comments>http://adam-carter.com/posts/624#comments</comments>
		<pubDate>Wed, 13 Jul 2011 16:36:06 +0000</pubDate>
		<dc:creator>acarter</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[ria services]]></category>

		<guid isPermaLink="false">http://adam-carter.com/?p=624</guid>
		<description><![CDATA[If you&#8217;re trying to modify the property of an object automagically generated from RIA Services within a Silverlight application and you&#8217;re getting a runtime error indicating that the the property is read only, here&#8217;s a simple fix. Simply add the attribute &#8220;[Editable(true)]&#8221; from System.ComponentModel.DataAnnotations at the top of the field that you&#8217;d like to be [...]]]></description>
		<wfw:commentRss>http://adam-carter.com/posts/624/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Invalid object name &#8216;dbo.xxx&#8217; using MVC3 and SQL Server</title>
		<link>http://adam-carter.com/posts/556</link>
		<comments>http://adam-carter.com/posts/556#comments</comments>
		<pubDate>Tue, 10 May 2011 17:52:47 +0000</pubDate>
		<dc:creator>acarter</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[mvc]]></category>
		<category><![CDATA[sql sever]]></category>

		<guid isPermaLink="false">http://adam-carter.com/?p=556</guid>
		<description><![CDATA[When working through the Movies tutorial on the ASP.NET website, I decided that it&#8217;d be fun to try to switch the data provider from SQL Compact to the full version of SQL Server 2008. In preparation for the move, I created a new (blank) database and gave the appropriate permissions to my test account. However, [...]]]></description>
		<wfw:commentRss>http://adam-carter.com/posts/556/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Row not found or changed &amp; LINQ</title>
		<link>http://adam-carter.com/posts/188</link>
		<comments>http://adam-carter.com/posts/188#comments</comments>
		<pubDate>Mon, 12 Jul 2010 22:01:56 +0000</pubDate>
		<dc:creator>acarter</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[LINQ]]></category>

		<guid isPermaLink="false">http://adam-carter.com/?p=188</guid>
		<description><![CDATA[This is a particularly well-known error (see here, here, and here), but this is the second time that I&#8217;ve had to do a search on this error so I thought that I&#8217;d post it here so that I can find it more quickly. Anyway, when this error occurs, make sure that the NULL types in [...]]]></description>
		<wfw:commentRss>http://adam-carter.com/posts/188/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SaveFileDialog Error When Debugging Silverlight Applications</title>
		<link>http://adam-carter.com/posts/173</link>
		<comments>http://adam-carter.com/posts/173#comments</comments>
		<pubDate>Wed, 09 Jun 2010 16:29:55 +0000</pubDate>
		<dc:creator>acarter</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://adam-carter.com/?p=173</guid>
		<description><![CDATA[If you&#8217;re having difficulties debugging a section of code that uses the SafeFileDialog.ShowDialog() method, the reason is that Silverlight requires that the ShowDialog() method be called from a user-generated action. For whatever reason, entering into debug mode makes Silverlight think that you are not responding to a user-action, even when you are. To work around [...]]]></description>
		<wfw:commentRss>http://adam-carter.com/posts/173/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change Default Layout when Using Zend Framework</title>
		<link>http://adam-carter.com/posts/167</link>
		<comments>http://adam-carter.com/posts/167#comments</comments>
		<pubDate>Thu, 03 Jun 2010 16:27:49 +0000</pubDate>
		<dc:creator>acarter</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://adam-carter.com/?p=167</guid>
		<description><![CDATA[Quick Tip: If you want to change the default layout script in your Zend Framework MVC application, you can do one of the following: // Within controller $this-&#62;_helper_layout-&#62;setLayout('other-layout') //other-layout.phtml //Within view script layout()-&#62;setLayout('other-layout'); ?&#62; Thanks to Andrew at the StackOverflow forums. &#8211;Adam]]></description>
		<wfw:commentRss>http://adam-carter.com/posts/167/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extending a UserControl in Silverlight</title>
		<link>http://adam-carter.com/posts/162</link>
		<comments>http://adam-carter.com/posts/162#comments</comments>
		<pubDate>Mon, 31 May 2010 17:10:53 +0000</pubDate>
		<dc:creator>acarter</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://adam-carter.com/?p=162</guid>
		<description><![CDATA[In a current project that I&#8217;m working on, I needed to extend a UserControl to add some additional specialized functionality. This is very easy to do if all you need is to extend code, but it becomes much more difficult if you want to extend it via a XAML/C# UserControl. After much web searching, I [...]]]></description>
		<wfw:commentRss>http://adam-carter.com/posts/162/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Document Root to Point to a Network Share With Windows/Apache</title>
		<link>http://adam-carter.com/posts/158</link>
		<comments>http://adam-carter.com/posts/158#comments</comments>
		<pubDate>Sun, 30 May 2010 22:01:10 +0000</pubDate>
		<dc:creator>acarter</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://adam-carter.com/posts/158</guid>
		<description><![CDATA[Quick tip: If you’re wanting to have your Apache document root point to a network share in Windows, here’s what you have to do: Change your DocumentRoot to the network share (drive remapping doesn’t seem to work).&#160; Example: DocumentRoot “//path/to/share” Make sure to update the DocumentRoot path in your &#60;Directory&#62; config Edit the Apache service [...]]]></description>
		<wfw:commentRss>http://adam-carter.com/posts/158/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 5.3 and MySQL: A connection attempt failed because the connected party did not properly respond after a period of time&#8230;</title>
		<link>http://adam-carter.com/posts/144</link>
		<comments>http://adam-carter.com/posts/144#comments</comments>
		<pubDate>Thu, 11 Feb 2010 00:13:20 +0000</pubDate>
		<dc:creator>acarter</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://adam-carter.com/?p=144</guid>
		<description><![CDATA[Having difficulty connecting to MySQL through PHP 5.3.x? Know that MySQL and PHP are properly configured? Using Windows Vista / 7? The problem may very well be that you&#8217;re connecting to &#8216;localhost.&#8217; According to Joe Bedan, simply changing &#8216;localhost&#8217; to &#8217;127.0.0.7&#8242; will fix the problem, and he&#8217;s right! According to another forum post, this is [...]]]></description>
		<wfw:commentRss>http://adam-carter.com/posts/144/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Canceling AutoPostBack for Asp.Net DropDownList</title>
		<link>http://adam-carter.com/posts/140</link>
		<comments>http://adam-carter.com/posts/140#comments</comments>
		<pubDate>Mon, 25 Jan 2010 19:28:37 +0000</pubDate>
		<dc:creator>acarter</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://adam-carter.com/?p=140</guid>
		<description><![CDATA[In my most recent project, I decided to prompt the user before doing a post back when a DropDownList changed. In order to do so, you need to add an &#8220;onchange&#8221; event to your DropDownList. It should look something like: onclick="if(!SomeFunction(this)) return false;" Some Notes: &#8220;SomeFunction&#8221; is a javascript function that returns true or false [...]]]></description>
		<wfw:commentRss>http://adam-carter.com/posts/140/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

