<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jamie Dixon</title>
	<atom:link href="http://www.jamie-dixon.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jamie-dixon.co.uk</link>
	<description>Web Developer, Software Engineer and Mixed Language Artist</description>
	<lastBuildDate>Fri, 30 Apr 2010 15:16:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Visual Studio &#8211; Lost nesting of codebehind</title>
		<link>http://www.jamie-dixon.co.uk/visual-studio/visual-studio-lost-nesting-of-codebehind/</link>
		<comments>http://www.jamie-dixon.co.uk/visual-studio/visual-studio-lost-nesting-of-codebehind/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 15:13:47 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[csproj]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.jamie-dixon.co.uk/?p=219</guid>
		<description><![CDATA[We&#8217;ve all had times when we&#8217;ve created an ASP.NET webpage and then a new page is required with almost identical functionality.
I had that task today and so making things simple I copied the current files, pasted them and made the necessary changes to hook the designer and code-behind files to the aspx page.
This works perfectly. [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve all had times when we&#8217;ve created an ASP.NET webpage and then a new page is required with almost identical functionality.</p>
<p>I had that task today and so making things simple I copied the current files, pasted them and made the necessary changes to hook the designer and code-behind files to the aspx page.</p>
<p>This works perfectly. The code builds, the page runs, everything happens as I expected it to.</p>
<p>Then I noticed a little quirk in Visual Studio 2008. One of the great features of Visual Studio is the way in which it visually nests code-behind files in the Solution Explorer under your aspx file.</p>
<p>After making a copy of my origional page I noticed that my code-behind was left astray. I checked all the references to make sure everything was hooked up correctly but still, my code-behind wasn&#8217;t nesting nicely under my aspx page as usual.</p>
<p>Now I&#8217;m sure many people have come across this problem before however this was a first for me.</p>
<p>It turns out that the references are stores in the csproj file. There is a reference to the code-behind file and a list of dependancies. By default, when doing a copy/paste of files outside of Visual Studio, this reference is not updated and the code-behind file doesn&#8217;t attach itself to the aspx file in the Solution Explorer.</p>
<p>The solution is to simply add a reference to the dependant aspx fie in the csproj file like so:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p219code2'); return false;">View Code</a> XML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2192"><td class="code" id="p219code2"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Compile</span> <span style="color: #000066;">Include</span>=<span style="color: #ff0000;">&quot;myShinyNewFile.aspx.cs&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;DependentUpon<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>myShinyNewFile.aspx<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/DependentUpon<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;SubType<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>ASPXCodeBehind<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/SubType<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Compile<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>Once you&#8217;ve added the second line into the csproj file, restarting visual studio brings back the much loved nesting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamie-dixon.co.uk/visual-studio/visual-studio-lost-nesting-of-codebehind/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading EPiServer to version 6</title>
		<link>http://www.jamie-dixon.co.uk/episerver/upgrading-episerver-to-version-6/</link>
		<comments>http://www.jamie-dixon.co.uk/episerver/upgrading-episerver-to-version-6/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 13:56:22 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[EPiServer]]></category>

		<guid isPermaLink="false">http://www.jamie-dixon.co.uk/?p=214</guid>
		<description><![CDATA[With the new EPiServer 6 now available to the masses, upgrading current EPiServer sites is something we&#8217;ve all been looking forward to.
I was tasked this week with upgrading a pretty large website we&#8217;ve current got in EPiServer 5.2.375.236.
There&#8217;s a nice little upgrade utility that comes with the EPiServer Deployment Center and this was my first [...]]]></description>
			<content:encoded><![CDATA[<p>With the new EPiServer 6 now available to the masses, upgrading current EPiServer sites is something we&#8217;ve all been looking forward to.</p>
<p>I was tasked this week with upgrading a pretty large website we&#8217;ve current got in EPiServer 5.2.375.236.</p>
<p>There&#8217;s a nice little upgrade utility that comes with the EPiServer Deployment Center and this was my first port of call. I knew there&#8217;d be more to it than simply using the upgrade wizard however this handy utility did the majority of the work.</p>
<p>I then headed over to the EPiServer CMS folder on my local machine to grab the required DLLs from the &#8220;6.0.530.0&#8243; folder, dropped these into my websites DLL folder and updated all my references in Visual Studio. Bingo! Right? Well almost.</p>
<p>After running the project for the first time I came across the following error message:</p>
<blockquote><p>Cannot resolve dependencies for the following module(s)<br />
EPiServer.Cms.Shell.UI.InitializableModule<br />
EPiServer.Cms.Shell.UI.InitializableModule<br />
EPiServer.Web.InitializationModule<br />
EPiServer.Web.InitializationModule</p></blockquote>
<p>The error is quite clear and I knew that some dependancies were missing, I just didn&#8217;t know which ones.</p>
<p>After some digging around and much testing, it turns out that not all of the required DLLs are present in the &#8220;6.0.530.0&#8243; folder (C:\Program Files\EPiServer\CMS\6.0.530.0 &#8211; on my machine).</p>
<p>Doing a quick *.dll search in the CMS folder I found a zip file containing a full EPiServer project with a complete bin folder (C:\Program Files\EPiServer\CMS\6.0.530.0\VSTemplates\EPiServerProject.zip &#8211; on my machine).</p>
<p>This bin folder contains 35 dlls where as the &#8220;6.0.530.0/bin&#8221; folder only contains 26 dlls.</p>
<p>Copying all of these new dlls to my DLLs folder, updating my references in Visual Studio once more and running the project now works as expected <img src='http://www.jamie-dixon.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>EPiServer 6 is looking really slick and the admin panel has improved hugely.</p>
<p>I&#8217;m hoping that this post will be of help to all EPiServer developers finding they have the same problem. Having searched Google for a good couple of hours yielding no helpful results on this one, I hope this post will be of much help.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamie-dixon.co.uk/episerver/upgrading-episerver-to-version-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Global Resource strings by property</title>
		<link>http://www.jamie-dixon.co.uk/concepts/global-resource-strings-by-property/</link>
		<comments>http://www.jamie-dixon.co.uk/concepts/global-resource-strings-by-property/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 15:10:44 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[concepts]]></category>
		<category><![CDATA[App_GlobalResources]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[resources]]></category>

		<guid isPermaLink="false">http://www.jamie-dixon.co.uk/?p=208</guid>
		<description><![CDATA[Every now and then I come across a bunch of string literals littered through out some code and begin the task of moving them out into their own resource file (.resx).
Gaining access to these strings from C# is pretty easy however I&#8217;m yet to find anywhere explaining it the way I find simplest.
Assuming your resx [...]]]></description>
			<content:encoded><![CDATA[<p>Every now and then I come across a bunch of string literals littered through out some code and begin the task of moving them out into their own resource file (.resx).</p>
<p>Gaining access to these strings from C# is pretty easy however I&#8217;m yet to find anywhere explaining it the way I find simplest.</p>
<p>Assuming your resx file is stored in the App_GlobalResources folder, you can basically assign your resource file to a variable in your C# using the following syntax:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p208code5'); return false;">View Code</a> CSHARP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2085"><td class="code" id="p208code5"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">using</span> <span style="color: #008080;">Res </span><span style="color: #008000;">=</span> Resources<span style="color: #008000;">.</span><span style="color: #0000FF;">MyResourceFile</span></pre></td></tr></table></div>

<p>This then gives you the ability to referene the contents of the resource file as properties in your code.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p208code6'); return false;">View Code</a> CSHARP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2086"><td class="code" id="p208code6"><pre class="csharp" style="font-family:monospace;"><span style="color: #6666cc; font-weight: bold;">string</span> x <span style="color: #008000;">=</span> Res<span style="color: #008000;">.</span><span style="color: #0000FF;">OneOfMyStringNames</span><span style="color: #008000;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.jamie-dixon.co.uk/concepts/global-resource-strings-by-property/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stork &#8211; New Website is launched</title>
		<link>http://www.jamie-dixon.co.uk/daily-blog/stork-new-website-is-launched/</link>
		<comments>http://www.jamie-dixon.co.uk/daily-blog/stork-new-website-is-launched/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 11:32:38 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Daily Blog]]></category>

		<guid isPermaLink="false">http://www.jamie-dixon.co.uk/?p=203</guid>
		<description><![CDATA[
I received a lovely email this morning thanking me for my input and hard work on the development of the new Stork website.
&#8220;The brand is 90 years old this year and as part of the birthday celebrations we wanted to create a site which the new generation of bakers, inspired by the likes of Jamie [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-204 alignnone" title="stork" src="http://www.jamie-dixon.co.uk/wp-content/uploads/2010/04/stork.jpg" style="border:none" alt="" width="569" height="145" /></p>
<p>I received a lovely email this morning thanking me for my input and hard work on the development of the new Stork website.</p>
<blockquote><p>&#8220;The brand is 90 years old this year and as part of the birthday celebrations we wanted to create a site which the new generation of bakers, inspired by the likes of Jamie Oliver and Nigella, could engage with and use as hub of knowledge for all things cake.&#8221;</p></blockquote>
<p>You can visit the site at <a href="http://www.bakewithstork.co.uk" target="_blank">www.bakewithstork.co.uk</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamie-dixon.co.uk/daily-blog/stork-new-website-is-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EpiServer &#8211; Page List Sort by Creation Date</title>
		<link>http://www.jamie-dixon.co.uk/episerver/episerver-page-list-sort-by-creation-date/</link>
		<comments>http://www.jamie-dixon.co.uk/episerver/episerver-page-list-sort-by-creation-date/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 11:37:07 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[EPiServer]]></category>

		<guid isPermaLink="false">http://www.jamie-dixon.co.uk/?p=197</guid>
		<description><![CDATA[I had the delightful task today of sorting an EPiServer PageList control by creation date.
The EPiServer documentation was of little help except in pointing out the SortOrder property. After some more searching around, I found that this property can be populated by the EPiServer.Filters.FilterSortOrder enum.
Here&#8217;s a quick example:

?View Code CSHARPepiPageList.SortOrder = EPiServer.Filters.FilterSortOrder.CreatedAscending;
epiPageList.DataBind&#40;&#41;;

Here&#8217;s the full list [...]]]></description>
			<content:encoded><![CDATA[<p>I had the delightful task today of sorting an EPiServer PageList control by creation date.</p>
<p>The EPiServer documentation was of little help except in pointing out the SortOrder property. After some more searching around, I found that this property can be populated by the EPiServer.Filters.FilterSortOrder enum.</p>
<p>Here&#8217;s a quick example:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p197code9'); return false;">View Code</a> CSHARP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1979"><td class="code" id="p197code9"><pre class="csharp" style="font-family:monospace;">epiPageList<span style="color: #008000;">.</span><span style="color: #0000FF;">SortOrder</span> <span style="color: #008000;">=</span> EPiServer<span style="color: #008000;">.</span><span style="color: #0000FF;">Filters</span><span style="color: #008000;">.</span><span style="color: #0000FF;">FilterSortOrder</span><span style="color: #008000;">.</span><span style="color: #0000FF;">CreatedAscending</span><span style="color: #008000;">;</span>
epiPageList<span style="color: #008000;">.</span><span style="color: #0000FF;">DataBind</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span></pre></td></tr></table></div>

<p>Here&#8217;s the full list of enum options available for sorting by SortOrder:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p197code10'); return false;">View Code</a> CSHARP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p19710"><td class="code" id="p197code10"><pre class="csharp" style="font-family:monospace;">EPiServer<span style="color: #008000;">.</span><span style="color: #0000FF;">Filters</span><span style="color: #008000;">.</span><span style="color: #0000FF;">FilterSortOrder</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Alphabetical</span>
EPiServer<span style="color: #008000;">.</span><span style="color: #0000FF;">Filters</span><span style="color: #008000;">.</span><span style="color: #0000FF;">FilterSortOrder</span><span style="color: #008000;">.</span><span style="color: #0000FF;">ChangedDescending</span>
EPiServer<span style="color: #008000;">.</span><span style="color: #0000FF;">Filters</span><span style="color: #008000;">.</span><span style="color: #0000FF;">FilterSortOrder</span><span style="color: #008000;">.</span><span style="color: #0000FF;">CreatedAscending</span>
EPiServer<span style="color: #008000;">.</span><span style="color: #0000FF;">Filters</span><span style="color: #008000;">.</span><span style="color: #0000FF;">FilterSortOrder</span><span style="color: #008000;">.</span><span style="color: #0000FF;">CreatedDescending</span>
EPiServer<span style="color: #008000;">.</span><span style="color: #0000FF;">Filters</span><span style="color: #008000;">.</span><span style="color: #0000FF;">FilterSortOrder</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Index</span>
EPiServer<span style="color: #008000;">.</span><span style="color: #0000FF;">Filters</span><span style="color: #008000;">.</span><span style="color: #0000FF;">FilterSortOrder</span><span style="color: #008000;">.</span><span style="color: #0000FF;">None</span>
EPiServer<span style="color: #008000;">.</span><span style="color: #0000FF;">Filters</span><span style="color: #008000;">.</span><span style="color: #0000FF;">FilterSortOrder</span><span style="color: #008000;">.</span><span style="color: #0000FF;">PublishedAscending</span>
EPiServer<span style="color: #008000;">.</span><span style="color: #0000FF;">Filters</span><span style="color: #008000;">.</span><span style="color: #0000FF;">FilterSortOrder</span><span style="color: #008000;">.</span><span style="color: #0000FF;">PublishedDescending</span>
EPiServer<span style="color: #008000;">.</span><span style="color: #0000FF;">Filters</span><span style="color: #008000;">.</span><span style="color: #0000FF;">FilterSortOrder</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Rank</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.jamie-dixon.co.uk/episerver/episerver-page-list-sort-by-creation-date/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EPiServer &#8211; Unpublished page custom properties</title>
		<link>http://www.jamie-dixon.co.uk/episerver/episerver-unpublished-page-custom-properties/</link>
		<comments>http://www.jamie-dixon.co.uk/episerver/episerver-unpublished-page-custom-properties/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 16:33:49 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[EPiServer]]></category>

		<guid isPermaLink="false">http://www.jamie-dixon.co.uk/?p=177</guid>
		<description><![CDATA[One of the things I recently discovered about our EPiServer configuration is that quite often we have pages associated with our current page, that haven&#8217;t yet been published.
An example of this is when we have a Press Release and other associated press releases that show up in a side bar.
For live, this is fine because [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things I recently discovered about our EPiServer configuration is that quite often we have pages associated with our current page, that haven&#8217;t yet been published.</p>
<p>An example of this is when we have a Press Release and other associated press releases that show up in a side bar.</p>
<p>For live, this is fine because we don&#8217;t want unpublished items showing up in the list however in edit mode, our content team need to see that the items they&#8217;ve associated, work as expected.</p>
<p>The error that we&#8217;ve encountered is in edit mode, for each associated press release, if the press release was unpublished we weren&#8217;t getting the custom properties for that page (in code), even though the rest of the page object was as expected.</p>
<p>The reason for this is that EPiServer only seems to bring back the custom properties for pages that have been published.</p>
<p>So how do we go about obtaining a full page object for pages which are yet to be published?</p>
<p>This is how we did it:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p177code12'); return false;">View Code</a> CSHARP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p17712"><td class="code" id="p177code12"><pre class="csharp" style="font-family:monospace;"><span style="color: #008080; font-style: italic;">// If the page is not yet published.</span>
<span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>page<span style="color: #008000;">.</span><span style="color: #0000FF;">PendingPublish</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
    <span style="color: #008080; font-style: italic;">// Check if we're in edit mode</span>
    SystemPageBase basePage <span style="color: #008000;">=</span> Page <span style="color: #0600FF; font-weight: bold;">as</span> SystemPageBase<span style="color: #008000;">;</span>
    <span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>basePage <span style="color: #008000;">!=</span> <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span>
    <span style="color: #008000;">&#123;</span>
         PageReference reference <span style="color: #008000;">=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span style="color: #008000;">new</span></a> PageReference<span style="color: #008000;">&#40;</span>pageId<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
         <span style="color: #008080; font-style: italic;">// Get the individual Master Language Branch based on the reference above.</span>
         PageVersion pageVersion <span style="color: #008000;">=</span>  PageVersion<span style="color: #008000;">.</span><span style="color: #0000FF;">List</span><span style="color: #008000;">&#40;</span>reference<span style="color: #008000;">&#41;</span>
                         <span style="color: #008000;">.</span><span style="color: #0600FF; font-weight: bold;">Where</span><span style="color: #008000;">&#40;</span>m <span style="color: #008000;">=&amp;</span>gt<span style="color: #008000;">;</span> m<span style="color: #008000;">.</span><span style="color: #0000FF;">IsMasterLanguageBranch</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">FirstOrDefault</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
         <span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>pageVersion <span style="color: #008000;">!=</span> <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span>
         <span style="color: #008000;">&#123;</span>
              page <span style="color: #008000;">=</span> DataFactory<span style="color: #008000;">.</span><span style="color: #0000FF;">Instance</span><span style="color: #008000;">.</span><span style="color: #0000FF;">GetPage</span><span style="color: #008000;">&#40;</span>pageVersion<span style="color: #008000;">.</span><span style="color: #0000FF;">ID</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
         <span style="color: #008000;">&#125;</span>
    <span style="color: #008000;">&#125;</span>
<span style="color: #008000;">&#125;</span></pre></td></tr></table></div>

<p>As a side-note, this also alerted us to the fact that page IDs in EPiServer are not always of type Int32. Usually when an Id comes back from EPiServer we can parse it as an int however the IDs that come back from page versions, actually include an underscore (i.e. they&#8217;re strings).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamie-dixon.co.uk/episerver/episerver-unpublished-page-custom-properties/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mmm&#8230;Mattessons</title>
		<link>http://www.jamie-dixon.co.uk/daily-blog/mmm-mattessons/</link>
		<comments>http://www.jamie-dixon.co.uk/daily-blog/mmm-mattessons/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 09:16:07 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Daily Blog]]></category>

		<guid isPermaLink="false">http://www.jamie-dixon.co.uk/?p=153</guid>
		<description><![CDATA[
Today is the day&#8230; Two fast (and sausages filled) weeks later and we&#8217;re ready for the launch of the new Mattessons website.
Our deadline for this project was determined by a new TV ad that&#8217;s coming out today and so the flexibility in timings was somewhat limited.
We decided to use Wordpress for this project which means [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-169" style="border: none;" title="mattessons" src="http://www.jamie-dixon.co.uk/wp-content/uploads/2010/03/mattessons1.jpg" alt="Mattessons" /></p>
<p>Today is the day&#8230; Two fast (and sausages filled) weeks later and we&#8217;re ready for the launch of the new <a href="http://www.mattessons.co.uk/">Mattessons website</a>.</p>
<p>Our deadline for this project was determined by a <a href="http://www.mattessons.co.uk/?page_id=845" target="_blank">new TV ad</a> that&#8217;s coming out today and so the flexibility in timings was somewhat limited.</p>
<p>We decided to use Wordpress for this project which means this is also my first commercial project on the <abbr title="Windows, Apache, MySQL, PHP">WAMP</abbr> stack. The decision to go with Wordpress was based on a few different criteria, the first being&#8230;time.</p>
<p>Anyone who&#8217;s been working with Wordpress for any period of time will know how fast it can be to get a site up and running in no time at all. The time investment comes when you&#8217;re developing a complete custom template&#8230;enter Mattessons!</p>
<p>As the lead developer on the Mattessons project I had to make some calls as to what amount of content management we were going to be offering to our client. The more they were able to manage, the longer it&#8217;d take in the development process. My decisions mostly revolved around the idea of &#8220;Lets do what we can to give them control over all content items&#8221;.</p>
<p>We did this by employing some nice use of custom fields, the creation of a very basic custom markup language for inserting custom property values into page copy and by creating a system where pages themselves can be pulled into other pages and displayed as promos/previews.</p>
<p>You&#8217;ll notice on the <a href="http://www.mattessons.co.uk/" target="_blank">homepage of the new website</a> that there are currently two promos being displayed. These promos are pages in themselves, just as are the products in the <a href="http://www.mattessons.co.uk/?page_id=57" target="_blank">Our Range </a>section and the footer items.</p>
<p>Wordpress makes it really easy to get information about the current page and it&#8217;s child pages which enabled us to create a basic yet powerful hierarchy of products and product ranges. We&#8217;re also using a <a href="http://www.microkid.net/wordpress/related-posts/" target="_blank">great plugin</a> for relating pages to one another in a more lateral way. This again is being used in a slightly different way than standard by pulling out information on related pages and then obtaining those page details through the standard Wordpress API.</p>
<p>All-in-all this has been a really fun project to work on. It&#8217;s been fast paced with a quick turn around and it&#8217;s been a joy working with a talented team of managers, designers, QAs and front end developers.</p>
<p>What can I say&#8230; &#8220;It&#8217;s a Primal Thing&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamie-dixon.co.uk/daily-blog/mmm-mattessons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>1000 Reputation on StackOverflow</title>
		<link>http://www.jamie-dixon.co.uk/daily-blog/1000-reputation-on-stackoverflow/</link>
		<comments>http://www.jamie-dixon.co.uk/daily-blog/1000-reputation-on-stackoverflow/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 09:37:45 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Daily Blog]]></category>

		<guid isPermaLink="false">http://www.jamie-dixon.co.uk/?p=140</guid>
		<description><![CDATA[Today I hit the 1000 reputation points mark on StackOverflow.
Reputation points are given by other users of StackOverflow for giving good answers to other peoples questions and for asking good questions yourself.
I&#8217;m a big fan of peer review and reaching the 1000 reputation points mark is a real milestone in my own quest to help [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-141" title="logo" src="http://www.jamie-dixon.co.uk/wp-content/uploads/2009/12/logo.png" alt="logo" width="250" height="61" style="border:none;margin:3px;" />Today I hit the <a href="http://stackoverflow.com/users/90678/jamie-dixon">1000 reputation</a> points mark on <a href="http://stackoverflow.com">StackOverflow</a>.</p>
<p>Reputation points are given by other users of StackOverflow for giving good answers to other peoples questions and for asking good questions yourself.</p>
<p>I&#8217;m a big fan of peer review and reaching the 1000 reputation points mark is a real milestone in my own quest to help other programmers and to ask good questions.</p>
<p>Here&#8217;s to the next 1000 !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamie-dixon.co.uk/daily-blog/1000-reputation-on-stackoverflow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shower? That&#8217;ll be £30 please!</title>
		<link>http://www.jamie-dixon.co.uk/daily-blog/shower-thatll-be-30-please/</link>
		<comments>http://www.jamie-dixon.co.uk/daily-blog/shower-thatll-be-30-please/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 09:18:43 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Daily Blog]]></category>

		<guid isPermaLink="false">http://www.jamie-dixon.co.uk/?p=130</guid>
		<description><![CDATA[When was the last time you paid your hard earned money to take a shower? (do we even call it &#8216;taking&#8217; a shower in this country? Should I say &#8216;have&#8217; a shower?)

The journey to and from work has been part and parcel of working away from home since the beginning of mankind.
Ever since my second [...]]]></description>
			<content:encoded><![CDATA[<p>When was the last time you paid your hard earned money to take a shower? (do we even call it &#8216;taking&#8217; a shower in this country? Should I say &#8216;have&#8217; a shower?)</p>
<p><img class="size-full wp-image-133 alignnone" style="border:none;" title="CYCLING-CARTOON-MED" src="http://www.jamie-dixon.co.uk/wp-content/uploads/2009/09/CYCLING-CARTOON-MED.jpg" alt="CYCLING-CARTOON-MED" width="400" height="173" /></p>
<p>The journey to and from work has been part and parcel of working away from home since the beginning of mankind.</p>
<p>Ever since my second real job, I&#8217;ve taken either public transport or driven. I think there comes a time in every persons life when they realise they&#8217;re not quite as fit as they&#8217;d like to be and for me, that time is now.</p>
<p>As a result of this I made a decision to start cycling to work. Boris would be proud!</p>
<p>I set out and bought myself a new bicycle, helmet, bike lock, new snap proof pedals (since the plastic ones on the bike snapped off after I &#8216;tested&#8217; the bike at the weekend) and various bits and bobs including a pump and mudguard (this got very expensive, very quickly!).</p>
<p>My route to work takes me through some lovely parts of London including Putney, Wimbledon, and across the River Thames over a distance of 8.9 miles.</p>
<p>18 miles a day, that&#8217;s bound to help increase my fitness and keep the old endorphins flowing. <em>Right</em>?</p>
<p>The only problem is, there are no showering facilities at work! I hear your cries, agast with the anguish of having to sit at work all day smelling like a 4 day dead hedgehog lying by the side of a summers road during a heat wave. So what&#8217;s a guy to do?</p>
<p>My first thought was that a quick wash in the sink would suffice. This may indeed be the answer and I&#8217;ve certainly not ruled it out.</p>
<p>I had this conversation with another potential cyclist at work and I presented my ideas of the sink wash to an unenthusiastic &#8220;yeah, you could do that, I guess&#8221;.</p>
<p>My second idea involved scouting out other local businesses and finding one with showering facilities. I figured I could just walk into an office each day, greet them with the usual <em>&#8220;Good morning, nice to see you again, love what you&#8217;ve done with your hair today&#8221;</em>, and proceed to shower and scoot.</p>
<p>It was at this point I was presented with a third option by my new cycling friend. <em>&#8220;Why don&#8217;t we join the gym over the road so we can use their showers? It&#8217;s only £30 a month so you&#8217;d only have to cycle 10 days each month to have earned that back in saved transport costs.&#8221;</em></p>
<p>I like the idea of being able to have a nice warm shower each morning after a lengthy ride to work, but £30 a month to shower? That seems just a little backwards to me.</p>
<p>Instantly I responded with <em>&#8220;What a great idea! Do you think we can convince them to let us just use the showers for free?&#8221;</em>. Those who know me wont be surprised that this was my initial reaction. <em>&#8220;Payment you say? How about a lifetimes free trial? yes? yes?&#8221;</em>.</p>
<p>Usually when I sugest anything that involves negotiating or being a bit cheeky I&#8217;m met with groans and smug looks that sugest <em>&#8220;You sunny, don&#8217;t know the system like the rest of us do, such innocence&#8221;</em>. Yes, indeed.</p>
<p>So what would you do in this situation? Would you pay £30 a month to shower? Try to negotiate a fair rate to use the gym&#8217;s showers in the morning? Infiltrate other local businesses? or go for the old strip wash in the sink?</p>
<p>Answers on a postcard&#8230;(By &#8216;answers&#8217; I mean comments and by &#8216;postcard&#8217; i mean in the little box below).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamie-dixon.co.uk/daily-blog/shower-thatll-be-30-please/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>A new project begins &#8211; StatPro</title>
		<link>http://www.jamie-dixon.co.uk/daily-blog/a-new-project-begins-statpro/</link>
		<comments>http://www.jamie-dixon.co.uk/daily-blog/a-new-project-begins-statpro/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 18:16:09 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[Daily Blog]]></category>
		<category><![CDATA[job]]></category>
		<category><![CDATA[statpro]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.jamie-dixon.co.uk/?p=111</guid>
		<description><![CDATA[
Good news! Good for me anyway. During my recent search for a new project and team to work with, I&#8217;ve been invited to join the team at StatPro in Wimbledon, working as their SaaS Web Developer.
The role looks very interesting and I&#8217;ve been told I&#8217;ll be working on a new greenfield project using ASP.NET MVC [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-112" style="margin:5px;border:none;" title="Stat Pro" src="http://www.jamie-dixon.co.uk/wp-content/uploads/2009/08/statproanalytics.gif" alt="Stat Pro" width="202" height="54" /></p>
<p style="text-align: left;">Good news! Good for me anyway. During my recent search for a new project and team to work with, I&#8217;ve been invited to join the team at StatPro in Wimbledon, working as their <acronym title="Software as a service">SaaS</acronym> Web Developer.</p>
<p style="text-align: left;">The role looks very interesting and I&#8217;ve been told I&#8217;ll be working on a new greenfield project using ASP.NET MVC (C# 3.5+).</p>
<p style="text-align: left;">Here&#8217;s a little bit about StatPro from their website:</p>
<blockquote><p>StatPro is a leading provider of portfolio analytics and data solutions for the global asset management industry. Having grown from a one-product company StatPro now offers our clients eight core products including data and enterprise reporting solutions. This range of products enables StatPro to provide a unique integrated product offering with a strong competitive advantage.</p></blockquote>
<p>One of the most important things to me in any company I work with is their passion and desire to firstly, allow the business and it&#8217;s staff run in an adaptive and progressive manner, and secondly for them to embrace new technologies as they arise.</p>
<p>StatPro are one of the first companies I&#8217;ve seen to be commercially utilising ASP.NET MVC and as someone passionate about new technology and innovation, this really hits my hot buttons. The company have also embraced many of the agile processes and are actively bringing in more Unit Testing and TDD methodologies. Working in iterative cycles also ticks at least one of the boxes and having worked this way before, it comes as a real pleasure to be involved with a company who know what works well.</p>
<p>Finding out what works from both the companies perspective (what value is offered to the business) and also the staff&#8217;s perspective (what can I realistically achieve in any given period of time) is a great place to start from and keeps the whole inner workings of the development and business processes transparent.</p>
<p>Throughout my time at StatPro I&#8217;ll be blogging about my continued learning&#8217;s of ASP.NET MVC, C# 3.5, Web Development and general musings into the life of the nine-to-five  London worker.</p>
<p>Luckily I&#8217;ll be able to cycle to work from now on and avoid the tube which will be a nice change and might even help get me back to being fit once again. Hey, who knows, perhaps soon I&#8217;ll be blogging about keeping trim and attending lunch time yoga classes (It&#8217;s a nice idea huh? :p ).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamie-dixon.co.uk/daily-blog/a-new-project-begins-statpro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
