<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>No Free Time</title>
	<atom:link href="http://andrewmyhre.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewmyhre.wordpress.com</link>
	<description>ASP.Net TFS C# C++</description>
	<pubDate>Wed, 16 Jul 2008 12:56:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
			<item>
		<title>Howto: Only include part of a project workspace in a TFS 2008 Team Build</title>
		<link>http://andrewmyhre.wordpress.com/2008/07/17/howto-only-include-part-of-a-project-workspace-in-a-tfs-2008-team-build/</link>
		<comments>http://andrewmyhre.wordpress.com/2008/07/17/howto-only-include-part-of-a-project-workspace-in-a-tfs-2008-team-build/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 12:56:44 +0000</pubDate>
		<dc:creator>andrewmyhre</dc:creator>
		
		<category><![CDATA[.net]]></category>

		<category><![CDATA[CI]]></category>

		<category><![CDATA[tfs]]></category>

		<guid isPermaLink="false">http://andrewmyhre.wordpress.com/?p=70</guid>
		<description><![CDATA[I&#8217;m working on a website with a large design aspect, so we have a lot of .psd files (about 200mb) kicking about the place. We want them source controlled, so they live in the TFS 2008 team project folder in source control. But then our Team Build includes them when downloading the source files, so [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;m working on a website with a large design aspect, so we have a lot of .psd files (about 200mb) kicking about the place. We want them source controlled, so they live in the TFS 2008 team project folder in source control. But then our Team Build includes them when downloading the source files, so that quickly fills up our build server&#8217;s drive and makes a single build take up to 11 minutes, which is far too long for a basic eCommerce website.</p>
<p>So I trimmed these files from our build process. Here&#8217;s what I did:</p>
<ol>
<li>Copy the .psd files and any other files that aren&#8217;t required for a build into a seperate folder in the root of the team project. (All our website/source files are in another folder called &#8216;Current&#8217;, as in the &#8216;current version&#8217;, as opposed to &#8216;Phase 1&#8242;, &#8216;Phase 2&#8242;)<br />
<a href="http://andrewmyhre.files.wordpress.com/2008/07/01_create_branch.jpg"><img class="alignnone size-medium wp-image-71" src="http://andrewmyhre.files.wordpress.com/2008/07/01_create_branch.jpg?w=138&h=86" alt="" width="138" height="86" /></a></li>
<li>In Team Explorer, right click the build you want to edit and selected Edit Build Definition&#8230;</li>
<li>In the Workspace tab, enter the path within source control where you want to start downloading files from. In our case I chose the $/[project]/Current folder, so the /PSDs folder will be ignored and not downloaded.<br />
<a href="http://andrewmyhre.files.wordpress.com/2008/07/02_choose_workspace.jpg"><img class="alignnone size-medium wp-image-72" src="http://andrewmyhre.files.wordpress.com/2008/07/02_choose_workspace.jpg?w=300&h=246" alt="" width="300" height="246" /></a></li>
</ol>
<p>Now, thanks to the above steps my build history folders are 1/10th the size they were to begin with, and the build process takes less than half the time!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/andrewmyhre.wordpress.com/70/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/andrewmyhre.wordpress.com/70/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewmyhre.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewmyhre.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewmyhre.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewmyhre.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewmyhre.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewmyhre.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewmyhre.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewmyhre.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewmyhre.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewmyhre.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewmyhre.wordpress.com&blog=2776051&post=70&subd=andrewmyhre&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://andrewmyhre.wordpress.com/2008/07/17/howto-only-include-part-of-a-project-workspace-in-a-tfs-2008-team-build/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/andrewmyhre-128.jpg" medium="image">
			<media:title type="html">andrewmyhre</media:title>
		</media:content>

		<media:content url="http://andrewmyhre.files.wordpress.com/2008/07/01_create_branch.jpg?w=138" medium="image" />

		<media:content url="http://andrewmyhre.files.wordpress.com/2008/07/02_choose_workspace.jpg?w=300" medium="image" />
	</item>
		<item>
		<title>Neat video</title>
		<link>http://andrewmyhre.wordpress.com/2008/07/16/neat-video/</link>
		<comments>http://andrewmyhre.wordpress.com/2008/07/16/neat-video/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 09:23:50 +0000</pubDate>
		<dc:creator>andrewmyhre</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://andrewmyhre.wordpress.com/?p=68</guid>
		<description><![CDATA[This video is super cool.
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://tinyurl.com/622thq" target="_blank">This video is super cool</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/andrewmyhre.wordpress.com/68/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/andrewmyhre.wordpress.com/68/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewmyhre.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewmyhre.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewmyhre.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewmyhre.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewmyhre.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewmyhre.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewmyhre.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewmyhre.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewmyhre.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewmyhre.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewmyhre.wordpress.com&blog=2776051&post=68&subd=andrewmyhre&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://andrewmyhre.wordpress.com/2008/07/16/neat-video/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/andrewmyhre-128.jpg" medium="image">
			<media:title type="html">andrewmyhre</media:title>
		</media:content>
	</item>
		<item>
		<title>Enabling WCF in IIS 7 on Vista</title>
		<link>http://andrewmyhre.wordpress.com/2008/07/13/enabling-wcf-in-iis-7-on-vista/</link>
		<comments>http://andrewmyhre.wordpress.com/2008/07/13/enabling-wcf-in-iis-7-on-vista/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 15:54:18 +0000</pubDate>
		<dc:creator>andrewmyhre</dc:creator>
		
		<category><![CDATA[.net]]></category>

		<category><![CDATA[iis7]]></category>

		<category><![CDATA[silverlight]]></category>

		<category><![CDATA[wcf]]></category>

		<guid isPermaLink="false">http://andrewmyhre.wordpress.com/?p=67</guid>
		<description><![CDATA[I created a Silverlight-enabled WCF service which worked perfectly when running my Silverlight app from Visual Studio, but as soon as I deployed to IIS 7 on my machine and opened it outside of VS I received the following error:
Unhandled Error in Silverlight 2 Application Exception has been thrown by the target of an invocation. [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I created a Silverlight-enabled WCF service which worked perfectly when running my Silverlight app from Visual Studio, but as soon as I deployed to IIS 7 on my machine and opened it outside of VS I received the following error:</p>
<p><span class="objectBox objectBox-errorMessage hasTwisty hasBreakSwitch">Unhandled Error in Silverlight 2 Application Exception has been thrown by the target of an invocation. at System.RuntimeMethodHandle._InvokeMethodFast<br />
&#8230;&#8230; (there was more</span></p>
<p>I couldn&#8217;t be sure whether this was a Silverlight or a WCF issue so I opened the SVC url in my browser and received a  (405) Method Not Allowed response. I checked IIS and discovered there was no HTTP Handler set up for WCF services.</p>
<p>I then managed to find <a href="http://blogs.msdn.com/nikola/archive/2008/03/06/configuring-iis-7-to-work-with-wcf-web-services-for-silverlight-2-beta-1-scenario.aspx" target="_blank">this very helpful post about setting up WCF HTTP Handlers in IIS 7</a>, and the solution described worked perfectly for me. Here are the steps:</p>
<ol>
<li>Open a command prompt as administrator</li>
<li>CD to c:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation</li>
<li>Type ServiceModelReg -i and press return</li>
<li>A whole load of lines like &#8220;Installing: HTTP Handlers&#8221; will print out to the console. When it&#8217;s finished go into IIS 7 and open the HTTP Handlers list for your website. You should see a couple of new ones for the *.svc extension</li>
</ol>
<p>Also, another issue I came across while trying to track down how to set these up was where people were deploying their WCF/Silverlight project to IIS 7 without updating their web.config to change the server binding reference. When you add a service reference to your Silverlight project the url is stored in the ServiceReferences.ClientConfig file, but if the WCF project is defined in the same solution then the URL will point to the local Cassini server, which means the service call will fail when you deploy the app to IIS.</p>
<p>One solution to the issue is to <a href="http://silverlight.net/forums/t/19021.aspx" target="_blank">override the service URL in code</a>, so that you don&#8217;t have to keep updating the .config file when you deploy to a web server.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/andrewmyhre.wordpress.com/67/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/andrewmyhre.wordpress.com/67/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewmyhre.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewmyhre.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewmyhre.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewmyhre.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewmyhre.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewmyhre.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewmyhre.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewmyhre.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewmyhre.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewmyhre.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewmyhre.wordpress.com&blog=2776051&post=67&subd=andrewmyhre&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://andrewmyhre.wordpress.com/2008/07/13/enabling-wcf-in-iis-7-on-vista/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/andrewmyhre-128.jpg" medium="image">
			<media:title type="html">andrewmyhre</media:title>
		</media:content>
	</item>
		<item>
		<title>How to create a default instance of a type T</title>
		<link>http://andrewmyhre.wordpress.com/2008/07/11/how-to-create-a-default-instance-of-a-type-t/</link>
		<comments>http://andrewmyhre.wordpress.com/2008/07/11/how-to-create-a-default-instance-of-a-type-t/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 16:41:58 +0000</pubDate>
		<dc:creator>andrewmyhre</dc:creator>
		
		<category><![CDATA[.net]]></category>

		<category><![CDATA[c++]]></category>

		<guid isPermaLink="false">http://andrewmyhre.wordpress.com/?p=66</guid>
		<description><![CDATA[A problem I&#8217;ve come across in the past when writing ORM solutions is when I need to create a new instance of generic type T but set to a NULL or 0 value. Value types I need to set to null but reference types I need to set to 0. How do I do the [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A problem I&#8217;ve come across in the past when writing ORM solutions is when I need to create a new instance of generic type T but set to a NULL or 0 value. Value types I need to set to null but reference types I need to set to 0. How do I do the right thing? Here&#8217;s a bad way:</p>
<pre><span style="color:#0000ff;">if (typeof(container) == typeof(int))</span><span><span style="color:#0000ff;">
</span></span><span style="color:#0000ff;">container = 0;
else if (typeof(container) == typeof(Customer))
container = null;
</span></pre>
<p>Using this method means lots of if &#8230; else if &#8230;else by checking type. How ugly! There has to be a better way, I thought. So I gave up and got on with something else.</p>
<p>Months later, it turns out there IS a better way: the <em>default</em> keyword:</p>
<pre><span style="color:#0000ff;">t container = default(containerType);</span></pre>
<p>This keyword gives you a NULL or 0 value based on the type you pass it. I don&#8217;t know whether it&#8217;s faster or more efficient, but hey, it&#8217;s a lot less code for you to write, and you can be pretty sure they&#8217;ve covered all the edge cases.</p>
<p><a href="http://msdn.microsoft.com/en-us/library/xwth0h0d(VS.80).aspx" target="_blank">More information about the default keyword.</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/andrewmyhre.wordpress.com/66/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/andrewmyhre.wordpress.com/66/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewmyhre.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewmyhre.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewmyhre.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewmyhre.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewmyhre.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewmyhre.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewmyhre.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewmyhre.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewmyhre.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewmyhre.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewmyhre.wordpress.com&blog=2776051&post=66&subd=andrewmyhre&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://andrewmyhre.wordpress.com/2008/07/11/how-to-create-a-default-instance-of-a-type-t/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/andrewmyhre-128.jpg" medium="image">
			<media:title type="html">andrewmyhre</media:title>
		</media:content>
	</item>
		<item>
		<title>How to delete a team project in Team Foundation Server 2005/2008</title>
		<link>http://andrewmyhre.wordpress.com/2008/07/09/deleting-a-team-project-in-team-foundation-server-20052008/</link>
		<comments>http://andrewmyhre.wordpress.com/2008/07/09/deleting-a-team-project-in-team-foundation-server-20052008/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 10:44:32 +0000</pubDate>
		<dc:creator>andrewmyhre</dc:creator>
		
		<category><![CDATA[tfs]]></category>

		<guid isPermaLink="false">http://andrewmyhre.wordpress.com/?p=63</guid>
		<description><![CDATA[TFS 2005/2008 both ship with the TfsDeleteProject.exe utility.
Open a command line on your team foundation server and cd to
%program files%\Microsoft Visual Studio 9.0\Common7\IDE (200 
%program files%\Microsoft Visual Studio 8\Common7\IDE (2005)
Then:
tfsdeleteproject /q /force /server:&#60;tfs server&#62; "&#60;project name&#62;"
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>TFS 2005/2008 both ship with the TfsDeleteProject.exe utility.</p>
<p>Open a command line on your team foundation server and cd to</p>
<pre>%program files%\Microsoft Visual Studio 9.0\Common7\IDE (200 <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' />
%program files%\Microsoft Visual Studio 8\Common7\IDE (2005)</pre>
<p>Then:</p>
<pre>tfsdeleteproject /q /force /server:&lt;tfs server&gt; "&lt;project name&gt;"</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/andrewmyhre.wordpress.com/63/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/andrewmyhre.wordpress.com/63/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewmyhre.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewmyhre.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewmyhre.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewmyhre.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewmyhre.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewmyhre.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewmyhre.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewmyhre.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewmyhre.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewmyhre.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewmyhre.wordpress.com&blog=2776051&post=63&subd=andrewmyhre&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://andrewmyhre.wordpress.com/2008/07/09/deleting-a-team-project-in-team-foundation-server-20052008/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/andrewmyhre-128.jpg" medium="image">
			<media:title type="html">andrewmyhre</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.Net MVC: Giving MasterPages access to ViewData</title>
		<link>http://andrewmyhre.wordpress.com/2008/07/03/aspnet-mvc-giving-masterpages-access-to-viewdata/</link>
		<comments>http://andrewmyhre.wordpress.com/2008/07/03/aspnet-mvc-giving-masterpages-access-to-viewdata/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 06:38:13 +0000</pubDate>
		<dc:creator>andrewmyhre</dc:creator>
		
		<category><![CDATA[.net]]></category>

		<category><![CDATA[mvc]]></category>

		<guid isPermaLink="false">http://andrewmyhre.wordpress.com/?p=62</guid>
		<description><![CDATA[If you want to include ViewData in the MasterPage UI, you can.
ASP.Net MVC MasterPages are System.Web.Mvc.ViewMasterPage - this is a generic type just like System.Web.Mvc.ViewPage. So you can type it with a ViewData object, like this:
public partial class MyTemplate : ViewMasterPage&#60;SomeViewData&#62;
As soon as you do this you&#8217;re saying that the SomeViewData class is the only [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you want to include ViewData in the MasterPage UI, you can.</p>
<p>ASP.Net MVC MasterPages are System.Web.Mvc.ViewMasterPage - this is a generic type just like System.Web.Mvc.ViewPage. So you can type it with a ViewData object, like this:</p>
<p>public partial class MyTemplate : ViewMasterPage&lt;SomeViewData&gt;</p>
<p>As soon as you do this you&#8217;re saying that the SomeViewData class is the only ViewData object that can be used on any page using this template. Not a problem though, just create a base ViewData class.</p>
<p>public class SiteWideViewData<br />
{<br />
}</p>
<p>public class PageViewData : SiteWideViewData<br />
{<br />
}</p>
<p>This of course means no more default ViewData objects and no more return View(); I found the easiest way to deal with that is to create a static property on the base ViewData:</p>
<p>public class SiteWideViewData<br />
{<br />
public static SiteWideViewData Default { get { return new SiteWideViewData(); } }<br />
}</p>
<p>Now I can do this:</p>
<p>public ActionResult MySimpleControllerMethod()<br />
{<br />
return View(SiteWideViewData.Default);<br />
}</p>
<p>And that seems to work okay.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/andrewmyhre.wordpress.com/62/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/andrewmyhre.wordpress.com/62/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewmyhre.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewmyhre.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewmyhre.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewmyhre.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewmyhre.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewmyhre.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewmyhre.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewmyhre.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewmyhre.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewmyhre.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewmyhre.wordpress.com&blog=2776051&post=62&subd=andrewmyhre&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://andrewmyhre.wordpress.com/2008/07/03/aspnet-mvc-giving-masterpages-access-to-viewdata/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/andrewmyhre-128.jpg" medium="image">
			<media:title type="html">andrewmyhre</media:title>
		</media:content>
	</item>
		<item>
		<title>Nice reference for LINQ to SQL samples</title>
		<link>http://andrewmyhre.wordpress.com/2008/06/29/nice-reference-for-linq-to-sql-samples/</link>
		<comments>http://andrewmyhre.wordpress.com/2008/06/29/nice-reference-for-linq-to-sql-samples/#comments</comments>
		<pubDate>Sun, 29 Jun 2008 11:13:04 +0000</pubDate>
		<dc:creator>andrewmyhre</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://andrewmyhre.wordpress.com/?p=59</guid>
		<description><![CDATA[Check out this page for a nice collection of LINQ to SQL samples:
http://msdn.microsoft.com/en-us/vbasic/bb688085.aspx
The samples are only available in C# though so far as I can see&#8230;
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Check out this page for a nice collection of LINQ to SQL samples:</p>
<p><a href="http://msdn.microsoft.com/en-us/vbasic/bb688085.aspx" target="_blank">http://msdn.microsoft.com/en-us/vbasic/bb688085.aspx</a></p>
<p>The samples are only available in C# though so far as I can see&#8230;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/andrewmyhre.wordpress.com/59/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/andrewmyhre.wordpress.com/59/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewmyhre.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewmyhre.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewmyhre.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewmyhre.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewmyhre.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewmyhre.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewmyhre.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewmyhre.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewmyhre.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewmyhre.wordpress.com/59/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewmyhre.wordpress.com&blog=2776051&post=59&subd=andrewmyhre&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://andrewmyhre.wordpress.com/2008/06/29/nice-reference-for-linq-to-sql-samples/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/andrewmyhre-128.jpg" medium="image">
			<media:title type="html">andrewmyhre</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.Net MVC Toolkit Download</title>
		<link>http://andrewmyhre.wordpress.com/2008/06/29/aspnet-mvc-toolkit-download/</link>
		<comments>http://andrewmyhre.wordpress.com/2008/06/29/aspnet-mvc-toolkit-download/#comments</comments>
		<pubDate>Sun, 29 Jun 2008 08:27:21 +0000</pubDate>
		<dc:creator>andrewmyhre</dc:creator>
		
		<category><![CDATA[.net]]></category>

		<category><![CDATA[mvc]]></category>

		<category><![CDATA[asp.net]]></category>

		<guid isPermaLink="false">http://andrewmyhre.wordpress.com/?p=58</guid>
		<description><![CDATA[Took me ages to find a link to download this sucker, so here&#8217;s the download link.
Download MVC Toolkit for MVC Preview 1

Note: As Simone noted in the comments, this toolkit is built against MVC Preview 1 and hence doesn&#8217;t work with Preview 2 or 3.
UPDATE:

I thought I needed it because there are so many MVC [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Took me ages to find a link to download this sucker, so here&#8217;s the download link.</p>
<p><a href="http://go.microsoft.com/fwlink/?LinkID=106001&amp;clcid=0x409">Download MVC Toolkit for MVC Preview 1<br />
</a></p>
<p>Note: As Simone noted in the comments, this toolkit is built against MVC Preview 1 and hence doesn&#8217;t work with Preview 2 or 3.</p>
<p><strong>UPDATE:<br />
</strong></p>
<p><strong>I thought I needed it because there are so many MVC how-to articles referencing Preview 1, but it turns out much of the functionality is now rolled up into Preview 3. This assembly is now redundant, which is why it&#8217;s so hard to find. It&#8217;s *supposed* to be.<br />
</strong></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/andrewmyhre.wordpress.com/58/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/andrewmyhre.wordpress.com/58/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewmyhre.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewmyhre.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewmyhre.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewmyhre.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewmyhre.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewmyhre.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewmyhre.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewmyhre.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewmyhre.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewmyhre.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewmyhre.wordpress.com&blog=2776051&post=58&subd=andrewmyhre&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://andrewmyhre.wordpress.com/2008/06/29/aspnet-mvc-toolkit-download/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/andrewmyhre-128.jpg" medium="image">
			<media:title type="html">andrewmyhre</media:title>
		</media:content>
	</item>
		<item>
		<title>Mobile Applications for S60 Phones</title>
		<link>http://andrewmyhre.wordpress.com/2008/06/22/mobile-applications-for-s60-phones/</link>
		<comments>http://andrewmyhre.wordpress.com/2008/06/22/mobile-applications-for-s60-phones/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 12:28:49 +0000</pubDate>
		<dc:creator>andrewmyhre</dc:creator>
		
		<category><![CDATA[mobile]]></category>

		<category><![CDATA[social]]></category>

		<guid isPermaLink="false">http://andrewmyhre.wordpress.com/?p=57</guid>
		<description><![CDATA[A couple of weeks ago I bought a Nokia N82 from Ebay, a major step up from my previous phone which, though I can&#8217;t actually find a product page for, was not unlike this one. So all this time I&#8217;ve been feeling a little left out of the mobile social services game, which is all [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A couple of weeks ago I bought a <a href="http://www.nseries.com/products/n82/#l=products,n82" target="_blank">Nokia N82</a> from Ebay, a major step up from my previous phone which, though I can&#8217;t actually find a product page for, was not unlike <a href="http://en.wikipedia.org/wiki/Nokia_3100" target="_blank">this one</a>. So all this time I&#8217;ve been feeling a little left out of the mobile social services game, which is all very exciting. So now that I&#8217;ve got the new phone I&#8217;ve been going application crazy, and I&#8217;m going to share my thoughts and favourite apps here.</p>
<p>The phone supports WiFi and I have an unlimited data plan, so I&#8217;ve spare no concern whatsoever for data hungry apps - bear that in mind if your provider charges you per megabyte (is that really still a realistic option these days??).</p>
<p>Firstly, two obvious ones: the Google Mail and Google Maps applications are essential. Google Mail provides a fast and data-friendly way to check and write emails on the go. Checking your email will cost you about 1k and opening an email another 1-2k, so it&#8217;s totally 3G friendly. Google Maps churns though a bit more data when it downloads map tiles, but don&#8217;t go overboard with the zooming and you can keep a maps session under 100k easily enough. The address search functionality provides the same intuitive fuzziness as its online counterpart, and in this area it blows the built-in Nokia maps application out of the water. When we were in Berlin last week I couldn&#8217;t find <em>anything</em> in Nokia maps because I couldn&#8217;t be bothered getting the special characters right - Google Maps figured out what I was looking for every time. It also syncs with your GPS as you&#8217;d expect, and will provide directions for you in the same manner as the web app. In both applications the shortcuts are cleverly chosen and they&#8217;ve made excellent use of screen real estate when providing popup information.</p>
<p>I&#8217;m also really interested in always-connected applications and the clear and inevitable merge of desktop and mobile, so I wanted apps that will allow me to be productive on my phone and let me communicate with people in a variety of ways. The main methods of communication I&#8217;m interested in are Twitter, Skype and IM (GoogleTalk in my case).</p>
<p>Twitter provides a really simple way to use their service. Once you provide your mobile number you can elect to receive SMS updates from people you follow (you don&#8217;t have to receive SMS updates from <em>everyone</em> you follow - this provides a really nice level of spam control). You can broadcast your tweets by sending SMS messages to a phone number provided by Twitter, and using clever symantics you can reply and DM people as you need to.<br />
<a href="http://twitter.com" target="_blank">http://twitter.com</a></p>
<p>For Skype and IM services there are two applications to consider: <a href="http://www.fring.com/" target="_blank">Fring</a> and <a href="http://www.nimbuzz.com/" target="_blank">Nimbuzz</a> (I don&#8217;t consider the S60 Skype application because <a href="http://forum.skype.com/index.php?showtopic=126071" target="_blank">it sucks</a>). Both are conduits for a number of other services; Skype, GoogleTalk, AIM, Yahoo, MSN are fully supported by both. Both applications will hang around as background tasks once connected so you can do other things on your phone while still remaining available to receive chat and calls. I like the Nimbuzz interface a lot, but Fring is the only app I&#8217;ve been able to make a true VOIP call with. Fring only seems to like WiFi connections though, whereas with Nimbuzz I was able to connect via 3G and maintain a GTalk chat with someone. Bit of a shame that, so for the time being I&#8217;ll keep both apps installed and choose the appropriate one for my connection.</p>
<p>I&#8217;m also an enthusiastic <a href="http://www.last.fm/user/andrewmyhre/" target="_blank">last.fm user</a> so I was stoked to discover that some bright chap had written an audioscrobbler application for S60 phones called <a href="http://code.google.com/p/mobbler/" target="_blank">Mobbler</a>. Again it just lurks around in the background and keeps a record of what you&#8217;ve listened to on your music player, and once you&#8217;re connected (as far as I know this is a manual process) it then uploads to last.fm servers. Very very slick application. I listen to a lot of music on my IPod, and while I prefer it to the music player on my phone, I just love the fact that my tracks are being scrobbled. So I&#8217;m making a concerted effort to not hate the phone&#8217;s player.</p>
<p>On the user-generated content front, I also want to be able to upload my photos and video directly to *some service* from my phone. I *hate* synchronising, I *hate* the Nokia PC Suite. I don&#8217;t want to have to deal with that stuff.</p>
<p>Enter <a href="http://www.shozu.com" target="_blank">Shozu</a>. Create an account with them and you&#8217;ll be given the option to add sites to publish content to. Facebook, Flickr, PicasaWeb, Friendster, Blogger, Kodak, LiveJournal, YouTube, PhotoBucket, Seesmic, SmugMug, Twitter, WordPress - to name about 1/3 of all the supported services. The genius thing about this app is that you can nominate a service to be your 1-click photo or 1-click video service. When you take a photo or record video on your phone you&#8217;ll immediately be presented with a little prompt - &#8220;Upload to [your service]&#8220;. Just hit the &#8216;Yes&#8217; key and the Shozu app queues the media for upload and sends it when you&#8217;re connected. Just brilliant.</p>
<p>I&#8217;m also looking forward to trying out <a href="http://www.jaiku.com" target="_blank">Jaiku</a>, the location-based chat/networking service. I&#8217;ve requested a beta invitation so if/when I get one I&#8217;ll give it a go.</p>
<p>Cool! Hope all this gives someone a way to kill a few hours <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/andrewmyhre.wordpress.com/57/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/andrewmyhre.wordpress.com/57/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewmyhre.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewmyhre.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewmyhre.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewmyhre.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewmyhre.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewmyhre.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewmyhre.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewmyhre.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewmyhre.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewmyhre.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewmyhre.wordpress.com&blog=2776051&post=57&subd=andrewmyhre&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://andrewmyhre.wordpress.com/2008/06/22/mobile-applications-for-s60-phones/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/andrewmyhre-128.jpg" medium="image">
			<media:title type="html">andrewmyhre</media:title>
		</media:content>
	</item>
		<item>
		<title>New Regime</title>
		<link>http://andrewmyhre.wordpress.com/2008/06/06/new-regime/</link>
		<comments>http://andrewmyhre.wordpress.com/2008/06/06/new-regime/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 22:16:32 +0000</pubDate>
		<dc:creator>andrewmyhre</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://andrewmyhre.wordpress.com/?p=52</guid>
		<description><![CDATA[Boy, the weeks have really flown by.
Lately I&#8217;ve been working on a WSS 2007 project which has been keeping me quite busy. I&#8217;ve been learning a great deal about Sharepoint development but I&#8217;ve been recording my learnings in the form of documentation rather than blog posts. My co-worker Scott Cowan has been keeping a thorough [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Boy, the weeks have really flown by.</p>
<p>Lately I&#8217;ve been working on a WSS 2007 project which has been keeping me quite busy. I&#8217;ve been learning a great deal about Sharepoint development but I&#8217;ve been recording my learnings in the form of documentation rather than blog posts. My co-worker <a href="http://stream.sleepoverrated.com/">Scott Cowan</a> has been keeping a thorough blog though. Initially my point of view was that I was being <em>invested in</em> to learn this stuff, so to broadcast my knowledge as I gained it would be ethically murky. But I&#8217;ve changed my mind about that now, so from now on whatever I learn I&#8217;ll post.</p>
<p>I&#8217;ve also been working on my CMS recently, trying to get it into shape so that it doesn&#8217;t disgust me anymore. It&#8217;s like a love-child I concieved during a more irresponsible time in my life and it&#8217;s turned out not only to be a time-suck but also just disappointing. I&#8217;m really trying to dig in, improve, refactor and rerelease. But I&#8217;m happy with the key features and with time and effort I think it will become a good product.</p>
<p>I hosted my blog for a while on it, but I switched because the features I wanted to include in my blog would have taken my too long to implement when I could just sign up for a free one and set it up in a few minutes. That was a good time but now I&#8217;m getting more serious about finishing the project I&#8217;m going to migrate back to my CMS. I realise now that in the long run I actually want my blog to be hosted on my own software, so to avoid messing up people&#8217;s bookmarks andRSS subscriptions (20 people a day and counting!) I&#8217;m going to cross-post everything I blog on the  <a href="../">wordpress site</a> to <a href="http://andrew.myhre.tanash.net/">my original site</a>. That way when the switch finally happens most of the content will just be there. It&#8217;s going to be annoying but hopefully I&#8217;ll find a way to automate it.</p>
<p>I managed to get a beta license for <a href="http://ping.fm/">ping.fm</a> so it&#8217;s going to be cool playing with that. It was <em>really, really hard</em> to get the license (hint: just email them and ask).</p>
<p>I&#8217;m also in the process of shifting my hosting from www.enom.com to <a href="http://www.discountasp.net/">DiscountASP.Net</a>. So far they seem really cool - pages load in a heartbeat whereas enom was dead slow, and my sites are running on a Windows Server 2008 box. I can manage things like Http Handlers through my IIS7 Management Console, and it&#8217;s bliss! They also answer questions promptly which is a huge bonus.</p>
<p>Also I have a Nokia N82 on it&#8217;s way to me. It&#8217;s about time I had a smartphone and I&#8217;m super excited about building some J2SE apps. I have a couple of ideas for things I want to try out.</p>
<p>And I&#8217;m using <a href="http://www.rememberthemilk.com/">www.rememberthemilk.com</a>, it&#8217;s actually really good.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/andrewmyhre.wordpress.com/52/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/andrewmyhre.wordpress.com/52/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewmyhre.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewmyhre.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewmyhre.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewmyhre.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewmyhre.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewmyhre.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewmyhre.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewmyhre.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewmyhre.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewmyhre.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewmyhre.wordpress.com&blog=2776051&post=52&subd=andrewmyhre&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://andrewmyhre.wordpress.com/2008/06/06/new-regime/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/andrewmyhre-128.jpg" medium="image">
			<media:title type="html">andrewmyhre</media:title>
		</media:content>
	</item>
	</channel>
</rss>