当我运行我的Web应用程序时,它正在缓慢打开 [英] when i run my web application it is opening slowly

查看:87
本文介绍了当我运行我的Web应用程序时,它正在缓慢打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我正在从事财务项目,大部分已完成98%,数据库是sql server.
但是问题是,当我打开应用程序时,它的打开速度非常慢.

我在每页中都使用了会话.........

能告诉我它变慢的原因是什么.

在5到6天内,我们将主持此活动.
托管后是否有任何问题

请简要说明.........
谢谢.

Now I am working in finance project , most of 98% has completed, database is sql server.
But the problem is that when i open my application it is opening very slowly.

I have used session in every pages............

can you please tell me what is the cause that it is slow.

In between the 5 or 6 days we are going to host this..
Is there any problem after hosting

please explain briefly..................
thanks.

推荐答案

看看这个.

Have a look at this.

Google Search Result


如果性能问题仅与在浏览器中打开应用程序有关,则听起来像是应用程序池问题. .net Web应用程序会遇到此问题,因为托管该应用程序的应用程序池通常需要先进行预热.请查看以下链接,尤其是有关应用程序池调整和应用程序池设置的部分:

http://technet.microsoft.com/en-us/library/cc745955.aspx [ ^ ]

希望它能对您有所帮助.
If the performance problem is solely related to opening the application in your browser, it sounds like an application pool issue. .net web applications run into this issue because often the application pool hosting the application needs warming up first. Have a look at the following link, especially the sections on application pool tuning and application pool settings:

http://technet.microsoft.com/en-us/library/cc745955.aspx[^]

Hope it helps.


只是因为您使用了会话状态,它对加速应用程序没有任何作用.实际上,严重的使用期限或不适当的使用期限会对性能和可伸缩性产生极大的不利影响.由于您尚未显示使用方式,因此我们无法具体回答.

性能下降的原因很多.图像太多或太大.正在加载太多初始数据.服务器或连接速度慢.原因太多,您提供的信息也太少了.

确定您的指标是什么,您想要什么性能?然后查看每个组件.数据访问是瓶颈吗?这是一些业务逻辑吗?是页面加载,渲染还是处理?
Just because you have used session state it doesn''t do anything to speed up your application. In fact, heavy or inappropriate use age can have an extremely detrimental effect on performance and scalability. Since you have not shown how you are using we can''t answer specifically.

Slow performance has many causes. Too many, or too large, images. Too much initial data being loaded. Slow servers or connections. There are far too many causes and you have provided far too little information.

Identify what your metrics are, what is the performance you want? Then look at each component. Is the data access a bottleneck? Is it some business logic? Is it the page loading, rendering or processing?


这篇关于当我运行我的Web应用程序时,它正在缓慢打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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