<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>The Codetripper</title>
	<atom:link href="http://codetripper.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://codetripper.wordpress.com</link>
	<description>Like a roadtripper, but on the code.</description>
	<lastBuildDate>Wed, 29 Dec 2010 12:51:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='codetripper.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>The Codetripper</title>
		<link>http://codetripper.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://codetripper.wordpress.com/osd.xml" title="The Codetripper" />
	<atom:link rel='hub' href='http://codetripper.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Validating multiple properties with FluentValidation</title>
		<link>http://codetripper.wordpress.com/2010/11/08/validating-multiple-properties-with-fluentvalidation/</link>
		<comments>http://codetripper.wordpress.com/2010/11/08/validating-multiple-properties-with-fluentvalidation/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 13:17:40 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[FluentValidation]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">https://codetripper.wordpress.com/?p=239</guid>
		<description><![CDATA[I really like Jeremy Skinner’s FluentValidation library and have used it on a couple of projects. Up until now though, I’ve only be using it to validate single properties in isolation. The other day a colleague and I were trying &#8230; <a href="http://codetripper.wordpress.com/2010/11/08/validating-multiple-properties-with-fluentvalidation/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=239&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I really like <a href="http://twitter.com/#!/JeremySkinner">Jeremy Skinner’s</a> <a href="http://fluentvalidation.codeplex.com/">FluentValidation</a> library and have used it on a couple of projects. Up until now though, I’ve only be using it to validate single properties in isolation.</p>
<p>The other day a colleague and I were trying to create a rule that validated <strong>two</strong> properties by querying the database and checking that the combination didn’t already exist. But we couldn’t seem to work it out.</p>
<p>I cheekily pinged @JeremySkinner and he helpfully pointed out that there are several ways of validating multiple properties:</p>
<ul>
<li>if you want to do cross property comparison then RuleFor(x =&gt; x.Foo).GreaterThan(x =&gt; x.Bar) etc
<li>you can also use Must: RuleFor(x =&gt; x.Foo).Must((instance, foo) =&gt; &#8230;)
<li>usually those cover most scenarios. If not, then there&#8217;s also Custom, but that&#8217;s usually a last resort </li>
</ul>
<p>The second option was what worked for us, and here is an example.</p>
<pre style="font-family:consolas, 'Courier New', monospace;font-size:11px;">public class FooBarRequestValidator : AbstractValidator&lt;FooBarRequest&gt;
{
    private readonly IRepository repository;

    public FooBarRequestValidator(IRepository repository)
    {
        this.repository = repository;

        RuleFor(x =&gt; x.Foo)
		.Must(NotAlreadyHaveABar)
		.WithMessage("You already have a bar for this foo.");
    }

    private bool NotAlreadyHaveABar(FooBarRequest instance, string foo)
    {
        return !repository.GetAll&lt;FooBar&gt;()
		.Any(x =&gt; x.Foo == foo &amp;&amp; x.Bar == instance.Bar);
    }
}
</pre>
<p>The trick is using the overload of <code>Must()</code> that takes a <code>Func&lt;T, TProperty, bool&gt;</code> predicate: that gives you access to the whole instance for your validating pleasure. Here, in <code>NotAlreadyHaveABar()</code> I can access <code>Bar</code> even though the rule is for the <code>Foo</code> property. </p>
<p>This works with FluentValidation v1.1 up to v2.0 Beta 1.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codetripper.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codetripper.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codetripper.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codetripper.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codetripper.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codetripper.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codetripper.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codetripper.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codetripper.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codetripper.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codetripper.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codetripper.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codetripper.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codetripper.wordpress.com/239/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=239&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codetripper.wordpress.com/2010/11/08/validating-multiple-properties-with-fluentvalidation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48028ebb8183a978b6a6b24ea4297a91?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Stu</media:title>
		</media:content>
	</item>
		<item>
		<title>Controlling which address WCF uses for your service</title>
		<link>http://codetripper.wordpress.com/2009/06/03/controlling-which-address-wcf-uses-for-your-service/</link>
		<comments>http://codetripper.wordpress.com/2009/06/03/controlling-which-address-wcf-uses-for-your-service/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 17:08:24 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[WCF]]></category>
		<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://codetripper.wordpress.com/2009/06/03/controlling-which-address-wcf-uses-for-your-service/</guid>
		<description><![CDATA[In IIS you can have multiple bindings for a site. I’m not talking about WCF bindings. Rather, I’m referring what the IIS Manager calls “identities”.&#160; Essentially, these allow you to have multiple addresses for a site, by specifying different host &#8230; <a href="http://codetripper.wordpress.com/2009/06/03/controlling-which-address-wcf-uses-for-your-service/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=223&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In IIS you can have multiple bindings for a site. I’m not talking about WCF bindings. Rather, I’m referring what the IIS Manager calls “identities”.&#160; Essentially, these allow you to have multiple <em>addresses</em> for a site, by specifying different host header names.</p>
<p><img style="display:inline;border-width:0;" title="Setting up multiple addresses for a website in IIS" border="0" alt="Setting up multiple addresses for a website in IIS" src="http://codetripper.files.wordpress.com/2009/06/image.png?w=476&#038;h=464" width="476" height="464" /> </p>
<p>This can be quite useful. <strong>However, you hit a snag if you try to host a WCF service in that site because WCF only allows a single address.</strong> Navigate to the service in your browser and you get the following error:</p>
<p><strong><em>This collection already contains an address with scheme http. There can be at most one address per scheme in this collection.</em></strong></p>
<p>Thankfully, in .NET 3.5 there is a very easy way of solving this problem. You can tell WCF which address to use by simply configuring a <a href="http://msdn.microsoft.com/en-us/library/bb924481.aspx">base address prefix filter</a> in web.config.</p>
<p><font face="Courier New">&lt;system.serviceModel&gt;      <br />&#160; &lt;serviceHostingEnvironment&gt;       <br />&#160;&#160;&#160;&#160; <strong>&lt;baseAddressPrefixFilters&gt;        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;add prefix=”http://xyz.mysite.com”/&gt;         <br />&#160;&#160;&#160; &lt;/baseAddressPrefixFilters&gt;</strong>       <br />&#160; &lt;/serviceHostingEnvironment&gt;       <br />&lt;/system.serviceModel&gt;</font></p>
<p>This config-only solution saved me from a real headache today as it meant that I didn’t have to recompile and redeploy. So, I thought I’d share it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codetripper.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codetripper.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codetripper.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codetripper.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codetripper.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codetripper.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codetripper.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codetripper.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codetripper.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codetripper.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codetripper.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codetripper.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codetripper.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codetripper.wordpress.com/223/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=223&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codetripper.wordpress.com/2009/06/03/controlling-which-address-wcf-uses-for-your-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48028ebb8183a978b6a6b24ea4297a91?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Stu</media:title>
		</media:content>

		<media:content url="http://codetripper.files.wordpress.com/2009/06/image.png" medium="image">
			<media:title type="html">Setting up multiple addresses for a website in IIS</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.NET MVC scaffolding and multiple assemblies</title>
		<link>http://codetripper.wordpress.com/2009/02/21/aspnet-mvc-scaffolding-and-multiple-assemblies/</link>
		<comments>http://codetripper.wordpress.com/2009/02/21/aspnet-mvc-scaffolding-and-multiple-assemblies/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 18:37:03 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>

		<guid isPermaLink="false">http://codetripper.wordpress.com/2009/02/21/aspnet-mvc-scaffolding-and-multiple-assemblies/</guid>
		<description><![CDATA[I came across a bug in ASP.NET MVC Release Candidate 1 today, which meant that I couldn’t use the useful scaffolding feature, i.e. Add View. When trying to add a strongly-typed view I got the following error: System.TypeLoadException: Could not &#8230; <a href="http://codetripper.wordpress.com/2009/02/21/aspnet-mvc-scaffolding-and-multiple-assemblies/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=219&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I came across a bug in ASP.NET MVC Release Candidate 1 today, which meant that I couldn’t use the useful scaffolding feature, i.e. Add View. </p>
<p><a href="http://codetripper.files.wordpress.com/2009/02/image.png"><img title="image" style="display:inline;border-width:0;" height="244" alt="image" src="http://codetripper.files.wordpress.com/2009/02/image-thumb.png?w=230&#038;h=244" width="230" border="0" /></a> </p>
<p>When trying to add a strongly-typed view I got the following error:</p>
<blockquote><p>System.TypeLoadException: Could not load type &#8216;MyMvcApp.Shared.ISomeInterface&#8217; from assembly &#8216;MyMvcApp.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&#8217;. </p>
</blockquote>
<p> The issue was that <em><strong>the model object implemented ISomeInterface, which was defined in a different assembly</strong></em>.</p>
<p><img title="image" style="display:inline;border-width:0;margin:0 10px 0 0;" height="467" alt="image" src="http://codetripper.files.wordpress.com/2009/02/image1.png?w=245&#038;h=467" width="245" align="left" border="0" /> </p>
<p>I think this is a reasonably common scenario: model objects often use attributes or implement interfaces from validation frameworks and the like – so I was surprised that this bug had slipped into the release candidate. However, A bit of experimentation showed that <strong>the problem <em>doesn’t </em>happen if the model object itself lives in the web app</strong>. So it’s only when the model object is in a separate assembly from the web app, <em>and</em> the dependency (in this case the interface) is in yet another assembly. Ok, so that makes it a little more of a fringe case. But I happen to be in this fringe!</p>
<p>Luckily for me, not only had the bug <a href="http://www.codeplex.com/aspnet/WorkItem/View.aspx?WorkItemId=3105">already been reported</a> but someone had also posted a workaround: you can get it working by making the relevant assembly available to Visual Studio. All you need to do is find out where Visual Studio is looking.</p>
<p>The only problem with the proposed workaround is that it involved finding the <strong>temp</strong> folder Visual Studio is using, and that changes for each session, which is a bit of a pain.</p>
<p>Anyway, I ran up <a href="http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx">Process Monitor</a> and found that one of the places Visual Studio was looking was:</p>
<p><em><strong>%Program Files%\Microsoft Visual Studio 9.0\Common7\IDE\</strong></em></p>
</p>
<p>Result! That location doesn’t change across Visual Studio sessions.</p>
<p>So all I had to do was copy the assembly (MyMvcApp.Shared.dll) to that folder and then it worked fine. </p>
<p>Hopefully this will be fixed in the eagerly anticipated RTM. But in the meantime this is a pretty good workaround.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codetripper.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codetripper.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codetripper.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codetripper.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codetripper.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codetripper.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codetripper.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codetripper.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codetripper.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codetripper.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codetripper.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codetripper.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codetripper.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codetripper.wordpress.com/219/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=219&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codetripper.wordpress.com/2009/02/21/aspnet-mvc-scaffolding-and-multiple-assemblies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48028ebb8183a978b6a6b24ea4297a91?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Stu</media:title>
		</media:content>

		<media:content url="http://codetripper.files.wordpress.com/2009/02/image-thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://codetripper.files.wordpress.com/2009/02/image1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Method not found: FluentNHibernate.Mapping.IdentityPart, etc</title>
		<link>http://codetripper.wordpress.com/2009/01/06/method-not-found-fluentnhibernatemappingidentitypart-etc/</link>
		<comments>http://codetripper.wordpress.com/2009/01/06/method-not-found-fluentnhibernatemappingidentitypart-etc/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 00:00:55 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[FluentNHibernate]]></category>

		<guid isPermaLink="false">http://codetripper.wordpress.com/2009/01/06/method-not-found-fluentnhibernatemappingidentitypart-etc/</guid>
		<description><![CDATA[I’ve been banging my head over this error I was getting when constructing a FluentNHibernate PersistenceModel: Method not found: &#8216;FluentNHibernate.Mapping.IdentityPart`1&#60;!0&#62; FluentNHibernate.Mapping.ClassMap`1.Id(System.Linq.Expressions.Expression`1&#60;System.Func`2&#60;!0,System.Object&#62;&#62;)&#8217;. I thought I’d post the (annoyingly simple) solution so that someone else might be saved the agony. In my &#8230; <a href="http://codetripper.wordpress.com/2009/01/06/method-not-found-fluentnhibernatemappingidentitypart-etc/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=214&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I’ve been banging my head over this error I was getting when constructing a FluentNHibernate PersistenceModel:</p>
<blockquote><p><strong>Method not found: &#8216;FluentNHibernate.Mapping.IdentityPart`1&lt;!0&gt; FluentNHibernate.Mapping.ClassMap`1.Id(System.Linq.Expressions.Expression`1&lt;System.Func`2&lt;!0,System.Object&gt;&gt;)&#8217;.</strong></p>
</blockquote>
<p>I thought I’d post the (annoyingly simple) solution so that someone else might be saved the agony.</p>
<p>In my case, the FluentNHibernate.dll in one of my projects was an old version. Yawn.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codetripper.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codetripper.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codetripper.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codetripper.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codetripper.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codetripper.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codetripper.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codetripper.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codetripper.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codetripper.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codetripper.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codetripper.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codetripper.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codetripper.wordpress.com/214/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=214&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codetripper.wordpress.com/2009/01/06/method-not-found-fluentnhibernatemappingidentitypart-etc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48028ebb8183a978b6a6b24ea4297a91?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Stu</media:title>
		</media:content>
	</item>
		<item>
		<title>Using SQLite on Vista 64 bit</title>
		<link>http://codetripper.wordpress.com/2009/01/03/using-sqlite-on-vista-64-bit/</link>
		<comments>http://codetripper.wordpress.com/2009/01/03/using-sqlite-on-vista-64-bit/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 12:40:58 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Vista 64 bit]]></category>

		<guid isPermaLink="false">http://codetripper.wordpress.com/2009/01/03/using-sqlite-on-vista-64-bit/</guid>
		<description><![CDATA[I’ve been using trying to use SQLite to test my NHibernate mappings and have been getting the following error: NHibernate.HibernateException : Could not create the driver from NHibernate.Driver.SQLite20Driver, NHibernate, Version=2.0.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4. The IDbCommand and IDbConnection implementation in the assembly &#8230; <a href="http://codetripper.wordpress.com/2009/01/03/using-sqlite-on-vista-64-bit/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=207&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I’ve been using trying to use <a href="http://www.sqlite.org/">SQLite</a> to test my NHibernate mappings and have been getting the following error:</p>
<p><code><em>NHibernate.HibernateException : Could not create the driver from NHibernate.Driver.SQLite20Driver, NHibernate, Version=2.0.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4. </em></code></p>
<p><code><em>The IDbCommand and IDbConnection implementation in the assembly System.Data.SQLite could not be found.</em></code> </p>
<p>I had checked to make sure the System.Data.SQLite.dll was copied to the application dir, so what gives?</p>
<p>Well it turns out that the SQLite.dll I was using was compiled for x86. To solve the problem you can either</p>
<ol>
<li>Download the x64 version of System.Data.SQLite.dll, as suggested <a href="http://blog.quiziqal.com/post/2008/12/27/SystemDataSQLite-Issue-on-Vista-64-Bit-Part-2.aspx">here</a>, or</li>
<li>Just change the platform target of your project to x86.&#160;
<p><img title="image" style="border-right:0;border-top:0;display:inline;border-left:0;border-bottom:0;" height="373" alt="image" src="http://codetripper.files.wordpress.com/2009/01/image.png?w=572&#038;h=373" width="572" border="0" /> </li>
</ol>
<p>If the project really needs to take advantage of 64 bit then you’d go for option 1. However, option 2 is easier and, in my case, more pragmatic because it means the code will work on both x86 and x64 systems.</p>
<p>Hope this helps.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codetripper.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codetripper.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codetripper.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codetripper.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codetripper.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codetripper.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codetripper.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codetripper.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codetripper.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codetripper.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codetripper.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codetripper.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codetripper.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codetripper.wordpress.com/207/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=207&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codetripper.wordpress.com/2009/01/03/using-sqlite-on-vista-64-bit/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48028ebb8183a978b6a6b24ea4297a91?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Stu</media:title>
		</media:content>

		<media:content url="http://codetripper.files.wordpress.com/2009/01/image.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Silverlight “outside the browser”</title>
		<link>http://codetripper.wordpress.com/2008/10/29/silverlight-outside-the-browser/</link>
		<comments>http://codetripper.wordpress.com/2008/10/29/silverlight-outside-the-browser/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 10:55:28 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[PDC2008]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[WPF/E]]></category>

		<guid isPermaLink="false">http://www.makiwa.com/index.php/2008/10/29/silverlight-outside-the-browser/</guid>
		<description><![CDATA[The two PDC2008 keynotes were quite interesting. Sure, the first one about Windows Azure and cloud computing was a little dry, and while is quite hard to wow audiences with architecture, infrastructure and backend services, they could have done a &#8230; <a href="http://codetripper.wordpress.com/2008/10/29/silverlight-outside-the-browser/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=128&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The two PDC2008 keynotes were quite interesting. Sure, the first one about Windows Azure and cloud computing was a little dry, and while is quite hard to wow audiences with architecture, infrastructure and backend services, they could have done a much better job by regularly demonstrating the value to developers and end users (See Apple’s keynotes). However, the second keynote was a lot more exciting. Amongst other things, we got tastes of Windows 7, Office v.Next on the web, and all sorts of Live Mesh goodness.</p>
<p>But for me the highlight of the keynotes was when Scott Guthrie mentioned that Silverlight is jumping “outside the browser”</p>
<blockquote><p>“Next year we will also then be shipping a major new release of Silverlight, which includes a bunch of new runtime features.</p>
<p>“We’ve already announced support for H.264 media, and you’ll see a lot more media features being announced in the months ahead. <strong><em>In a few minutes you’ll learn about how you can actually run Silverlight both inside the browser, and now, OUTSIDE the browser.</em></strong> (applause)</p>
<p>“Also, as part of the next Silverlight release we’re going to be adding much richer graphics support as well as much improved data support.”</p>
</blockquote>
<p>Of course, “in a few minutes” probably referred to a session on Silverlight, and as I wasn’t at the conference I’m left wondering about the details for now. Silverlight outside the browser really would deliver on Silverlight’s former name “WPF Everywhere”. It pits Silverlight against Adobe AIR and really ups the ante in the Rich Internet Application (RIA) space.</p>
<p><img title="image" style="display:inline;border-width:0;margin:0 15px 0 0;" height="120" alt="image" src="http://www.makiwa.com/wp-content/uploads/2008/10/image-thumb.png" width="127" align="left" border="0" /> Of course, for this announcement to even mean anything, “outside the browser” must mean on both the Windows and the Mac desktop (and yes, the Linux desktops too although that’s technically ‘Moonlight’). After all, we already have Silverlight outside the browser on Windows – it’s full on WPF. So if Silverlight <em>itself </em>is jumping outside the browser <strong>I can only assume that this is the the long-awaited move to get the .NET Framework running on the Mac!</strong></p>
<p>If this proves to be the case, it will have profound implications for technology choice on RIA projects, especially as offline capability starts to become more important. Silverlight will finally be a player – not just a media player.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codetripper.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codetripper.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codetripper.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codetripper.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codetripper.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codetripper.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codetripper.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codetripper.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codetripper.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codetripper.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codetripper.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codetripper.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codetripper.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codetripper.wordpress.com/128/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=128&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codetripper.wordpress.com/2008/10/29/silverlight-outside-the-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48028ebb8183a978b6a6b24ea4297a91?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Stu</media:title>
		</media:content>

		<media:content url="http://www.makiwa.com/wp-content/uploads/2008/10/image-thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows &#8220;Cloud&#8221; and Office everywhere</title>
		<link>http://codetripper.wordpress.com/2008/10/01/windows-cloud-and-office-everywhere/</link>
		<comments>http://codetripper.wordpress.com/2008/10/01/windows-cloud-and-office-everywhere/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 18:08:20 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.makiwa.com/index.php/2008/10/01/windows-cloud-and-office-everywhere/</guid>
		<description><![CDATA[I attended a TechNet event in London today where Steve Ballmer gave the key note. The whole event was called &#8220;Technologies to Change Your Business: How Customers Are Implementing s Strategies&#8221; and while we were bombarded with Hyper-V, SQL Server &#8230; <a href="http://codetripper.wordpress.com/2008/10/01/windows-cloud-and-office-everywhere/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=123&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I attended a TechNet event in London today where Steve Ballmer gave the key note. The whole event was called &#8220;Technologies to Change Your Business: How Customers Are Implementing s Strategies&#8221; and while we were bombarded with Hyper-V, SQL Server 2008, Silverlight and WPF two tech tidbits that I took away with me were</p>
<ul>
<li>The next version of Windows server &#8211; which Ballmer dubbed Windows &#8220;Cloud&#8221; for want of a better word &#8211; will take cloud computing to the next level.</li>
<li>When asked if MS will offer an Office-as-a-service product to compete with Google Apps, Ballmer said yes. However, he balked at using the term &#8220;compete&#8221; when talking about Google Apps, which he doesn&#8217;t regard as serious competition &#8211; and nor do I for what it&#8217;s worth. He said there would be a &#8220;click-to-run&#8221; Office Live type thing (I&#8217;m imagining Click-Once) as well as a cut-down, browser-only offering for when you want to do some &#8220;light editing at an internet café&#8221;.</li>
</ul>
<p>The funniest thing was at the end of the keynote. Ballmer was asked if he would mind re-enacting his &#8220;monkey dance/developer, developer, developer&#8221; craziness. Being the good sport he is, he then lept about on the stage chanting &#8220;IT Pros, IT Pros, IT Pros&#8230;I LOVE IT PROS!!!!&#8221;.</p>
<p>The trip to the Southbank was worth it just for that.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codetripper.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codetripper.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codetripper.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codetripper.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codetripper.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codetripper.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codetripper.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codetripper.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codetripper.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codetripper.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codetripper.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codetripper.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codetripper.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codetripper.wordpress.com/123/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=123&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codetripper.wordpress.com/2008/10/01/windows-cloud-and-office-everywhere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48028ebb8183a978b6a6b24ea4297a91?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Stu</media:title>
		</media:content>
	</item>
		<item>
		<title>Google Chrome is nice, but it doesn&#8217;t play nicely with Windows</title>
		<link>http://codetripper.wordpress.com/2008/09/12/google-chrome-is-nice-but-it-doesnt-play-nicely-with-windows/</link>
		<comments>http://codetripper.wordpress.com/2008/09/12/google-chrome-is-nice-but-it-doesnt-play-nicely-with-windows/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 12:06:39 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://www.makiwa.com/index.php/2008/09/12/google-chrome-is-nice-but-it-doesnt-play-nicely-with-windows/</guid>
		<description><![CDATA[I like Google Chrome: I like what Google is doing under the hood to improve performance, security, and stability, and I like some of the UI features. But it seems to me that in their rush to implement an innovative &#8230; <a href="http://codetripper.wordpress.com/2008/09/12/google-chrome-is-nice-but-it-doesnt-play-nicely-with-windows/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=119&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I like Google Chrome: I like what Google is doing under the hood to improve performance, security, and stability, and I like some of the UI features. But it seems to me that in their rush to implement an innovative UI they opted to side-step some standard Windows application features.</p>
<p>For example, today I was doing some cross-browser testing and I wanted to have four different browsers open at the same time. The thing is, the browser windows were all over the place.</p>
<p><a href="http://www.makiwa.com/wp-content/uploads/2008/09/image.png"><img style="border-width:0;" height="121" alt="Cluttered browser windows" src="http://www.makiwa.com/wp-content/uploads/2008/09/image-thumb.png" width="244" border="0"></a></p>
<p>So, I wanted to tile them. You can do this by control-clicking all four taskbar items, right-clicking, and selecting &#8220;Tile Horizontally&#8221;.</p>
<p><a href="http://www.makiwa.com/wp-content/uploads/2008/09/image1.png"><img style="border-width:0;" height="123" alt="Tiling multiple windows" src="http://www.makiwa.com/wp-content/uploads/2008/09/image-thumb1.png" width="690" border="0"></a></p>
<p>The problem is, while Safari, FireFox and IE were happy to oblige, Google Chrome just wasn&#8217;t interested.</p>
<p><a href="http://www.makiwa.com/wp-content/uploads/2008/09/image2.png"><img style="border-width:0;" height="480" alt="Google Chrome doesn't tile" src="http://www.makiwa.com/wp-content/uploads/2008/09/image-thumb2.png" width="600" border="0"></a></p>
<p>Not exactly sure why this doesn&#8217;t work, although I suspect it&#8217;s down to Google wanting to keep the code base as cross-platform as possible and in the process some Windows-specific things have fallen through the cracks. Perhaps I should <a href="http://www.hanselman.com/blog/TheWeeklySourceCode33MicrosoftOpenSourceInsideGoogleChrome.aspx" target="_blank">be brave like Scott Hanselman and actually dive into the Chrome source code</a> to find out.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/codetripper.wordpress.com/119/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/codetripper.wordpress.com/119/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codetripper.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codetripper.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codetripper.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codetripper.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codetripper.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codetripper.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codetripper.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codetripper.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codetripper.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codetripper.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codetripper.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codetripper.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codetripper.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codetripper.wordpress.com/119/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=119&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codetripper.wordpress.com/2008/09/12/google-chrome-is-nice-but-it-doesnt-play-nicely-with-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48028ebb8183a978b6a6b24ea4297a91?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Stu</media:title>
		</media:content>

		<media:content url="http://www.makiwa.com/wp-content/uploads/2008/09/image-thumb.png" medium="image">
			<media:title type="html">Cluttered browser windows</media:title>
		</media:content>

		<media:content url="http://www.makiwa.com/wp-content/uploads/2008/09/image-thumb1.png" medium="image">
			<media:title type="html">Tiling multiple windows</media:title>
		</media:content>

		<media:content url="http://www.makiwa.com/wp-content/uploads/2008/09/image-thumb2.png" medium="image">
			<media:title type="html">Google Chrome doesn't tile</media:title>
		</media:content>
	</item>
		<item>
		<title>Manic Miner in Silverlight</title>
		<link>http://codetripper.wordpress.com/2008/08/14/manic-miner-in-silverlight/</link>
		<comments>http://codetripper.wordpress.com/2008/08/14/manic-miner-in-silverlight/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 12:43:21 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://www.makiwa.com/index.php/2008/08/14/manic-miner-in-silverlight/</guid>
		<description><![CDATA[Manic Miner and Jetset Willy are two ZX Spectrum games that were emblazoned into my hippocampus in the early to mid-eighties. What joy to find that Pete McGann and Richard Costall have created a Sliverlight version of Manic Miner! Have &#8230; <a href="http://codetripper.wordpress.com/2008/08/14/manic-miner-in-silverlight/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=112&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Manic Miner and Jetset Willy are two ZX Spectrum games that were emblazoned into my hippocampus in the early to mid-eighties.</p>
<p>What joy to find that Pete McGann and Richard Costall have created a Sliverlight version of Manic Miner! Have a play here: </p>
<p><a title="http://www.nxtgenug.net/manicminer/" href="http://www.nxtgenug.net/manicminer/">http://www.nxtgenug.net/manicminer/</a></p>
<p><a href="http://www.makiwa.com/wp-content/uploads/2008/08/image.png"><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="175" alt="Manic Miner screenshot" src="http://www.makiwa.com/wp-content/uploads/2008/08/image-thumb.png" width="244" border="0"></a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/codetripper.wordpress.com/112/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/codetripper.wordpress.com/112/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codetripper.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codetripper.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codetripper.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codetripper.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codetripper.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codetripper.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codetripper.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codetripper.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codetripper.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codetripper.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codetripper.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codetripper.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codetripper.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codetripper.wordpress.com/112/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=112&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codetripper.wordpress.com/2008/08/14/manic-miner-in-silverlight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48028ebb8183a978b6a6b24ea4297a91?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Stu</media:title>
		</media:content>

		<media:content url="http://www.makiwa.com/wp-content/uploads/2008/08/image-thumb.png" medium="image">
			<media:title type="html">Manic Miner screenshot</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting default browser in Visual Studio</title>
		<link>http://codetripper.wordpress.com/2008/06/21/setting-default-browser-in-visual-studio/</link>
		<comments>http://codetripper.wordpress.com/2008/06/21/setting-default-browser-in-visual-studio/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 14:14:28 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.makiwa.com/index.php/2008/06/21/setting-default-browser-in-visual-studio/</guid>
		<description><![CDATA[When I switched to Firefox 3.0 as my default browser, VS started launching Firefox for debugging. But for some crazy reason I wanted to keep IE as the debug browser. Usually this wouldn&#8217;t be too difficult, except that I&#8217;m using &#8230; <a href="http://codetripper.wordpress.com/2008/06/21/setting-default-browser-in-visual-studio/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=109&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When I switched to Firefox 3.0 as my default browser, VS started launching Firefox for debugging. But for some crazy reason I wanted to keep IE as the debug browser.</p>
<p>Usually this wouldn&#8217;t be too difficult, except that I&#8217;m using ASP.NET MVC, and for some reason the normal method isn&#8217;t available.</p>
<p>The normal method is to select an ASPX file and choose to <strong>Browse With&#8230;</strong></p>
<p><img style="border-width:0;" src="http://www.makiwa.com/wp-content/uploads/2008/06/image.png" border="0" alt="Choose Browse With... on an ASPX" width="332" height="271" /></p>
<p>VS then launches a dialog allowing you to select your default browser.</p>
<p><img style="border-width:0;" src="http://www.makiwa.com/wp-content/uploads/2008/06/image1.png" border="0" alt="Browse With dialog" width="511" height="392" /></p>
<p>However, if you&#8217;re in an ASP.NET MVC project (Preview 3 at the time of writing), the &#8220;Browse With&#8230;&#8221; option isn&#8217;t there. One solution is to open a non-MVC project and do as above.</p>
<p>Another solution is to go directly to the file where VS stores this setting: &#8220;browsers.xml&#8221;. The file is in your user profile, mine was:</p>
<blockquote><p><span style="font-family:Courier New;font-size:x-small;">C:\Users\Stuart\App Data\Local\Microsoft Visual Studio\9.0\browsers.xml</span></p></blockquote>
<p>Open the file in Visual Studio and then press Ctrl-K, Ctrl+D to format the document so that it is readable. Find the browser you want and set the <span>&lt;IsDefault</span><span style="color:blue;">&gt;</span> tag to True. Et voilà! Job done.</p>
<pre class="code"><span style="color:blue;">&lt;?</span><span style="color:#a31515;">xml </span><span style="color:red;">version</span><span style="color:blue;">=</span>"<span style="color:blue;">1.0</span>"<span style="color:blue;">?&gt;
&lt;</span><span style="color:#a31515;">BrowserInfo</span><span style="color:blue;">&gt;
  &lt;</span><span style="color:#a31515;">Browser</span><span style="color:blue;">&gt;
    &lt;</span><span style="color:#a31515;">Name</span><span style="color:blue;">&gt;</span>Internet Explorer<span style="color:blue;">&lt;/</span><span style="color:#a31515;">Name</span><span style="color:blue;">&gt;
    &lt;</span><span style="color:#a31515;">Path</span><span style="color:blue;">&gt;</span>"C:Program FilesInternet Exploreriexplore.exe"<span style="color:blue;">&lt;/</span><span style="color:#a31515;">Path</span><span style="color:blue;">&gt;
    &lt;</span><span style="color:#a31515;">Resolution</span><span style="color:blue;">&gt;</span>0<span style="color:blue;">&lt;/</span><span style="color:#a31515;">Resolution</span><span style="color:blue;">&gt;
    <strong>&lt;</strong></span><strong><span style="color:#a31515;">IsDefault</span><span style="color:blue;">&gt;</span>True<span style="color:blue;">&lt;/</span><span style="color:#a31515;">IsDefault</span></strong><span style="color:blue;"><strong>&gt;</strong>
    &lt;</span><span style="color:#a31515;">DDE</span><span style="color:blue;">&gt;
      &lt;</span><span style="color:#a31515;">Service</span><span style="color:blue;">&gt;</span>IExplore<span style="color:blue;">&lt;/</span><span style="color:#a31515;">Service</span><span style="color:blue;">&gt;
      &lt;</span><span style="color:#a31515;">TopicOpenURL</span><span style="color:blue;">&gt;</span>WWW_OpenURL<span style="color:blue;">&lt;/</span><span style="color:#a31515;">TopicOpenURL</span><span style="color:blue;">&gt;
      &lt;</span><span style="color:#a31515;">ItemOpenURL</span><span style="color:blue;">&gt;</span>"%s",,0xffffffff,3,,,,<span style="color:blue;">&lt;/</span><span style="color:#a31515;">ItemOpenURL</span><span style="color:blue;">&gt;
      &lt;</span><span style="color:#a31515;">TopicActivate</span><span style="color:blue;">&gt;</span>WWW_Activate<span style="color:blue;">&lt;/</span><span style="color:#a31515;">TopicActivate</span><span style="color:blue;">&gt;
      &lt;</span><span style="color:#a31515;">ItemActivate</span><span style="color:blue;">&gt;</span>0xffffffff,0<span style="color:blue;">&lt;/</span><span style="color:#a31515;">ItemActivate</span><span style="color:blue;">&gt;
    &lt;/</span><span style="color:#a31515;">DDE</span><span style="color:blue;">&gt;
  &lt;/</span><span style="color:#a31515;">Browser</span><span style="color:blue;">&gt;
  &lt;</span><span style="color:#a31515;">Browser</span><span style="color:blue;">&gt;
    &lt;</span><span style="color:#a31515;">Name</span><span style="color:blue;">&gt;</span>Firefox<span style="color:blue;">&lt;/</span><span style="color:#a31515;">Name</span><span style="color:blue;">&gt;
    &lt;</span><span style="color:#a31515;">Path</span><span style="color:blue;">&gt;</span>"C:Program FilesMozilla Firefoxfirefox.exe"<span style="color:blue;">&lt;/</span><span style="color:#a31515;">Path</span><span style="color:blue;">&gt;
    &lt;</span><span style="color:#a31515;">Resolution</span><span style="color:blue;">&gt;</span>0<span style="color:blue;">&lt;/</span><span style="color:#a31515;">Resolution</span><span style="color:blue;">&gt;
    &lt;</span><span style="color:#a31515;">IsDefault</span><span style="color:blue;">&gt;</span>False<span style="color:blue;">&lt;/</span><span style="color:#a31515;">IsDefault</span><span style="color:blue;">&gt;
  &lt;/</span><span style="color:#a31515;">Browser</span><span style="color:blue;">&gt;
  &lt;</span><span style="color:#a31515;">InternalBrowser</span><span style="color:blue;">&gt;
    &lt;</span><span style="color:#a31515;">Resolution</span><span style="color:blue;">&gt;</span>0<span style="color:blue;">&lt;/</span><span style="color:#a31515;">Resolution</span><span style="color:blue;">&gt;
    &lt;</span><span style="color:#a31515;">IsDefault</span><span style="color:blue;">&gt;</span>False<span style="color:blue;">&lt;/</span><span style="color:#a31515;">IsDefault</span><span style="color:blue;">&gt;
  &lt;/</span><span style="color:#a31515;">InternalBrowser</span><span style="color:blue;">&gt;
&lt;/</span><span style="color:#a31515;">BrowserInfo</span><span style="color:blue;">&gt;
</span></pre>
<p><a href="http://11011.net/software/vspaste"></a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/codetripper.wordpress.com/109/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/codetripper.wordpress.com/109/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codetripper.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codetripper.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codetripper.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codetripper.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codetripper.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codetripper.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codetripper.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codetripper.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codetripper.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codetripper.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codetripper.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codetripper.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codetripper.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codetripper.wordpress.com/109/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codetripper.wordpress.com&amp;blog=5940742&amp;post=109&amp;subd=codetripper&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codetripper.wordpress.com/2008/06/21/setting-default-browser-in-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48028ebb8183a978b6a6b24ea4297a91?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Stu</media:title>
		</media:content>

		<media:content url="http://www.makiwa.com/wp-content/uploads/2008/06/image.png" medium="image">
			<media:title type="html">Choose Browse With... on an ASPX</media:title>
		</media:content>

		<media:content url="http://www.makiwa.com/wp-content/uploads/2008/06/image1.png" medium="image">
			<media:title type="html">Browse With dialog</media:title>
		</media:content>
	</item>
	</channel>
</rss>
