<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Richard Dingwall</title>
	<atom:link href="http://richarddingwall.name/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://richarddingwall.name</link>
	<description>The adventures of a young kiwi software developer in London</description>
	<lastBuildDate>Mon, 21 May 2012 14:03:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on Syntax for renaming a foreign key with sp_rename by Andrew Jackson</title>
		<link>http://richarddingwall.name/2009/10/22/syntax-for-renaming-a-foreign-key-with-sp_rename/comment-page-1/#comment-69931</link>
		<dc:creator>Andrew Jackson</dc:creator>
		<pubDate>Mon, 21 May 2012 14:03:27 +0000</pubDate>
		<guid isPermaLink="false">http://richarddingwall.name/?p=2353#comment-69931</guid>
		<description>BTW - The same goes for Default Values.</description>
		<content:encoded><![CDATA[<p>BTW &#8211; The same goes for Default Values.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Syntax for renaming a foreign key with sp_rename by Andrew Jackson</title>
		<link>http://richarddingwall.name/2009/10/22/syntax-for-renaming-a-foreign-key-with-sp_rename/comment-page-1/#comment-69924</link>
		<dc:creator>Andrew Jackson</dc:creator>
		<pubDate>Mon, 21 May 2012 13:51:27 +0000</pubDate>
		<guid isPermaLink="false">http://richarddingwall.name/?p=2353#comment-69924</guid>
		<description>Thanks Richard, I&#039;ve also been struggling with this.</description>
		<content:encoded><![CDATA[<p>Thanks Richard, I&#8217;ve also been struggling with this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Three common ASP.NET MVC URL routing issues by Richard</title>
		<link>http://richarddingwall.name/2008/08/09/three-common-aspnet-mvc-url-routing-issues/comment-page-1/#comment-68067</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Thu, 10 May 2012 16:20:46 +0000</pubDate>
		<guid isPermaLink="false">http://richarddingwall.name/?p=92#comment-68067</guid>
		<description>@Bill: not sure either. Have you tried the &lt;a href=&quot;http://haacked.com/archive/2011/04/12/routedebugger-2.aspx&quot; rel=&quot;nofollow&quot;&gt;ASP.NET MVC Route Debugger&lt;/a&gt;?</description>
		<content:encoded><![CDATA[<p>@Bill: not sure either. Have you tried the <a href="http://haacked.com/archive/2011/04/12/routedebugger-2.aspx" rel="nofollow">ASP.NET MVC Route Debugger</a>?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Three common ASP.NET MVC URL routing issues by Bill</title>
		<link>http://richarddingwall.name/2008/08/09/three-common-aspnet-mvc-url-routing-issues/comment-page-1/#comment-67933</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Wed, 09 May 2012 21:43:07 +0000</pubDate>
		<guid isPermaLink="false">http://richarddingwall.name/?p=92#comment-67933</guid>
		<description>Hi.  I&#039;m absolutely baffled.  As I understand the above, my code should be working.  I have a mixed app.  A calendar is served via MVC, but I have standard pages as well.  If I go to directly to my pages URL (ie.  domain/Default.aspx), the pages load and work correctly.  If not, my MVC calendar is always loaded.  That is, my Default.aspx page no longer loads by default.  If I remove Global.asax and Global.asax.cs from my code, my Default.aspx page loads normally (but, of course, the MVC stops working).

I have the following in my Global.asax.cs page:

        public static void RegisterRoutes(RouteCollection routes)
        {
            routes.IgnoreRoute(&quot;{resource}.axd/{*pathInfo}&quot;); 
            routes.IgnoreRoute(&quot;{resource}.aspx/{*pathInfo}&quot;);
            routes.IgnoreRoute(&quot;{resource}.aspx&quot;);

            routes.MapPageRoute(&quot;&quot;, &quot;{*anything}&quot;, &quot;/pages/Main.aspx&quot;);

            routes.MapRoute(
                &quot;Calendar&quot;, // Route name
                &quot;Calendar/{controller}/{action}/{id}&quot;, // URL with parameters
                new { controller = &quot;Calendar&quot;, action = &quot;Index&quot;, id = UrlParameter.Optional } // Parameter defaults
            );

        }

        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();            
            RegisterRoutes(RouteTable.Routes);
        }

Any idea why &quot;Default.aspx&quot; won&#039;t load by default when someone goes to my URL?

Thank you.</description>
		<content:encoded><![CDATA[<p>Hi.  I&#8217;m absolutely baffled.  As I understand the above, my code should be working.  I have a mixed app.  A calendar is served via MVC, but I have standard pages as well.  If I go to directly to my pages URL (ie.  domain/Default.aspx), the pages load and work correctly.  If not, my MVC calendar is always loaded.  That is, my Default.aspx page no longer loads by default.  If I remove Global.asax and Global.asax.cs from my code, my Default.aspx page loads normally (but, of course, the MVC stops working).</p>
<p>I have the following in my Global.asax.cs page:</p>
<p>        public static void RegisterRoutes(RouteCollection routes)<br />
        {<br />
            routes.IgnoreRoute(&#8220;{resource}.axd/{*pathInfo}&#8221;);<br />
            routes.IgnoreRoute(&#8220;{resource}.aspx/{*pathInfo}&#8221;);<br />
            routes.IgnoreRoute(&#8220;{resource}.aspx&#8221;);</p>
<p>            routes.MapPageRoute(&#8220;&#8221;, &#8220;{*anything}&#8221;, &#8220;/pages/Main.aspx&#8221;);</p>
<p>            routes.MapRoute(<br />
                &#8220;Calendar&#8221;, // Route name<br />
                &#8220;Calendar/{controller}/{action}/{id}&#8221;, // URL with parameters<br />
                new { controller = &#8220;Calendar&#8221;, action = &#8220;Index&#8221;, id = UrlParameter.Optional } // Parameter defaults<br />
            );</p>
<p>        }</p>
<p>        protected void Application_Start()<br />
        {<br />
            AreaRegistration.RegisterAllAreas();<br />
            RegisterRoutes(RouteTable.Routes);<br />
        }</p>
<p>Any idea why &#8220;Default.aspx&#8221; won&#8217;t load by default when someone goes to my URL?</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Returning camelCase JSON from ASP.NET Web API by deef</title>
		<link>http://richarddingwall.name/2012/03/10/returning-camelcase-json-from-asp-net-web-api/comment-page-1/#comment-67925</link>
		<dc:creator>deef</dc:creator>
		<pubDate>Wed, 09 May 2012 20:25:29 +0000</pubDate>
		<guid isPermaLink="false">http://richarddingwall.name/?p=4768#comment-67925</guid>
		<description>Would be great if we could do this for regular mvc, but...
JsonResult uses JavaScriptSerializer directly in MVC3.
Don&#039;t know if MVC4 allows us to change implementation.</description>
		<content:encoded><![CDATA[<p>Would be great if we could do this for regular mvc, but&#8230;<br />
JsonResult uses JavaScriptSerializer directly in MVC3.<br />
Don&#8217;t know if MVC4 allows us to change implementation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Parallel vs serial javascript async tests by Richard</title>
		<link>http://richarddingwall.name/2012/04/28/parallel-vs-serial-javascript-async-tests/comment-page-1/#comment-66903</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Wed, 02 May 2012 19:02:55 +0000</pubDate>
		<guid isPermaLink="false">http://richarddingwall.name/?p=4904#comment-66903</guid>
		<description>@Daniel: QUnit is very solid but a bit simple - I was outgrowing it with too many tests that needed to be put in some bigger hierarchy. Plus I wanted something a bit more BDD-ish. I am now using Jasmine (my preferred) for unit tests, and Mocha for full app integration tests (where I hit this parallel issue).</description>
		<content:encoded><![CDATA[<p>@Daniel: QUnit is very solid but a bit simple &#8211; I was outgrowing it with too many tests that needed to be put in some bigger hierarchy. Plus I wanted something a bit more BDD-ish. I am now using Jasmine (my preferred) for unit tests, and Mocha for full app integration tests (where I hit this parallel issue).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Parallel vs serial javascript async tests by Daniel</title>
		<link>http://richarddingwall.name/2012/04/28/parallel-vs-serial-javascript-async-tests/comment-page-1/#comment-66897</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 02 May 2012 17:26:21 +0000</pubDate>
		<guid isPermaLink="false">http://richarddingwall.name/?p=4904#comment-66897</guid>
		<description>What was the reason for QUnit &gt; anything else switch?</description>
		<content:encoded><![CDATA[<p>What was the reason for QUnit &gt; anything else switch?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Recording the git commit hash in your assembly with TeamCity by Richard</title>
		<link>http://richarddingwall.name/2012/04/30/recording-the-git-commit-hash-in-your-assembly-with-teamcity/comment-page-1/#comment-66609</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Mon, 30 Apr 2012 12:05:11 +0000</pubDate>
		<guid isPermaLink="false">http://richarddingwall.name/?p=4897#comment-66609</guid>
		<description>@Joshka: thanks, I didn&#039;t know there even was such an attribute. I have updated the post to use that instead.</description>
		<content:encoded><![CDATA[<p>@Joshka: thanks, I didn&#8217;t know there even was such an attribute. I have updated the post to use that instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Recording the git commit hash in your assembly with TeamCity by Joshka</title>
		<link>http://richarddingwall.name/2012/04/30/recording-the-git-commit-hash-in-your-assembly-with-teamcity/comment-page-1/#comment-66594</link>
		<dc:creator>Joshka</dc:creator>
		<pubDate>Mon, 30 Apr 2012 10:25:13 +0000</pubDate>
		<guid isPermaLink="false">http://richarddingwall.name/?p=4897#comment-66594</guid>
		<description>Richard,
The AssemblyInformationalVersion attribute is another alternative as it can be any string. E.g. &quot;1.2.3.4 (git c9d183c857)&quot;. This has an added benefit of being automatically included in your app&#039;s app data path and registry key.
See: &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.reflection.assemblyinformationalversionattribute.aspx&quot; rel=&quot;nofollow&quot;&gt;MSDN Docs for AssemblyInformationalVersion&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Richard,<br />
The AssemblyInformationalVersion attribute is another alternative as it can be any string. E.g. &#8220;1.2.3.4 (git c9d183c857)&#8221;. This has an added benefit of being automatically included in your app&#8217;s app data path and registry key.<br />
See: <a href="http://msdn.microsoft.com/en-us/library/system.reflection.assemblyinformationalversionattribute.aspx" rel="nofollow">MSDN Docs for AssemblyInformationalVersion</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The trouble with soft delete by Richard</title>
		<link>http://richarddingwall.name/2009/11/20/the-trouble-with-soft-delete/comment-page-1/#comment-66451</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Sun, 29 Apr 2012 12:51:33 +0000</pubDate>
		<guid isPermaLink="false">http://richarddingwall.name/?p=1909#comment-66451</guid>
		<description>@Brian: move the archive data into a separate archive/reporting store, denormalized, read-optimized and including active and inactive data. 

Depending on the size and constraints, this could simply be a separate denormalized table, or a separate schema, a separate DB or even a cube or something. But basically the idea is to separate your transactional (live, normalized, write-optimized) data from historical reporting data (inactive, denormalized, read-optimized). If you try to do both in the same table, concerns will leak from one side to the other (e.g. reports will have to do too many JOINs, and the write side will have to have WHERE Active = 1 all over the place).</description>
		<content:encoded><![CDATA[<p>@Brian: move the archive data into a separate archive/reporting store, denormalized, read-optimized and including active and inactive data. </p>
<p>Depending on the size and constraints, this could simply be a separate denormalized table, or a separate schema, a separate DB or even a cube or something. But basically the idea is to separate your transactional (live, normalized, write-optimized) data from historical reporting data (inactive, denormalized, read-optimized). If you try to do both in the same table, concerns will leak from one side to the other (e.g. reports will have to do too many JOINs, and the write side will have to have WHERE Active = 1 all over the place).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

