Is there any best practice to publish an ASP.NET website in general?
To be more specific, I have developed a website that requires to retrieve some data on the server hard driver, so in the development environment, I created folder to simulate the environment. However the absolute paths of that folder (on the server and on my development machine) are different. This means whenever I want to publish, I need to modify the value of that path. What makes it worse is that that value has been used in multiple places in the project, so I have to change every of them. This is very tedious.
Is there any better solution for this specific problem? And is there any best practice to publish an ASP.NET website? Thanks.