How to hide extension (e.g. .aspx) in url?

How to hide extension (e.g. .aspx) in URL?

+5
source share
4 answers

Do you mean URL rewriting?

Tip / Trick: Porting URLs with ASP.NET

+2
source

URL rewriting is one of the good options.

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

+2
source

, ASP.NET MVC.

MVC , URL-.

, , :/do/useraccount

, Microsoft , ASP.NET 4.0, Model View Controller.

0

Your Website < .NET 3.5 SP1 :-rewrite third-party URLs (for example, Rewriter Intelligence URLs) Your Website >= .NET 3.5 SP1 :-use built-in URL routing (for example, "MapPageRoute")

0
source

All Articles