Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to remove the .aspx .asmx suffix in asp.net

Tags:

asp.net

Most of our application are based on asp.net.

So all of the url will have the suffix like .aspx or .asmx

I wonder if there is any idea to remove them?

like image 720
hguser Avatar asked Jan 18 '26 06:01

hguser


1 Answers

Have a look at one of the following tutorials:

URL Routing (ASP.Net 4.0 and higher):

  • URL Routing with ASP.NET 4 Web Forms -- Scott Guthrie

URL Rewriting (ASP.Net 3.5 and lower):

  • Url Rewriting with ASP.NET -- Scott Guthrie
  • Clean URL Structure in ASP.Net -- Sharpertutorials.com
like image 79
Dennis Traub Avatar answered Jan 20 '26 20:01

Dennis Traub