In my webpages I have references to js and images as such: "../../Content/Images/"Filename"
In my code if I reference a file as above, it doesnt work so i have to write: "c:/miscfiles/"filename"
1-Why does the first reference work on webpages and not within the code? 2-How should i reference file paths in code so that I will not have to recode when moving to server?