Tag Archives: Routes

2 Easy steps to learn ASP.NET Routing, map URLs to aspx and pass variables

It is becoming extremely important now a days to use simple URLs  without showing the .aspx extention and also hiding the Query String parameters such as page.aspx?name1=value1&name2=value2. SEO experts swear that simple canonical urls such as mysite.com/CountryName/CityName/CompanyName/ are much better in terms of search engine friendliness than mysite.com/getlisting.aspx?Country=CountryName&City=CityName&ampCompany=CompanyName We can clearly see that the former URL is much better even for [...]

Posted in ASP.NET, Routing | Also tagged , , , , , | 2 Comments