Development and production url address setting in asp.net project

  • Thread starter Thread starter RA
  • Start date Start date
R

RA

Hi

I use asp.net for the wen server development which includes mostly asp.net
pages and some html pages.
How can I put the url address when I use the development - it goes to
localhost - so that it will work also when I put the files on the web host.
I am looking for a way so I won't need to change the url path from
localhost.webpage.com to www.webpage.com. Is there a way of doing that or
will I need to change all the aspx and html links to url soon as I move the
project to the web host?


Thanks
 
Mark,

I personally like later approach.
Even there is nothing wrong with relative links (it is looks cleaner and
less traffic :-) )
but some search engine robots like full links. Also, some browsers don't
like relative links...
 
How would you do it in htm files?

Ivan Demkovitch said:
Mark,

I personally like later approach.
Even there is nothing wrong with relative links (it is looks cleaner and
less traffic :-) )
but some search engine robots like full links. Also, some browsers don't
like relative links...
 
Back
Top