Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
Hi, I want to remove .aspx from my webpage in ASP.Net. I download URL Rewrite Module and installed to winserver 2008 and this:[^]
I'm a beginner and I treid;:
i try[^]
but it dosen't work.
for example change default.aspx ---> default
How do I do this?
Posted 11-Mar-13 7:39am
Edited 11-Mar-13 22:02pm
Sergey Alexandrovich Kryukov at 11-Mar-13 13:22pm
"Doesn't work" is not informative. Therefore, nothing to discuss right now. If you can, please use "Improve question" above.
sjelen at 11-Mar-13 13:57pm
Rewriting URLs in web forms app is not that easy, ASP.NET depends on file extension to find appropriate handler for a request.
Also some server controls render URLs in their output, so you would need to rewrite both request and response.
If you're making a new application and want URLs to look like that, consider using ASP.NET MVC framework instead of web forms.
ryanb31 at 11-Mar-13 14:53pm
What does "doesn't work" mean? Is there an error?
jiji2663 at 12-Mar-13 3:01am
for example change default.aspx ---> default

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

you can find a very good tutorial regarding URL rewrite in over herein this link below.
jiji2663 at 12-Mar-13 4:00am
i want use url rewriter module in iis
please F1F1F1F1F1F1

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Advertise | Privacy | Mobile
Web02 | 2.8.150302.1 | Last Updated 12 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100