ASPX页面中的长时间运行任务将阻止其他aspx页面加载 [英] Long running task in ASPX Page will stop other aspx pages from loading

查看:95
本文介绍了ASPX页面中的长时间运行任务将阻止其他aspx页面加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Web应用程序中管理长时间运行的任务,如果一个页面需要很长时间才能加载,那么其他aspx页面不会加载。这就像iis将请求放入队列中并在完成第一个任务后将加载其他页面。

解决方案

许多其他方法,你应该尝试ajax或其他东西,我认为你在你的第一页上显示所有记录,所以他需要很长的运行时间,然后你管理这个,首先你只显示前十条记录,如果有人想要额外的记录然后他点击,否则你显示下一个页...

How can i manage long running task in web application, if one page takes long time to load then other aspx pages are not loading. It is like iis will put the request in queue & after finishing first task it will load other pages.

解决方案

Many other way to do this, you should try ajax or something other, i think you display all record on your first page, so that he take long running time, then you manage this, first you show only top 10 record,if any one want extra record then he click on that otherwise you show next page...


这篇关于ASPX页面中的长时间运行任务将阻止其他aspx页面加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆