<?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>Barry Jones &#187; Useful MVC Resources &#8211; Barry Jones</title>
	<atom:link href="http://www.barryjones.me.uk/category/development/mvc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.barryjones.me.uk</link>
	<description>General Ramblings</description>
	<lastBuildDate>Mon, 06 Sep 2010 10:05:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Useful MVC Resources</title>
		<link>http://www.barryjones.me.uk/2010/09/useful-mvc-resources/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=useful-mvc-resources</link>
		<comments>http://www.barryjones.me.uk/2010/09/useful-mvc-resources/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 08:00:03 +0000</pubDate>
		<dc:creator>Barry Jones</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[Pattern]]></category>
		<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://www.barryjones.me.uk/?p=234</guid>
		<description><![CDATA[While learning anything new there are times when you stumble upon information on the Internet that really seems to help. Here a list of links and websites that have helped me get a better understanding of the Microsoft&#8217;s MVC .NET Framework, it&#8217;s architecture and how to use it. But first the pattern: Martin Fowlers Discussion [...]]]></description>
			<content:encoded><![CDATA[<p>While learning anything new there are times when you stumble upon information on the Internet that really seems to help. Here a list of links and websites that have helped me get a better understanding of the <em>Microsoft&#8217;s <acronym title="Model View Controller">MVC</acronym> .NET Framework</em>, it&#8217;s architecture and how to use it.<span id="more-234"></span></p>
<p>But first the pattern: <a title="MVC Pattern Description" href="http://martinfowler.com/eaaDev/uiArchs.html" target="_blank">Martin Fowlers Discussion of the MVC Pattern</a>.</p>
<h3>General MVC Resources</h3>
<p>These links are websites with lots of various information about <em><acronym title="Model View Controller">MVC</acronym></em>, with no specific focus.</p>
<ul>
<li><a title="Microsoft MVC Website" href="http://www.asp.net/mvc" target="_blank">Microsoft&#8217;s MVC Framework Website</a></li>
<li><a title="Scott Hanselman on MVC" href="http://www.hanselman.com/blog/CategoryView.aspx?category=ASP.NET+MVC" target="_blank">All of Scott Hanselman&#8217;s MVC Posts</a></li>
<li><a title="Scott Gu" href="http://weblogs.asp.net/Scottgu" target="_blank">Scott Guthrie for eveything .NET</a></li>
<li><a title="MSDN MVC Introduction" href="http://msdn.microsoft.com/en-us/magazine/cc337884.aspx" target="_blank">An introduction to MVC</a></li>
<li><a title="MSDN MVC Resources" href="http://msdn.microsoft.com/en-us/library/dd394709%28VS.100%29.aspx" target="_blank">A list of MSDN resources for learning the details of the MVC Framework</a></li>
</ul>
<h3>Architecture and Pipeline</h3>
<p>A very good description of the full request response pipeline in MVC.NET, this is for version 1.0 but the information is still useful.</p>
<ul>
<li><a title="MVC Architecture" href="http://dotnetslackers.com/articles/aspnet/AnArchitecturalViewOfTheASPNETMVCFramework.aspx" target="_blank">Architectural Overview of MVC Framework</a></li>
<li><a title="MVC Pipeline Lifecycle" href="http://blog.codeville.net/2007/11/20/aspnet-mvc-pipeline-lifecycle/" target="_blank">V1.0 Request/Response Pipeline Overview</a></li>
</ul>
<h3>Model Binding Information</h3>
<ul>
<li><a title="MVC Model Binders" href="http://blog.maartenballiauw.be/post/2008/10/02/Using-the-ASPNET-MVC-ModelBinder-attribute-Second-part.aspx" target="_blank">Creating a Model Binder</a></li>
<li><a title="IModelBinder implementation" href="http://panteravb.com/blog/posts/2008/10/2/imodelbinder-with-autobinder.ashx" target="_blank">IModelBinder Autobinding</a></li>
</ul>
<h3>Routing</h3>
<ul>
<li><a title="MSDN description of MVC Routing" href="http://msdn.microsoft.com/en-us/library/cc668201%28VS.100%29.aspx" target="_blank">MSDN Review of the MVC Routing Process</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.barryjones.me.uk/2010/09/useful-mvc-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Route Debugging in MVC.NET</title>
		<link>http://www.barryjones.me.uk/2009/10/quick-route-debugging-in-mvc-net/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=quick-route-debugging-in-mvc-net</link>
		<comments>http://www.barryjones.me.uk/2009/10/quick-route-debugging-in-mvc-net/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 10:26:43 +0000</pubDate>
		<dc:creator>Barry Jones</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[MVC]]></category>

		<guid isPermaLink="false">http://www.barryjones.me.uk/?p=141</guid>
		<description><![CDATA[Here is a quick way of getting detailed information about which route has been accepted and why in MVC.NET. The code below should be placed in your Application_EndRequest event handler in global.asax. By placing a break point in the code directly after evaluation you can see a collection of all the routes, if it matched [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a quick way of getting detailed information about which route has been accepted and why in MVC.NET.</p>
<p>The code below should be placed in your Application_EndRequest event handler in global.asax. By placing a break point in the code directly after evaluation you can see a collection of all the routes, if it matched the request and a reference to the RouteData to see more detailed information.</p>
<p>This code works by re-evaluating each of the Routes defined in your application against the current request. The first match in the collection is the match that MVC will have used to handle your request.<span id="more-141"></span></p>
<pre class="code">List&lt;object&gt; routes = new List&lt;object&gt;();
foreach (System.Web.Routing.Route current in System.Web.Routing.RouteTable.Routes) {
	System.Web.Routing.RouteData data = current.GetRouteData(
		new HttpContextWrapper(HttpContext.Current)
		);
	bool matches = data != null;
	routes.Add(new { Match=matches, Url=current.Url.ToString(), Data=data});
}</pre>
<p>For a better long term implementation try using <a title="Phil Haack's ASP.NET Routing Debugger" href="http://haacked.com/archive/2008/03/13/url-routing-debugger.aspx" target="_blank">Phil Haack&#8217;s</a> debugging implementation or get the route debugging code from the <a title="ASP.NET MVC Unleased" href="http://www.informit.com/store/product.aspx?isbn=9780672329982" target="_blank">ASP.NET MVC Unleashed</a> book.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.barryjones.me.uk/2009/10/quick-route-debugging-in-mvc-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

