<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>Creating a Custom Route Constraint</title><link>http://asp.net</link><pubDate>Tue, 19 Mar 2013 03:54:44 GMT</pubDate><generator>umbraco</generator><description>Comments for Creating a Custom Route Constraint</description><language>en</language><atom:link href="http://asp.net/rss/comments/27560" rel="self" type="application/rss+xml" /><item><title>Comment Posted by JoeKunk</title><link>http://asp.net/mvc/tutorials/controllers-and-routing/creating-a-custom-route-constraint-vb</link><pubDate>Tue, 26 Apr 2011 15:35:37 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012991</guid><description><![CDATA[ <p>By commmenting out the default route, the web site will accept ONLY the Admin route now.  It would seem much better to add a second &quot;AdminRemote&quot; route that handles the remainder of the Admin URLs, performing whatever action is appropriate in that situation, and leave the default route enabled.  No constraint is needed on the AdminRemote route since local requests will already be handled by the &quot;Admin&quot; route.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/JoeKunk.jpg?forceidenticon=false&amp;dt=635048620200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by devilsuraj</title><link>http://asp.net/mvc/tutorials/controllers-and-routing/creating-a-custom-route-constraint-vb</link><pubDate>Sun, 12 Feb 2012 10:20:47 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014817</guid><description><![CDATA[ <p>can i add a trailing slash at end of the url in web form application using constraint?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/devilsuraj.jpg?forceidenticon=false&amp;dt=635048620200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by vectorman</title><link>http://asp.net/mvc/tutorials/controllers-and-routing/creating-a-custom-route-constraint-vb</link><pubDate>Tue, 19 Mar 2013 03:54:44 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000018736</guid><description><![CDATA[ <p>This tutorial is about very simple usage of Rotue, what about regex routing? is there a way for regex url validation on MVC</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/vectorman.jpg?forceidenticon=false&amp;dt=635048620200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>