<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>Mon, 20 Jun 2011 06:27:24 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/27559" rel="self" type="application/rss+xml" /><item><title>Comment Posted by vhornk</title><link>http://asp.net/mvc/tutorials/controllers-and-routing/creating-a-custom-route-constraint-cs</link><pubDate>Fri, 30 Jul 2010 01:57:03 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009681</guid><description><![CDATA[ <p>I have found good article about using AJAX JSON in asp.net mvc projects. It is very useful because I can pass Controller/Action/View names inside JSON object. May be it helps anybody as well: <a rel="nofollow" href="http://vitana-group.com/article/microsoft-.net/route-handling" target="_blank">vitana</a></p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/vhornk.jpg?forceidenticon=false&amp;dt=635047548000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by orad</title><link>http://asp.net/mvc/tutorials/controllers-and-routing/creating-a-custom-route-constraint-cs</link><pubDate>Thu, 19 Aug 2010 20:07:30 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009918</guid><description><![CDATA[ <p>Where did is &quot;isLocal&quot; come from? Can it be any name?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/orad.jpg?forceidenticon=false&amp;dt=635047548000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by talktoanil</title><link>http://asp.net/mvc/tutorials/controllers-and-routing/creating-a-custom-route-constraint-cs</link><pubDate>Sat, 04 Sep 2010 06:20:55 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010116</guid><description><![CDATA[ <p>@Orad : &quot;isLocal&quot; is a property of httpContext.Request</p><p>I guess you have not read the article properly or just copy-paste code. </p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/talktoanil.jpg?forceidenticon=false&amp;dt=635047548000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Concrete Gannet</title><link>http://asp.net/mvc/tutorials/controllers-and-routing/creating-a-custom-route-constraint-cs</link><pubDate>Wed, 15 Sep 2010 18:17:31 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010246</guid><description><![CDATA[ <p>@orad:</p><p>The constraint parameter can be an object with any number of IRouteConstraint properties. I don&#39;t understand why they didn&#39;t define this parameter as a collection of IRouteConstraint. Yes, the name is not significant. See the example at <a rel="nofollow" href="http://dotnet.dzone.com/news/custom-route-constraint-aspnet" target="_blank">dotnet.dzone.com/</a> where three constraints are created</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Concrete%20Gannet.jpg?forceidenticon=false&amp;dt=635047548000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Concrete Gannet</title><link>http://asp.net/mvc/tutorials/controllers-and-routing/creating-a-custom-route-constraint-cs</link><pubDate>Wed, 15 Sep 2010 18:20:01 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010247</guid><description><![CDATA[ <p>@talktoanil: Please don&#39;t be rude or superior. @orad wasn&#39;t talking about the IsLocal property of HttpRequest. She/he was talking about the isLocal name for a property in the anonymous constraint object.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Concrete%20Gannet.jpg?forceidenticon=false&amp;dt=635047548000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by tugberk_ugurlu_</title><link>http://asp.net/mvc/tutorials/controllers-and-routing/creating-a-custom-route-constraint-cs</link><pubDate>Sat, 30 Oct 2010 06:00:08 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010771</guid><description><![CDATA[ <p>guys I am thinking the same; where the hell the isLocal come from ? on this code;</p><p></p><p>new {isLocal=new LocalhostConstraint()}</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/tugberk_ugurlu_.jpg?forceidenticon=false&amp;dt=635047548000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by pradip.bobhate</title><link>http://asp.net/mvc/tutorials/controllers-and-routing/creating-a-custom-route-constraint-cs</link><pubDate>Wed, 01 Dec 2010 04:12:19 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011093</guid><description><![CDATA[ <p>very good article I liked it</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/pradip.bobhate.jpg?forceidenticon=false&amp;dt=635047548000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by pradip.bobhate</title><link>http://asp.net/mvc/tutorials/controllers-and-routing/creating-a-custom-route-constraint-cs</link><pubDate>Wed, 01 Dec 2010 04:13:39 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011094</guid><description><![CDATA[ <p>only one quetion isLocal in new {isLocal=new LocalhostConstraint()}</p><p>is it of type boolean or other object</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/pradip.bobhate.jpg?forceidenticon=false&amp;dt=635047548000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by aswinnair</title><link>http://asp.net/mvc/tutorials/controllers-and-routing/creating-a-custom-route-constraint-cs</link><pubDate>Thu, 03 Mar 2011 10:44:55 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012328</guid><description><![CDATA[ <p>isLocal will have either true or false depending on what  LocalhostConstraint function returns?</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/aswinnair.jpg?forceidenticon=false&amp;dt=635047548000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by raghavendravikas</title><link>http://asp.net/mvc/tutorials/controllers-and-routing/creating-a-custom-route-constraint-cs</link><pubDate>Wed, 13 Apr 2011 13:06:12 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012783</guid><description><![CDATA[ <p>Good I like it too. Should look at isLocal</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/raghavendravikas.jpg?forceidenticon=false&amp;dt=635047548000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jingrenhai</title><link>http://asp.net/mvc/tutorials/controllers-and-routing/creating-a-custom-route-constraint-cs</link><pubDate>Wed, 15 Jun 2011 05:59:06 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013513</guid><description><![CDATA[ <p>I have the same question as @tugberk_ugurlu_.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/jingrenhai.jpg?forceidenticon=false&amp;dt=635047548000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Darrell Russell</title><link>http://asp.net/mvc/tutorials/controllers-and-routing/creating-a-custom-route-constraint-cs</link><pubDate>Mon, 20 Jun 2011 06:27:24 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013564</guid><description><![CDATA[ <p>@Orad IsLocal is just the name of the custom constraint that your creating .. has no other signifigance, it could be called anything.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Darrell%20Russell.jpg?forceidenticon=false&amp;dt=635047548000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>