When i deploy my asp.net application to a produktion server i delete de
project on the server and replace it with the new version.

But very often i can't delete the old folder because there is still a
session going on.
No acces is given.
If i restart the whole server i can delete the folder. But that is ofcourse
not a good solution.

Does anyone has a solution for this problem (question number 1) ?
I want to replace my application imediatly.


I also look for a way to recompile my asp.net application without visual
studio.
If i change 1 row in my codebehind i want to see the result without
redeploying the whole application (question number 2)?

I hope someone has an answer .

Jeroen