Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 1st, 2006, 06:22 PM
Friend of Wrox
 
Join Date: Mar 2006
Posts: 310
Thanks: 0
Thanked 0 Times in 0 Posts
Default site online - problem

hello

I put my site online, but I do not obtain to have site the same to function local.

For example:

Local I have:
“http://www.localhost/thephille/Images/Background.jpg”
Or
“/ThePhille/Images/background.jpg”

But online I have:
“http://www.thephille.com/Images/Background.jpg”
Or
“/Images/background.jpg”

Is there any way to quickly modify these things and have everything to function online and also local to edit in the visualstudio?

Thanks,
I hope you understand my doubt...
Max

 
Old September 4th, 2006, 06:58 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My version was setup for root site deployment, but Marco's version requires the virtual directory. It's not at all easy to switch between them because the path is stored in many places in the code and even in the DB. The 2nd Edition's website doesn't have these problems.

Eric

 
Old September 4th, 2006, 04:10 PM
Friend of Wrox
 
Join Date: Mar 2006
Posts: 310
Thanks: 0
Thanked 0 Times in 0 Posts
Default

In code behind is easy!
I go to use one var in web.config

But in the aspx pages I have to move one by one

Thanks!







Similar Threads
Thread Thread Starter Forum Replies Last Post
Process.Kill() online problem kool_creative General .NET 3 October 30th, 2006 12:07 AM
How to publish my web site online? johnsonlim026 ASP.NET 1.0 and 1.1 Professional 5 October 28th, 2005 05:49 AM
problem connecting to my online database umair_rathore Classic ASP Databases 1 February 9th, 2005 01:04 PM
Securing the Online Site mekh Pro PHP 6 February 16th, 2004 03:32 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.