ASP.NET restarts when a folder is created, renamed or deleted

前端 未结 5 834
失恋的感觉
失恋的感觉 2020-12-01 08:15

UPDATE -- process to replicate issue:

1) Create a website project at c:\\projects\\restart-demo

2) Add default web.config a

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-01 09:01

    Enable ASP.NET Health Monitoring and look in the event log to see why the AppDomain restarted.


    I bet this is because you've used a web site project, instead of a web application project. Try to reproduce this with a web application project.

    Also, do you have any anti-virus or indexing software running? Such software notices when folders are created and/or modified.

提交回复
热议问题