Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Can local development be set with absolute path or only relative?

Avatar of saabStory
saabStoryFlag for United States of America asked on
ASP.NET
2 Comments1 Solution248 ViewsLast Modified:
I'm new to .NET and so hope this isn't a dumb question - I tried searching but am not too sure if I'm asking the right question yet.  I'm developing locally and then copying my files to the web server.  In all my other development, I've always preferred to use absolute paths - mainly for ease of maintaining paths throughout the site.  So the root always started with d:\inetpub\wwwroot - or similar.  Now with the local development, I'm finding that if I use absolute paths like before, everything is messed up because the local development root isn't the same as the web root - it's often several levels away from where I want to be.

Is there a place in a config file or setting where I specify where I want to root of the site to be? Or am I stuck with converting over to relative paths?  I suspect there is something for the web.config file but have not found what, if anything to put there yet.

Thanks in advance for any help.
ASKER CERTIFIED SOLUTION
Avatar of squillman
squillmanFlag of United States of America image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answers