<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Lowercase Route URL&#039;s in ASP.NET MVC</title>
	<atom:link href="http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/feed/" rel="self" type="application/rss+xml" />
	<link>http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/</link>
	<description>Graham O&#039;Neale – Deep In .NET Development: ASP.NET, MVC, jQuery, WPF, WCF, Silverlight</description>
	<lastBuildDate>Wed, 28 Sep 2011 23:00:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: mr X</title>
		<link>http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/comment-page-1/#comment-39395</link>
		<dc:creator>mr X</dc:creator>
		<pubDate>Sat, 10 Sep 2011 01:32:06 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=84#comment-39395</guid>
		<description>Yeah .. i am trying to find a way to figure out how to do this in areas as well.. 
here is my question

http://stackoverflow.com/questions/7368749/net-mvc3-lowercase-route-urls-in-areas</description>
		<content:encoded><![CDATA[<p>Yeah .. i am trying to find a way to figure out how to do this in areas as well..<br />
here is my question</p>
<p><a href="http://stackoverflow.com/questions/7368749/net-mvc3-lowercase-route-urls-in-areas" rel="nofollow">http://stackoverflow.com/questions/7368749/net-mvc3-lowercase-route-urls-in-areas</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: santosh</title>
		<link>http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/comment-page-1/#comment-34373</link>
		<dc:creator>santosh</dc:creator>
		<pubDate>Fri, 22 Jul 2011 07:45:22 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=84#comment-34373</guid>
		<description>Hi i hava tried implementing this code for url rewriting to lower case but it is not working

protected void Application_BeginRequest(object sender, EventArgs e)
        {
                       string lowercaseURL = (Request.Url.Scheme + &quot;://&quot; + HttpContext.Current.Request.Url.Authority + HttpContext.Current.Request.Url.AbsolutePath);
            if(Regex.IsMatch(lowercaseURL,@&quot;[A-Z]&quot;))
            {
                lowercaseURL = lowercaseURL.ToLower() + HttpContext.Current.Request.Url.Query;

                Response.Clear();
                Response.Status = &quot;301 Moved Permanently&quot;;
                Response.AddHeader(&quot;Location&quot;, lowercaseURL);
                Response.End();
            }
        }

it is working well in visual studio on my computer but when i host it on my server in godaddy its not working . can any one help me

example

google is considering urls

www.mydomain.com/Hyderabad.aspx and www.mydomain.com/hyderabad.aspx as two different pages 



please help me</description>
		<content:encoded><![CDATA[<p>Hi i hava tried implementing this code for url rewriting to lower case but it is not working</p>
<p>protected void Application_BeginRequest(object sender, EventArgs e)<br />
        {<br />
                       string lowercaseURL = (Request.Url.Scheme + &#8220;://&#8221; + HttpContext.Current.Request.Url.Authority + HttpContext.Current.Request.Url.AbsolutePath);<br />
            if(Regex.IsMatch(lowercaseURL,@&#8221;[A-Z]&#8220;))<br />
            {<br />
                lowercaseURL = lowercaseURL.ToLower() + HttpContext.Current.Request.Url.Query;</p>
<p>                Response.Clear();<br />
                Response.Status = &#8220;301 Moved Permanently&#8221;;<br />
                Response.AddHeader(&#8220;Location&#8221;, lowercaseURL);<br />
                Response.End();<br />
            }<br />
        }</p>
<p>it is working well in visual studio on my computer but when i host it on my server in godaddy its not working . can any one help me</p>
<p>example</p>
<p>google is considering urls</p>
<p><a href="http://www.mydomain.com/Hyderabad.aspx" rel="nofollow">http://www.mydomain.com/Hyderabad.aspx</a> and <a href="http://www.mydomain.com/hyderabad.aspx" rel="nofollow">http://www.mydomain.com/hyderabad.aspx</a> as two different pages </p>
<p>please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Day 9: Microsoft .NET MVC 3 &#124; Hometown Pharmacy Rio WI</title>
		<link>http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/comment-page-1/#comment-32402</link>
		<dc:creator>Day 9: Microsoft .NET MVC 3 &#124; Hometown Pharmacy Rio WI</dc:creator>
		<pubDate>Sun, 19 Jun 2011 23:31:22 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=84#comment-32402</guid>
		<description>[...] Use Custom Routing Extensions I like all my URLs to be lower case, but I don’t want to change my controller and action methods to be lower case.  The use of a RoutingCollection extension method easily solves this.  Found this nifty extension method at:http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Use Custom Routing Extensions I like all my URLs to be lower case, but I don’t want to change my controller and action methods to be lower case.  The use of a RoutingCollection extension method easily solves this.  Found this nifty extension method at:<a href="http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/" rel="nofollow">http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/comment-page-1/#comment-30155</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Thu, 12 May 2011 18:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=84#comment-30155</guid>
		<description>Any idea how to do this when using Areas?

 routes.MapRouteLowercase(
                &quot;Default&quot;, // Route name
                &quot;{controller}/{action}/{id}&quot;, // URL with parameters
                new {controller = &quot;Home&quot;, action = &quot;index&quot;, id = &quot;&quot;} // Parameter defaults
                );

I have searched all and have not found anything of any use for doing this with Areas.  Any help would be appreciated.</description>
		<content:encoded><![CDATA[<p>Any idea how to do this when using Areas?</p>
<p> routes.MapRouteLowercase(<br />
                &#8220;Default&#8221;, // Route name<br />
                &#8220;{controller}/{action}/{id}&#8221;, // URL with parameters<br />
                new {controller = &#8220;Home&#8221;, action = &#8220;index&#8221;, id = &#8220;&#8221;} // Parameter defaults<br />
                );</p>
<p>I have searched all and have not found anything of any use for doing this with Areas.  Any help would be appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Root path with tilde “~” does not change upper case to lower case - Question Lounge</title>
		<link>http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/comment-page-1/#comment-19269</link>
		<dc:creator>Root path with tilde “~” does not change upper case to lower case - Question Lounge</dc:creator>
		<pubDate>Tue, 04 Jan 2011 09:55:27 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=84#comment-19269</guid>
		<description>[...] and change all redicecciones and links to lowercase. also applies the class &#8220;lowercase route urls in aspnet mvc&#8221; and works perfectly.The problem I had to modify the virtual directory in IIS, delete virtual [...]</description>
		<content:encoded><![CDATA[<p>[...] and change all redicecciones and links to lowercase. also applies the class &#8220;lowercase route urls in aspnet mvc&#8221; and works perfectly.The problem I had to modify the virtual directory in IIS, delete virtual [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lowercase urls - - Coding Answers</title>
		<link>http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/comment-page-1/#comment-18994</link>
		<dc:creator>Lowercase urls - - Coding Answers</dc:creator>
		<pubDate>Sun, 02 Jan 2011 08:03:18 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=84#comment-18994</guid>
		<description>[...] Iam starting to create lowercase urls on my site. I have used this code: http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Iam starting to create lowercase urls on my site. I have used this code: <a href="http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/" rel="nofollow">http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pirzada</title>
		<link>http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/comment-page-1/#comment-16068</link>
		<dc:creator>Pirzada</dc:creator>
		<pubDate>Thu, 02 Dec 2010 06:10:09 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=84#comment-16068</guid>
		<description>Your solution is not working with MVC Areas like admin. Any solution to that?</description>
		<content:encoded><![CDATA[<p>Your solution is not working with MVC Areas like admin. Any solution to that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ASP.NET MVC from Basics to Tips and Tricks &#171; Chandara</title>
		<link>http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/comment-page-1/#comment-16067</link>
		<dc:creator>ASP.NET MVC from Basics to Tips and Tricks &#171; Chandara</dc:creator>
		<pubDate>Thu, 02 Dec 2010 06:04:17 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=84#comment-16067</guid>
		<description>[...] Use Custom Routing Extensions I like all my URLs to be lower case, but I don’t want to change my controller and action methods to be lower case.  The use of a RoutingCollection extension method easily solves this.  Found this nifty extension method at: http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Use Custom Routing Extensions I like all my URLs to be lower case, but I don’t want to change my controller and action methods to be lower case.  The use of a RoutingCollection extension method easily solves this.  Found this nifty extension method at: http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/ [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zuhaib</title>
		<link>http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/comment-page-1/#comment-10510</link>
		<dc:creator>Zuhaib</dc:creator>
		<pubDate>Sun, 27 Jun 2010 11:45:56 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=84#comment-10510</guid>
		<description>Thanks for the solution, but this doesn&#039;t work for Area&#039;s. I found a solution for area&#039;s here http://www.google.com/codesearch/p?hl=en#RvvkzXvPN5c/src/BetaBlog/Web/Routing/RouteCollectionExtensions.cs&amp;q=RouteCollectionExtensions%20package:http://betablog\.googlecode\.com&amp;sa=N&amp;cd=1&amp;ct=rc</description>
		<content:encoded><![CDATA[<p>Thanks for the solution, but this doesn&#8217;t work for Area&#8217;s. I found a solution for area&#8217;s here <a href="http://www.google.com/codesearch/p?hl=en#RvvkzXvPN5c/src/BetaBlog/Web/Routing/RouteCollectionExtensions.cs&#038;q=RouteCollectionExtensions%20package:http://betablog" rel="nofollow">http://www.google.com/codesearch/p?hl=en#RvvkzXvPN5c/src/BetaBlog/Web/Routing/RouteCollectionExtensions.cs&#038;q=RouteCollectionExtensions%20package:http://betablog</a>\.googlecode\.com&amp;sa=N&amp;cd=1&amp;ct=rc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pleun</title>
		<link>http://goneale.com/2008/12/19/lowercase-route-urls-in-aspnet-mvc/comment-page-1/#comment-5999</link>
		<dc:creator>Pleun</dc:creator>
		<pubDate>Mon, 25 Jan 2010 14:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=84#comment-5999</guid>
		<description>Great article, thank you so much :)</description>
		<content:encoded><![CDATA[<p>Great article, thank you so much <img src='http://goneale.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

