I have a webforms application (VB.net, .NET 4.0) which is translated in three languages and I managed to localize everything except the URLs. My preference is to use routing, so I'd like to find a solution in this direction (not URL rewriting or IIS rewrites,
etc.)
SpartakSlo
0 Points
1 Post
Localized routes - Need help
Feb 24, 2012 07:45 PM|LINK
Hello,
<div class="post-text" itemprop="description">I have a webforms application (VB.net, .NET 4.0) which is translated in three languages and I managed to localize everything except the URLs. My preference is to use routing, so I'd like to find a solution in this direction (not URL rewriting or IIS rewrites, etc.)
Out of many read articles I stumbled into this one as well: http://blog.maartenballiauw.be/post/2010/01/26/Translating-routes-%28ASPNET-MVC-and-Webforms%29.aspx, but this example is for MVC application. (As are the most of the questions here as well)
Any comments and ideas are very much welcome!
</div>jerryjoseph
Contributor
6740 Points
1257 Posts
Re: Localized routes - Need help
Feb 25, 2012 12:40 AM|LINK
There is no big difference between routing in ASP.NET MVC and WebForms. The link below shows routing in ASP.NET 4.0 WebForms.
http://weblogs.asp.net/scottgu/archive/2009/10/13/url-routing-with-asp-net-4-web-forms-vs-2010-and-net-4-0-series.aspx
Apply this to the article you have mentioned and thats it.
linkedin | twitter | www.jerryjoseph.net