Appendix B: Scott Guthrie s Top Performance Tips


Overview

Note

With thanks to Scott Guthrie, the inventor of ASP.NET.

Here are Scott's top tips for maximizing performance of your ASP.NET applications, plus a few things to watch out for.

In general, ASP.NET pages take longer to respond on the first 'hit' due to the extra instantiation and compilation sequence. However, after they are first compiled, they are faster for all subsequent accesses . Although pages with very little code may provide around the same performance as ASP 3.0 pages, more complex pages are actually a lot faster due to the compilation of the code they contain.

The best benefit/cost ratio for an ASP.NET server is achievable on a two-processor machine. With ADO.NET data access, a four-processor machine can be beneficial, but is far more costly “two to three thousand dollars will buy a good twin-processor server, whereas a four-processor machine is in the twenty thousand dollar price range.




Professional ASP. NET 1.1
Professional ASP.NET MVC 1.0 (Wrox Programmer to Programmer)
ISBN: 0470384611
EAN: 2147483647
Year: 2006
Pages: 243

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net