1

Is it bad practice to use a Visual Studio Project folder as a virtual directory in IIS when doing development?

Instead, should I copy the files to a separate folder once the application is compiled?

2
  • What makes you think it would be bad practice? Are you having a specific problem with that approach?
    – levelnis
    May 9, 2013 at 15:17
  • File permissions for one.
    – mmcglynn
    May 9, 2013 at 15:20

2 Answers 2

2

Provided you're not using this same environment to push live changes, it's fine for a development setup. Of course if you're on a live website, it's not a good idea at all. I think it's actually a pretty good idea for dev testing, as it saves you the step of having to move the files over to test.

1

For development? No, I'm using it this way all the time.

I cannot even imagine any reason for this being bad practice.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.