Community blog feed
Lowercase ASP.NET Route URLs
- Blog
- Stuart Campbell
- Posted
- 31 May 2008 at 19:12
Summary
ASP.NET routes are super cool, but if you follow the Pascal naming convention for your server-side class names you end up with ugly mixed case URLs. Maybe it’s just taste, but I prefer them all lower case. Luckily, Nick Berardi posted a really simple solution. He derived from System.Web.Routin
Post extract
ASP.NET routes are super cool, but if you follow the Pascal naming convention for your server-side class names you end up with ugly mixed case URLs. Maybe it’s just taste, but I prefer them all lower case.
Luckily, Nick Berardi posted a really simple solution. He derived from System.Web.Routing.Route and overrode the GetVirtualPath method.
All I needed [...]
Related blog entries
-
Afternoon Coffee 174
by Harry Pierson
-
wemoot - it's alive!
by chillfire