Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
147 views
in Technique[技术] by (71.8m points)

Stress Testing ASP.Net application


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

https://docs.microsoft.com/en-us/archive/blogs/alikl/stress-test-asp-net-web-application-with-free-wcat-tool

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

https://docs.microsoft.com/en-us/archive/blogs/alikl/asp-net-performance-engineering-stress-test-your-architecture-design-and-code

Also go through the following post:

Best way to stress test a website

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

  1. set debug=false into the web.config

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

  3. Always use precompiled version of your code.

  4. Compile your project into the release mode.

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

  6. User caching api as much as possible.

  7. Decrease your html kb.

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

  9. Use stylesheet as external .css file

  10. USE IIS Compression if poosible.

  11. Put your javascript file in .js files

  12. Use Server.Transfer instead of Response.redirect

  13. Use Inproc Session State if possible.

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

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

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

  17. Do IIS Performance tuning as per your requirement

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

http://www.vbdotnetheaven.com/UploadFile/dsdaf/111222006014732AM/1.aspx


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...