tags:

views:

91

answers:

4

How to hide Extension ( for eg .aspx ) in the URL ?

+2  A: 

Are you referring to URL Rewriting?

Tip/Trick: Url Rewriting with ASP.NET

Mitch Wheat
+3  A: 

URL Rewriting is one good option.

Another option is to use URL Routing with MVC or Web Forms

rockinthesixstring
A: 

I think ideally you'd want to use ASP.NET MVC.

If you use MVC as your website paradigm, the way that arguments are passed to the Model is through the actual addressing of the URL.

So you can then use address suffixes like: /do/useraccount

This is also what is being pushed by Microsoft and the ideas invested in ASP.NET 4.0 as they have included tools for making Model View Controller easier to implement.

AlexW
A: 

Your Website < .NET 3.5 SP1 :- use third-party URL Rewriting (e.g Intelligencia URL Rewriter) Your Website >= .NET 3.5 SP1 :- use built-in URL Routing (e.g "MapPageRoute")

RPM1984