Directory.Delete: behavior changed? Restart AppDomain!

M

MumHa

On ASPNET 2.0 when I call Directory.Delete to delete any sub-directory
(ps: "MyDirectory") the appdomain is restarted and all sessions are
lost, but on ASPNET 1.1 the appdomain doesn't restart.

I have a web app (aspx) that call a method on a web service (asmx).
This web service delete some directories. So on ASPNET 1.1 it's works
well, but on ASPNET 2.0 the web service appdomain is restarted.

Anybody knows something about this change of behavior?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top