压力测试ASP.Net应用程序 [英] Stress Testing ASP.Net application

查看:160
本文介绍了压力测试ASP.Net应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有哪些不同的方式,我们可以做的asp.net应用程序压力测试的一些最佳水平,将其移动到生产环境之前?

what are different ways that we can do some optimum level of stress testing for asp.net application before moving it to the production environment ?

推荐答案

下面是在asp.net应用程序压力测试的免费工具。

Here is the free tool for the stress testing in asp.net application.

<一个href=\"http://blogs.msdn.com/alikl/archive/2008/03/09/stress-test-asp-net-web-application-with-free-wcat-tool.aspx\">http://blogs.msdn.com/alikl/archive/2008/03/09/stress-test-asp-net-web-application-with-free-wcat-tool.aspx

另一个叫asp.net政绩工程,这将告诉我们如何强调应用。

Another is called asp.net performance engineering which will tell how we can stress application.

<一个href=\"http://blogs.msdn.com/alikl/archive/2008/05/05/asp-net-performance-engineering-stress-test-your-architecture-design-and-$c$c.aspx\">http://blogs.msdn.com/alikl/archive/2008/05/05/asp-net-performance-engineering-stress-test-your-architecture-design-and-$c$c.aspx

另外经过以下职位:

<一个href=\"http://stackoverflow.com/questions/340564/best-way-to-stress-test-a-website\">http://stackoverflow.com/questions/340564/best-way-to-stress-test-a-website

从移动到生产环境,请考虑下面的事情之前,我的经验。

From my experience before moving to the production environment please take of following things.

1)设置调试=假到web.config中

1) set debug=false into the web.config

2)启用=假到web.config中设置的跟踪

2) set trace enabled=false into the web.config

3)总是用你的$ C $的C precompiled版本。

3) Always use precompiled version of your code.

4)编译您的项目进入释放模式。

4) Compile your project into the release mode.

5)发布您的code。如果是使用asp.net 2.0或更高版本。

5) Publish your code if you are using asp.net 2.0 or higher version

6)用户缓存API尽可能的。

6) User caching api as much as possible.

7)减少你的HTML KB。

7) Decrease your html kb.

8)从asp.net HTML code删除空格。

8) remove blank spaces from the asp.net html code.

9)使用样式表作为外部.css文件

9) Use stylesheet as external .css file

10)使用IIS的COM pression如果poosible。

10) USE IIS Compression if poosible.

11)把你的JavaScript文件中.js文件

11) Put your javascript file in .js files

12)使用的Server.Transfer代替Response.Redirect的

12) Use Server.Transfer instead of Response.redirect

13)使用InProc会话状态如果可能的话。

13) Use Inproc Session State if possible.

14)使用视图状态efficiently-使用了ControlState-而不是视图状态这是在asp.net新功能2.0

14) Use Viewstate efficiently- Use controlstate instead of viewstate which is newer feature in asp.net 2.0

15),避免给大牌来控制它会增加你的HTML KB。

15) Avoid giving big name to controls it will increase your html kb.

16)div的使用,而不是表会降低你的尺寸。

16) Use Div instead of tables it will decrease your size.

17)不要IIS性能调整按您的要求。

17) Do IIS Performance tuning as per your requirement

下面是教导我们在生产环境中部署的好方法很好的链接。

Here is the good link that teaches us good way of deployment in production environment.

<一个href=\"http://www.vbdotnetheaven.com/UploadFile/dsdaf/111222006014732AM/1.aspx\">http://www.vbdotnetheaven.com/UploadFile/dsdaf/111222006014732AM/1.aspx

这篇关于压力测试ASP.Net应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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