Delete a large number (>100K) of files with c# whilst maintaining performance in a web application?

前端 未结 10 2116
[愿得一人]
[愿得一人] 2020-12-30 04:40

I am trying to remove a large number of files from a location (by large I mean over 100000), whereby the action is initated from a web page. Obviously I cou

10条回答
  •  [愿得一人]
    2020-12-30 05:36

    You could create a simple ajax webmethod in your aspx code behind and call it with javascript.

提交回复
热议问题