注册ASP.Net网页性能 [英] Reg ASP.Net Web page performance

查看:90
本文介绍了注册ASP.Net网页性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在服务器中有一个ASP.Net网页。它在本地系统中运行良好。但在Server中,网页打开速度非常慢。我还在页面中使用了Sessions。会话将在40秒后过期,并再次重定向到登录页面。如何在IIS中为ASP.net页面管理会话以及页面的性能

I have one ASP.Net Web page in the server. Its working fine in local system. But in Server the web page opened very slow. And also i used Sessions in the page. The sessions are expired in 40 sec and redirects to Login page again. How to manage sessions in IIS for ASP.net page and also the Performance of the page

推荐答案

我假设您指的是asp.net webforms应用程序。关于问题的第一部分,使用跟踪来查找页面减速的原因/位置。这些链接可能会有所帮助:



http://msdn.microsoft.com/en-us/library/bb386420(v = vs.100).aspx [ ^ ]



http://www.webpronews.com/how- to-use-the-trace-feature-in-aspnet-2006-09 [ ^ ]



对于问题的第二部分,请检查在服务器的web.config文件中指定的sessionTimeout。



http://msdn.microsoft.com/en-us/library/h6bb9cz9(v = vs.71).aspx [ ^ ]



希望这会有所帮助!
I am assuming you are referring to a asp.net webforms application. Regarding the first part of your question use traces to find why/where the page is slowing down. These links might be helpful:

http://msdn.microsoft.com/en-us/library/bb386420(v=vs.100).aspx[^]

http://www.webpronews.com/how-to-use-the-trace-feature-in-aspnet-2006-09[^]

For the second part of your question, check the sessionTimeout specified in your web.config file in the server.

http://msdn.microsoft.com/en-us/library/h6bb9cz9(v=vs.71).aspx[^]

Hope this helps!


这篇关于注册ASP.Net网页性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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