All,

I have created my 1st ASP.NET which we will be moving onto a hosted
web app server.   But, I am confused by the URL pointers, and wonder
if somebody could advise me.   When I run my application in Visual
Studio, it runs on the local host development enviromnet and the URL
is something like...

http://localhost:1266/MyApp/

Now, when I want to load an image in my dev environment, I load it
from "/MyApp/Images/image.jpg", and when I redirect I redirect to "/
MyApp/UserPages/Mypage.aspx" - all good, all working.

But, when I place my app on the live web server, the base address
changes to

http://www.myaddr.com/

So the image will be stored in "www.myaddr.com/Images/image.jpg"

So how do I reference the two URLs - I still want the application to
work on the development box, but when compiled and deployed, I need it
to work on the web domain.

I know its a starter for 10 easy questions, I am just confused -
sorry.



-- 
Subscription settings: 
http://groups.google.com/group/dotnetdevelopment/subscribe?hl=en

Reply via email to