<?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>chillijam.co.uk &#187; xp</title>
	<atom:link href="http://chillijam.co.uk/tag/xp/feed/" rel="self" type="application/rss+xml" />
	<link>http://chillijam.co.uk</link>
	<description></description>
	<lastBuildDate>Thu, 28 Jan 2021 10:32:11 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.38</generator>
	<item>
		<title>ASP.NET MVC &#8211; Deploying on Win XP</title>
		<link>http://chillijam.co.uk/2009/05/11/aspnet-mvc-deploying-on-win-xp/</link>
		<comments>http://chillijam.co.uk/2009/05/11/aspnet-mvc-deploying-on-win-xp/#comments</comments>
		<pubDate>Mon, 11 May 2009 12:42:30 +0000</pubDate>
		<dc:creator><![CDATA[Marc]]></dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[iis5]]></category>
		<category><![CDATA[xp]]></category>

		<guid isPermaLink="false">http://chillijam.co.uk/?p=242</guid>
		<description><![CDATA[This is the second in a series of posts about things I found out while learning ASP.NET MVC. Today : Setting up your development XP machine to run your site. This is actually quite a simple one, but be warned, the overhead of setting up IIS5 to run an MVC site may lead to trouble &#8230; <a href="http://chillijam.co.uk/2009/05/11/aspnet-mvc-deploying-on-win-xp/" class="more-link">Continue reading <span class="screen-reader-text">ASP.NET MVC &#8211; Deploying on Win XP</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>This is the second in a series of posts about things I found out while learning ASP.NET MVC. Today : Setting up your development XP machine to run your site.</p>
<p>This is actually quite a simple one, but be warned, the overhead of setting up IIS5 to run an MVC site may lead to trouble if you put it under heavy load.</p>
<p>First, you&#8217;ll have to add a new Route to your Global.asax.cs file, just for IIS5.  For example :</p>
<p> </p>
<pre class="brush: csharp; title: ; notranslate">
routes.MapRoute(
      &quot;IIS5&quot;,  // Route name
      &quot;{controller}.mvc/{action}/{id}&quot;,  // URL with parameters&lt;/strong&gt;
      new { controller = &quot;Home&quot;, action = &quot;Index&quot;, id = &quot;&quot; }  // Parameter defaults
);</pre>
<p>Note in this example that the only difference (apart from the name) is the addition of a &#8220;.mvc&#8221; extension after the controller declaration.</p>
<p>Now, you just need to configure your IIS virtual directory.</p>
<p>In inetmgr, navigate to your virtual directory, right click it and select Properties.  On the default tab (&#8220;Directory&#8221;), click the Configuration button.  You now need to add a new file extension handler, so click on the &#8220;Add&#8221; button.</p>
<p>In the textbox for the executable, enter the path to aspnet_isapi.dll ([probably C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll), and set the extension to be &#8220;.*&#8221;.  Before you hit &#8220;OK&#8221;, make sure you untick the box marked &#8220;Check that file exists&#8221;.  Now you can hit OK a few times and you&#8217;re good to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://chillijam.co.uk/2009/05/11/aspnet-mvc-deploying-on-win-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
