<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>PrimeDigit - A Design Blog by Will Shaver</title>
	
	<link>http://www.primedigit.com</link>
	<description>Thoughts on ASP.NET, Visual Design, SQL Server 2005, C# and much more...</description>
	<pubDate>Mon, 15 Jun 2009 19:39:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Primedigit" type="application/rss+xml" /><item>
		<title>Bing Fail</title>
		<link>http://www.primedigit.com/2009/06/15/bing-fail/</link>
		<comments>http://www.primedigit.com/2009/06/15/bing-fail/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 19:36:28 +0000</pubDate>
		<dc:creator>Will</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.primedigit.com/?p=82</guid>
		<description><![CDATA[Here&#8217;s a quick and egosurfing comparison of google and bing. Doing a non-quoted search for: will shaver
Google: 

Me
Me
Me
Me, and others
Not Me
Me
Me
Not Me
Not Me

Bing:

Not Me
Not Me
Not Me
Not Me
Not Me
Not Me
Not Me
Not Me
Not Me
Not Me

Hey, it isn&#8217;t *my* fault that &#8220;Will&#8221; is a common english word. 
]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a quick and <a href="http://en.wikipedia.org/wiki/Egosurfing">egosurfing</a> comparison of google and bing. Doing a non-quoted search for: will shaver</p>
<p><a href="http://www.google.com/search?sourceid=chrome&#038;ie=UTF-8&#038;q=will+shaver">Google</a>: </p>
<ul>
<li>Me</li>
<li>Me</li>
<li>Me</li>
<li>Me, and others</li>
<li>Not Me</li>
<li>Me</li>
<li>Me</li>
<li>Not Me</li>
<li>Not Me</li>
</ul>
<p><a href="http://www.bing.com/search?q=will+shaver&#038;go=&#038;form=QBLH">Bing</a>:</p>
<ul>
<li>Not Me</li>
<li>Not Me</li>
<li>Not Me</li>
<li>Not Me</li>
<li>Not Me</li>
<li>Not Me</li>
<li>Not Me</li>
<li>Not Me</li>
<li>Not Me</li>
<li>Not Me</li>
</ul>
<p>Hey, it isn&#8217;t *my* fault that &#8220;Will&#8221; is a common english word. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.primedigit.com/2009/06/15/bing-fail/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Snappy Conversationalist</title>
		<link>http://www.primedigit.com/2009/04/21/snappy-conversationalist/</link>
		<comments>http://www.primedigit.com/2009/04/21/snappy-conversationalist/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 18:20:49 +0000</pubDate>
		<dc:creator>Will</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.primedigit.com/?p=79</guid>
		<description><![CDATA[

Boring conversation anyway&#8230;.
]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.primedigit.com/wp-content/uploads/2009/04/conversation.png" alt="How Exciting" title="How Exciting" width="768" height="313" class="alignnone size-full wp-image-80" /><br />
<br />
Boring conversation anyway&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.primedigit.com/2009/04/21/snappy-conversationalist/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Debugging with MVC Source</title>
		<link>http://www.primedigit.com/2009/02/24/debugging-with-mvc-source/</link>
		<comments>http://www.primedigit.com/2009/02/24/debugging-with-mvc-source/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 19:16:13 +0000</pubDate>
		<dc:creator>Will</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.primedigit.com/?p=77</guid>
		<description><![CDATA[If you&#8217;re trying to debug by building the MVC source and getting something like this error:

The type 'System.Web.Mvc.ViewMasterPage' is ambiguous: it could come from assembly 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mvc\1.0.0.0__31bf3856ad364e35\System.Web.Mvc.dll' or from assembly 'C:\Projects\mvccontrib\trunk\src\Samples\MvcContrib.Samples.UI\bin\System.Web.Mvc.DLL'. Please specify the assembly explicitly in the type name.
Then Steve will help you solve the ambiguous reference problem.
]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re trying to debug by building the MVC source and getting something like this error:</p>
<blockquote><p>
<code>The type 'System.Web.Mvc.ViewMasterPage' is ambiguous: it could come from assembly 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mvc\1.0.0.0__31bf3856ad364e35\System.Web.Mvc.dll' or from assembly 'C:\Projects\mvccontrib\trunk\src\Samples\MvcContrib.Samples.UI\bin\System.Web.Mvc.DLL'. Please specify the assembly explicitly in the type name.</code></p></blockquote>
<p>Then <a href="http://blog.codeville.net/2009/02/03/using-the-aspnet-mvc-source-code-to-debug-your-app/">Steve will help you solve the ambiguous reference problem.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.primedigit.com/2009/02/24/debugging-with-mvc-source/feed/</wfw:commentRss>
		</item>
		<item>
		<title>R# Asp.Net Mvc Inherits Errors</title>
		<link>http://www.primedigit.com/2009/02/19/r-aspnet-mvc-inherits-errors/</link>
		<comments>http://www.primedigit.com/2009/02/19/r-aspnet-mvc-inherits-errors/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 18:48:30 +0000</pubDate>
		<dc:creator>Will</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.primedigit.com/?p=74</guid>
		<description><![CDATA[Was fighting an annoying aspx / R# error for a couple of hours this morning. I&#8217;ve reported this as a bug to R#:
http://www.jetbrains.net/jira/browse/RSRP-96241
The basic problem: R# doesn&#8217;t highlight correctly if your Inherits directive is not fully qualified. Even if it is in an @Import directive or in your Web.config. The solution is to always fully [...]]]></description>
			<content:encoded><![CDATA[<p>Was fighting an annoying aspx / R# error for a couple of hours this morning. I&#8217;ve reported this as a bug to R#:<br />
<a href="http://www.jetbrains.net/jira/browse/RSRP-96241">http://www.jetbrains.net/jira/browse/RSRP-96241</a></p>
<p>The basic problem: R# doesn&#8217;t highlight correctly if your Inherits directive is not fully qualified. Even if it is in an @Import directive or in your Web.config. The solution is to always fully qualify your Inherits page directive. Or for R# to recommend importing it or fully qualifying it or actually reading the web.config correctly. Go vote my issue up. :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.primedigit.com/2009/02/19/r-aspnet-mvc-inherits-errors/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Agile Open Northwest 09</title>
		<link>http://www.primedigit.com/2009/02/10/agile-open-northwest-09/</link>
		<comments>http://www.primedigit.com/2009/02/10/agile-open-northwest-09/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 17:13:17 +0000</pubDate>
		<dc:creator>Will</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.primedigit.com/?p=72</guid>
		<description><![CDATA[I&#8217;ll be spending the next two days at a Agile Open Northwest. If you&#8217;re at the conference, come find me. :)
Otherwise I&#8217;ll be blogging about anything I find especially insightful.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll be spending the next two days at a <a href="http://www.agileopennorthwest.com/">Agile Open Northwest</a>. If you&#8217;re at the conference, come find me. :)</p>
<p>Otherwise I&#8217;ll be blogging about anything I find especially insightful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.primedigit.com/2009/02/10/agile-open-northwest-09/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Primary Keys</title>
		<link>http://www.primedigit.com/2009/02/05/primary-keys/</link>
		<comments>http://www.primedigit.com/2009/02/05/primary-keys/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 19:18:51 +0000</pubDate>
		<dc:creator>Will</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.primedigit.com/?p=70</guid>
		<description><![CDATA[I&#8217;ve spent most of the past couple of days mapping a legacy database with NHibernate. Here&#8217;s how the design of this database probably went down:
Pointy Haired Boss: We&#8217;ve decided to cut costs by paying you per primary key instead of per hour.
DBA: Works for me.
Seriously. We have tables here with two varchars, one decimal, and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spent most of the past couple of days mapping a legacy database with NHibernate. Here&#8217;s how the design of this database probably went down:</p>
<p>Pointy Haired Boss: We&#8217;ve decided to cut costs by paying you per primary key instead of per hour.<br />
DBA: Works for me.</p>
<p>Seriously. We have tables here with two varchars, one decimal, and one int ALL mapped to a primary key. So glad that I have NH to help me out here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.primedigit.com/2009/02/05/primary-keys/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MVC RC1 Bug - And asp.net forums whining</title>
		<link>http://www.primedigit.com/2009/01/28/mvc-rc1-bug-and-aspnet-forums-whining/</link>
		<comments>http://www.primedigit.com/2009/01/28/mvc-rc1-bug-and-aspnet-forums-whining/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 02:04:36 +0000</pubDate>
		<dc:creator>Will</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.primedigit.com/2009/01/28/mvc-rc1-bug-and-aspnet-forums-whining/</guid>
		<description><![CDATA[Simple enough, it looks like some standards nazi went through and renamed the Login to Logon in several places for RC1. Unfortunately it did not get renamed in the Web.config for the redirect on failed login url. 


&#160; &#160; &#60;authentication mode="Forms"&#62;
&#160; &#160; &#160; &#60;forms loginUrl="~/Account/Login"/&#62;
&#160; &#160; &#60;/authentication&#62;

Where it needs to be:


&#160; &#160; &#60;authentication mode="Forms"&#62;
&#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>Simple enough, it looks like some standards nazi went through and renamed the Login to Logon in several places for RC1. Unfortunately it did not get renamed in the Web.config for the redirect on failed login url. </p>
<p><!--<br />
{\rtf1\ansi\ansicpg\lang1024\noproof65001\uc1 \deff0{\fonttbl{\f0\fnil\fcharset0\fprq1 Courier New;}}{\colortbl;??\red0\green0\blue255;\red255\green255\blue255;\red163\green21\blue21;\red255\green0\blue0;\red0\green0\blue0;}??\fs20 \cf1 \tab \tab &lt;\cf3 authentication\cf1  \cf4 mode\cf1 =\cf0 "\cf1 Forms\cf0 "\cf1 &gt;\par ??\tab \tab \tab &lt;\cf3 forms\cf1  \cf4 loginUrl\cf1 =\cf0 "\cf1 ~/Account/Login\cf0 "\cf1 /&gt;\par ??\tab \tab &lt;/\cf3 authentication\cf1 &gt;}<br />
--></p>
<div style="font-family: Courier New; font-size: 10pt; color: black; background: white;">
<pre style="margin: 0px;"><span style="color: blue;">&nbsp; &nbsp; &lt;</span><span style="color: #a31515;">authentication</span><span style="color: blue;"> </span><span style="color: red;">mode</span><span style="color: blue;">=</span>"<span style="color: blue;">Forms</span>"<span style="color: blue;">&gt;</span></pre>
<pre style="margin: 0px;"><span style="color: blue;">&nbsp; &nbsp; &nbsp; &lt;</span><span style="color: #a31515;">forms</span><span style="color: blue;"> </span><span style="color: red;">loginUrl</span><span style="color: blue;">=</span>"<span style="color: blue;">~/Account/Login</span>"<span style="color: blue;">/&gt;</span></pre>
<pre style="margin: 0px;"><span style="color: blue;">&nbsp; &nbsp; &lt;/</span><span style="color: #a31515;">authentication</span><span style="color: blue;">&gt;</span></pre>
</div>
<p>Where it needs to be:</p>
<p><!--<br />
{\rtf1\ansi\ansicpg\lang1024\noproof65001\uc1 \deff0{\fonttbl{\f0\fnil\fcharset0\fprq1 Courier New;}}{\colortbl;??\red0\green0\blue255;\red255\green255\blue255;\red163\green21\blue21;\red255\green0\blue0;\red0\green0\blue0;}??\fs20 \cf1 \tab \tab &lt;\cf3 authentication\cf1  \cf4 mode\cf1 =\cf0 "\cf1 Forms\cf0 "\cf1 &gt;\par ??\tab \tab \tab &lt;\cf3 forms\cf1  \cf4 loginUrl\cf1 =\cf0 "\cf1 ~/Account/Login\cf0 "\cf1 /&gt;\par ??\tab \tab &lt;/\cf3 authentication\cf1 &gt;}<br />
--></p>
<div style="font-family: Courier New; font-size: 10pt; color: black; background: white;">
<pre style="margin: 0px;"><span style="color: blue;">&nbsp; &nbsp; &lt;</span><span style="color: #a31515;">authentication</span><span style="color: blue;"> </span><span style="color: red;">mode</span><span style="color: blue;">=</span>"<span style="color: blue;">Forms</span>"<span style="color: blue;">&gt;</span></pre>
<pre style="margin: 0px;"><span style="color: blue;">&nbsp; &nbsp; &nbsp; &lt;</span><span style="color: #a31515;">forms</span><span style="color: blue;"> </span><span style="color: red;">loginUrl</span><span style="color: blue;">=</span>"<span style="color: blue;">~/Account/LogOn</span>"<span style="color: blue;">/&gt;</span></pre>
<pre style="margin: 0px;"><span style="color: blue;">&nbsp; &nbsp; &lt;/</span><span style="color: #a31515;">authentication</span><span style="color: blue;">&gt;</span></pre>
</div>
<p>But when I went to the asp.net forums to report this bug, I did the conscientious thing and tried to determine if it had been reported already. Searching for &#8220;RC1 logon login&#8221; yielded too many results. So I&#8217;ll wade through the tree view to only check the asp.net mvc forum. (2004 called, wants it back.) I then realized it was sorting by some kind of relavance instead of date. Where&#8217;s the date sort? Lets try going back to the &#8220;more search options&#8221; Ohh, thanks for clearing my existing search. Perhaps if I hit &#8220;back&#8221; instead? Still no luck. Ohh wait, there&#8217;s a big notice at the top of the search page:</p>
<blockquote><p><strong>Search will be undergoing maintenance to improve results on Tuesday, January 6, 2009 from 7pm - 10pm Eastern Time, United States.</strong></p></blockquote>
<p>Ohh. So this is the IMPROVED version? Sigh. I&#8217;ll post it here instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.primedigit.com/2009/01/28/mvc-rc1-bug-and-aspnet-forums-whining/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MVC RC1</title>
		<link>http://www.primedigit.com/2009/01/28/mvc-rc1/</link>
		<comments>http://www.primedigit.com/2009/01/28/mvc-rc1/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 18:05:05 +0000</pubDate>
		<dc:creator>Will</dc:creator>
		
		<category><![CDATA[ASP.Net]]></category>

		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://www.primedigit.com/2009/01/28/mvc-rc1/</guid>
		<description><![CDATA[As I&#8217;m sure you noticed, MVC RC1 is out now. In reading through the release notes I found this:
&#8220;The overloads for DropDownList and ListBox helper methods were reworked to fix various usability problems that were reported by customers.&#8221;
Thanks for listening!
]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;m sure you noticed, <a href="http://haacked.com/archive/2009/01/27/aspnetmvc-release-candidate.aspx">MVC RC1</a> is out now. In reading through the release notes I found this:</p>
<blockquote><p><em>&#8220;The overloads for DropDownList and ListBox helper methods were reworked to fix various usability problems that were reported by customers.&#8221;</em></p></blockquote>
<p><a href="http://www.primedigit.com/2008/12/10/headaches-with-aspmvc-ui-helpers/">Thanks for listening!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.primedigit.com/2009/01/28/mvc-rc1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Stock Photos FTW</title>
		<link>http://www.primedigit.com/2009/01/13/stock-photos-ftw/</link>
		<comments>http://www.primedigit.com/2009/01/13/stock-photos-ftw/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 16:29:36 +0000</pubDate>
		<dc:creator>Will</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.primedigit.com/2009/01/13/stock-photos-ftw/</guid>
		<description><![CDATA[Sometimes using a stock photo can help sell your product. Perhaps this one is trying to convince the buyer what not to do. Or something.

]]></description>
			<content:encoded><![CDATA[<p>Sometimes using a stock photo can help sell your product. Perhaps this one is trying to convince the buyer what not to do. Or something.</p>
<p><img src='http://www.primedigit.com/wp-content/uploads/2009/01/clipart.jpg' alt='clipart.jpg' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.primedigit.com/2009/01/13/stock-photos-ftw/feed/</wfw:commentRss>
		</item>
		<item>
		<title>GAC Conflicts with ASP MVC</title>
		<link>http://www.primedigit.com/2008/12/24/gac-conflicts-with-asp-mvc/</link>
		<comments>http://www.primedigit.com/2008/12/24/gac-conflicts-with-asp-mvc/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 17:04:58 +0000</pubDate>
		<dc:creator>Will</dc:creator>
		
		<category><![CDATA[ASP.Net]]></category>

		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://www.primedigit.com/2008/12/24/gac-conflicts-with-asp-mvc/</guid>
		<description><![CDATA[By some strange combination of beta and pre-release candidate installs I managed to create some serious conflicts with ASP.NET MVC. Thereby producing this wonderful little error:
Compiler Error Message: CS0433: The type 'System.Web.Mvc.FormMethod' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Mvc\1.0.0.0__31bf3856ad364e35\System.Web.Mvc.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\06c0b3cf\32bec25d\assembly\dl3\71bfb65b\e11bf5c5_9e55c901\System.Web.Mvc.DLL'
I am using my own build of the source from codeplex so that I can debug [...]]]></description>
			<content:encoded><![CDATA[<p>By some strange combination of beta and pre-release candidate installs I managed to create some serious conflicts with ASP.NET MVC. Thereby producing this wonderful little error:</p>
<p><code>Compiler Error Message: CS0433: The type 'System.Web.Mvc.FormMethod' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Mvc\1.0.0.0__31bf3856ad364e35\System.Web.Mvc.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\06c0b3cf\32bec25d\assembly\dl3\71bfb65b\e11bf5c5_9e55c901\System.Web.Mvc.DLL'</code></p>
<p>I am using my own build of the source from codeplex so that I can debug through it to improve my knowledge of the codebase. From research online it looks like the assembly version between the latest pre-release and the beta weren&#8217;t incremented, or the web-runner tries to look in the GAC before the /bin, or the evil garden gnomes are at it again, or Microsoft wants to punish me for building THEIR dll files.</p>
<p>To solve this problem, i opened up the AssemblyInfo.cs files of the Mvc project and upped the AssemblyVersion to 1.0.0.9. Then hacked my web config to use that version. As I&#8217;m running in debug mode, and can&#8217;t sign the assembly I also had to remove the PublicKeyToken from the reference.</p>
<p><code>&lt;add assembly="System.Web.Mvc, Version=1.0.0.9, Culture=neutral"/&gt;</code></p>
<p>And suddenly we&#8217;re back in business.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.primedigit.com/2008/12/24/gac-conflicts-with-asp-mvc/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
