<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"><channel><title>An Introduction to URL Routing</title><link>http://www.asp.net</link><pubDate>Sun, 25 Jul 2010 19:11:38 GMT</pubDate><generator>umbraco</generator><description>Comments for An Introduction to URL Routing</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/27480" rel="self" type="application/rss+xml" /><item><title>Comment Posted by cv_vikram</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Mon, 25 Aug 2008 19:13:32 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007012</guid><description><![CDATA[ <p>Thanks...</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/cv_vikram.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by kumanan</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Tue, 16 Sep 2008 13:05:06 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007013</guid><description><![CDATA[ <p>Hi Steve,</p> <p>Excellent Videos. so easy to understand. I have watched your first three videos of MVC. Got a solid understanding of model,view and controllers and various types of ActionResult, HtmlHelpers etc. </p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/kumanan.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by amanprogrammer</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Tue, 16 Sep 2008 16:10:30 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007014</guid><description><![CDATA[ <p>Stephen you rock. Nice video.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/amanprogrammer.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by atarikg</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Thu, 02 Oct 2008 18:10:46 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007015</guid><description><![CDATA[ <p>I agree with kumanan..</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/atarikg.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by akbar_khan</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Fri, 24 Oct 2008 12:18:42 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007016</guid><description><![CDATA[ <p>Excellent job Stephen, I have watched 4 of your videos so far and am planning to watch the rest over the weekend and write up my own first MVC Apps. Keep it up!</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/akbar_khan.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sanjayaghimire</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Sun, 23 Nov 2008 23:10:19 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007017</guid><description><![CDATA[ <p>Good video, but how to include virtual directory path?</p> <p>Example on video is based on server root, VS2008 :if you use physical Web Server rather than VS Web Server, it will ask create virtual directory? But that does not change routing table in Global.asax file, then application failed with 404 Error.</p> <p>Thanks for your information.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/sanjayaghimire.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mbarlowm</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Fri, 12 Dec 2008 19:22:17 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007018</guid><description><![CDATA[ <p>if you put a bad date in the url with the archive/date example you get an error. &#160;how can you handle this elegantly?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/mbarlowm.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by worldlifesite</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Sun, 21 Dec 2008 11:56:56 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007019</guid><description><![CDATA[ <p>If you maintain MVC code, isn&#39;t there a possibilty that you&#39;ll inherit the dreaded spaghetti code with url routing?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/worldlifesite.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by waleedbutt</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Fri, 23 Jan 2009 03:18:37 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007020</guid><description><![CDATA[ <p>very nice indeed</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/waleedbutt.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Yankee</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Tue, 10 Feb 2009 14:33:41 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007021</guid><description><![CDATA[ <p>Hello Stephen and thanks for those great tutorials!</p> <p>Can you please tell me how can I use routing with data retrieved from a database?</p> <p>Let&#39;s say that I have an unrouted link like:</p> <p>/Default.aspx?CategoryID=22</p> <p>but that category has a name, which for each ID it can be different. So I will extract that data from the database.</p> <p>Simply put, I want to dynamically build those links, like WordPress&#39; links. Each link with its - let&#39;s say - title, retreived from a database.</p> <p>Thank you!</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Yankee.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Yankee</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Tue, 10 Feb 2009 14:36:13 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007022</guid><description><![CDATA[ <p>Forgot to mention to my previous post, an unrouted link like </p> <p>/Default.aspx?CategoryID=22 to be routed to /Categories/Cars</p> <p>and</p> <p>/Default.aspx?CategoryID=23 to be routed to /Categories/Trains</p> <p>and so on.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Yankee.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Tunisiano32</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Tue, 03 Mar 2009 23:13:32 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007023</guid><description><![CDATA[ <p>Very good video </p><p>Thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Tunisiano32.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Danny117</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Sun, 08 Mar 2009 18:12:04 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007024</guid><description><![CDATA[ <p>Stephen,</p><p>Thanks.  I&#39;m getting this more and more.  I sure wish you would&#39;ve mentioned that controler functions can&#39;t be overloaded like you did in video three.  Maybe overloaded controler functions will come in a future release!  I&#39;m confident everyone watching knows they can pass in a string and fanagle it to meet their needs so its no big deal.  I&#39;ve watched half the introductory videos so far.</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Danny117.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Djibril_Chimere_DIAW</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Mon, 16 Mar 2009 09:18:48 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007025</guid><description><![CDATA[ <p>Thanks! J&#235;r&#235;j&#235;f!</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Djibril_Chimere_DIAW.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by NYCharles</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Mon, 13 Apr 2009 18:27:01 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007026</guid><description><![CDATA[ <p>your face blocks the code</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/NYCharles.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ronnieoverby</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Thu, 16 Apr 2009 14:53:50 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007027</guid><description><![CDATA[ <p>It sure would be nice if I didn&#39;t have to look at this guys head while I am trying to pay attention to the code.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/ronnieoverby.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Vishal</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Fri, 15 May 2009 07:26:31 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007029</guid><description><![CDATA[ <p>Hi Stephen,</p><p></p><p>I always wondered how this worked, now I know. :-)  Is the member profile page on forums.asp.net designed in the same way? For e.g. my profile page is <a rel="nofollow" href="http://forums.asp.net/members/Vishal.aspx" target="_blank">forums.asp.net/</a> . So I assume this is achieved by URL Routing.</p><p></p><p>Thanks,</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Vishal.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Michael1</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Sun, 28 Jun 2009 03:48:29 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007030</guid><description><![CDATA[ <p>Stephen,</p><p></p><p>I am hitting a brick wall with these tutorials being in Visual Basic.  I know nothing about Visual Basic, and am spending 20% of my time understanding the concepts, which are well presented, and 80% of my time converting the code from a language I know nothing about, Visual Basic, to C#, quite unsuccessfully I might add.  The controller file looks almost nothing like that in C#.  The written tutorial for C# only covers about 1/3 of the video tutorial.  I could have used this material for a project I am doing.  PLEASE, at a minimum provide full source code in C# for the ENTIRE video tutorial, and, better yet, provide complimentary video tutorials in C# (since they are only about 10 minutes each anyway).</p><p></p><p>Thanks.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Michael1.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mind1n</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Tue, 14 Jul 2009 13:33:03 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007031</guid><description><![CDATA[ <p>That face isn&#39;t nessary to be shown! Agree?!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/mind1n.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by milind_wmahajan</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Tue, 25 Aug 2009 18:05:14 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007032</guid><description><![CDATA[ <p>Stephen its really cool</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/milind_wmahajan.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by kannank7</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Sun, 20 Sep 2009 07:56:58 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007033</guid><description><![CDATA[ <p>stephen its really a great video for a beginner. </p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/kannank7.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by roman.spataru</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Tue, 06 Oct 2009 12:09:43 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007034</guid><description><![CDATA[ <p>Thanks Stephen!</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/roman.spataru.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by gerrylowry</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Thu, 19 Nov 2009 16:33:27 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007035</guid><description><![CDATA[ <p>Resources useful for routing issues:</p><p></p><p>Routes are processed top down, first match is route used.  You&#39;ll probably need the ability to debug your routes:</p><p></p><p>The first rule that fits the URL is the one that gets used.  Default rules should be last.</p><p></p><p>The most general default rule should be the very last.</p><p></p><p>There&#39;s a really interesting tool and video that you might want to check out:</p><p></p><p>the RouteDebug dll tool is discussed in the last twenty minutes*</p><p>of Phil Haack&#39;s video:  <a rel="nofollow" href="http://videos.visitmix.com/MIX09/T44F," target="_blank">videos.visitmix.com/</a></p><p>               &quot;Ninja on Fire Black Belt Tips&quot;. </p><p></p><p>        * Watch the entire video, it&#39;s worth your time. </p><p></p><p>ASP.NET MVC documentation is at MSDN:</p><p>   Reference <a rel="nofollow" href="http://msdn.microsoft.com/en-us/library/dd566232.aspx" target="_blank">msdn.microsoft.com/</a></p><p></p><p>Routing is here:</p><p><a rel="nofollow" href="http://msdn.microsoft.com/en-us/library/system.web.routing.aspx" target="_blank">msdn.microsoft.com/</a></p><p><a rel="nofollow" href="http://msdn.microsoft.com/en-us/library/system.web.routing.routecollection.aspx" target="_blank">msdn.microsoft.com/</a></p><p></p><p>see also:  <a rel="nofollow" href="http://weblogs.asp.net/rashid/archive/2009/04/03/asp-net-mvc-best-practices-part-2.aspx" target="_blank">weblogs.asp.net/</a></p><p>           <a rel="nofollow" href="http://www.asp.net/learn/mvc/tutorial-23-cs.aspx" target="_blank">www.asp.net/</a></p><p></p><p>for IgnoreRoute see:</p><p><a rel="nofollow" href="http://msdn.microsoft.com/en-us/library/dd505203.aspx" target="_blank">msdn.microsoft.com/</a> in</p><p><a rel="nofollow" href="http://msdn.microsoft.com/en-us/library/system.web.mvc.routecollectionextensions.aspx." target="_blank">msdn.microsoft.com/</a></p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/gerrylowry.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jamesguo</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Sun, 25 Jul 2010 19:08:39 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009607</guid><description><![CDATA[ <p>Nice example. Very helpful</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/jamesguo.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jamesguo</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/an-introduction-to-url-routing</link><pubDate>Sun, 25 Jul 2010 19:11:38 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009608</guid><description><![CDATA[ <p>Is it possible to use an external resource to manage the routing instead of coding in the globle file?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/jamesguo.jpg?forceidenticon=false&amp;dt=635044669200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>