Best practices in ASP.NET 4.0 Web Forms Url Rewriting (Mask URL address link)

9.3k views Asked by At

What are the methods and best practices for URL Rewriting (Masking URL) in ASP.NET 4.0?

We have an ASP.NET 4 Website and when testing on the client he wanted to hide or simplify our URL addresses, meaning he wants querystrings and url paths of the server to hide.

How can I achieve something like this in ASP.NET 4 Web Forms?

Thank you.

2

There are 2 answers

1
rrrr-o On

You can use an IIS module to achieve this

http://www.iis.net/download/urlrewrite

0
Krishanu Dey On

In asp.net 4 u can use Asp.Net Routing.
Please visit MSDN : ASP.NET Routing
Hope it helps. Good Luck.