asp.net fileupload服务器控制性能

时间:2022-07-19 03:34:02

I have a fairly simple aspx page (using a MasterPage) with various buttons and server-side event handlers. When I click the buttons the event handler is hit almost immediately. However, as soon as I add the following to my page: asp:FileUpload runat="server" ID="fileUpload"" there is a huge increase in the delay between a button click and it's event handler, the fileUpload control is not used at this point.

我有一个相当简单的aspx页面(使用MasterPage),其中包含各种按钮和服务器端事件处理程序。当我单击按钮时,事件处理程序几乎立即被命中。但是,只要我将以下内容添加到我的页面:asp:FileUpload runat =“server”ID =“fileUpload”“按钮单击和它的事件处理程序之间的延迟有很大的增加,不使用fileUpload控件在此刻。

I am struggling to find out where the delay in the process is so that I can try and bypass it. Any help is much appreciated.

我正在努力找出过程中的延迟,以便我可以尝试绕过它。任何帮助深表感谢。

Thanks.

谢谢。

1 个解决方案

#1


0  

It turns out the issue was related to McAfee DLP https://www.mcafee.com/uk/products/total-protection-for-data-loss-prevention.aspx

事实证明该问题与McAfee DLP相关https://www.mcafee.com/uk/products/total-protection-for-data-loss-prevention.aspx

Whatever is added to the aspx page / viewstate by the fileUpload control caused our McAfee DLP to kick in and perform a whole bunch of checks before the page request was finally submitted.

无论fileUpload控件添加到aspx页面/ viewstate是什么导致我们的McAfee DLP在最终提交页面请求之前启动并执行一大堆检查。

#1


0  

It turns out the issue was related to McAfee DLP https://www.mcafee.com/uk/products/total-protection-for-data-loss-prevention.aspx

事实证明该问题与McAfee DLP相关https://www.mcafee.com/uk/products/total-protection-for-data-loss-prevention.aspx

Whatever is added to the aspx page / viewstate by the fileUpload control caused our McAfee DLP to kick in and perform a whole bunch of checks before the page request was finally submitted.

无论fileUpload控件添加到aspx页面/ viewstate是什么导致我们的McAfee DLP在最终提交页面请求之前启动并执行一大堆检查。