visual studio debugging - url includes foldername - breaking my code
<p>When I right click on ASP.NET development server, it says 
<a href="http://localhost:1394/testing" rel="nofollow">http://localhost:1394/testing</a> 
as the ROOT URL.  This does not go well with my code.  I think the main reason is my code assumes it is in the root folder, and things start breaking when that is not the case.  If I deploy this website, then it all works, but I lose my debugging capabilities.  Is there a way I can make it skip the name of the folder (which is "testing" in this case)?</p>

<p>I am using virtual URL. Things break on virtual urls, not on static ones.  (But virtual url works fine when deployed, and make sure it is in the root folder, otherwise it will not work.) </p>

<p>Here are the issues I am facing on virtual url's.  Images are broken, if I right click on them, it lists the url without the folder-name <a href="http://localhost:1394/images/xyz.jpg" rel="nofollow">http://localhost:1394/images/xyz.jpg</a> instead of <a href="http://localhost:1394/testing/images/xyz.jpg" rel="nofollow">http://localhost:1394/testing/images/xyz.jpg</a>.  If I click on an asp:button, it postbacks to <a href="http://localhost:1394/storecategory/virtualcategory.aspx" rel="nofollow">http://localhost:1394/storecategory/virtualcategory.aspx</a> instead of <a href="http://localhost:1394/testing/storecategory/virtualcategory.aspx" rel="nofollow">http://localhost:1394/testing/storecategory/virtualcategory.aspx</a>.  So, you see it is eating up testing from the url, so I wanted to see if there is a way I can make <a href="http://localhost:1394/" rel="nofollow">http://localhost:1394/</a> as the url instead of <a href="http://localhost:1394/testing/" rel="nofollow">http://localhost:1394/testing/</a>. </p>

<p>Please let me know if this is confusing.  </p>
