How do I not display file extensions?

  • Thread starter Thread starter Gala Grant
  • Start date Start date
G

Gala Grant

I have been searching for quite a while to find an answer (that
doesn't involve buying 3rd party software) as to how to get asp.net to
not display any file extension. Has anyone succeeded in doing this,
and if so, how?

Thanks,
Gala Grant
 
I assume you mean in the browser url. this is done with httphandler that
rewrites the url path.

-- bruce (sqlwork.com)
 
Thanks, I guess I should have asked better. I was pretty sure i could
use httphandler, but I can't figure out how exactly. I can see how to
change file extensions to something new, but not how to remove.

Thanks,
Gala
 
Displaying any file extension WEHRE?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
 
BTW: I dont think you can do what you want to do just use ASP.NET code. you
will need to write a ISAPI dll. Either that, or, you will need to create
directories with the same name as the aspx file (without the .aspx
extension) and drop a default.aspx file into it.
:(
 
Back
Top