Using asp.net's ~/ URL feature

  •  09-22-2005, 7:03 PM

    Using asp.net's ~/ URL feature

    Is there anyway to make the URLs from inserted media (images, flash swf's, etc.) non-application specific.  I have set UseRelativeLinks = true and RemoveServerNamesFromUrl = true, but my resulting URLs include my application.
     
    I need to be able to transfer content created on the dev server to the production server.  However, the application on the dev web site is in a virtual directory while the application on the production site is at the root level.
     
    I have found asp.net's ~/ URL feature to be very handy.  Is there any way to accomplish this task other than to perform some REPLACE on the content before storing in the database?
     
    Thanks
    ROB
View Complete Thread