I have a c# website project in visual studio 2010, and all of my .aspx pages are currently being stored in a ~/Forms directory
. The problem is that when I want to go to any web pages, they are all prefixed with "http://localhost:000/Forms/"
, when what I really want is "http://localhost:000/"
. So, "http://localhost:000/AboutUs.aspx"
instead of "http://localhost:000/Forms/AboutUs.aspx"
. What is the preferred way to deal with a situation like this? I don't want to rig anything up. Thanks!
Uh..., don't put your aspx files in a subdirectory maybe?