Sign In
PerfWorld.com
ASP.NET Performance Tuning, Coding Standards, Guidelines, Best Practices, and Other Buzzwords
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Tags
ASP.NET
IIS
Performance Counters
Powershell
Precompile
Browse by Tags
MSDN Blogs
>
PerfWorld.com
>
All Tags
>
asp.net
Tagged Content List
Blog Post:
How can I disable batch compilation for my ASP.NET web pages so that the first user accessing the web site doesn’t experience slow performance?
Reuben Frost
The batch property of the compilation element, which is enabled by default in ASP.NET, is used to control whether the initial page request will continue to compile additional files in the same directory before completing the original request. This can cause significant delay to the first several initial...
on
13 Jan 2010
Blog Post:
How can I improve the performance of ASP.NET by adjusting the CLR thread throttling properties?
Reuben Frost
This post applies to: .NET 2.0, 3.0 & 3.5. The CLR uses an adjustable threshold property called minWorkerThreads and minIoThreads to control when to introduce throttling to thread creation. The idea behind the delay is to prevent a burst in request load from quickly creating additional threads...
on
13 Jan 2010
Blog Post:
How can I throw an exception without losing the original stack trace information in .NET?
Reuben Frost
Use the "throw" keyword in place of "throw ex" to perserve the original stack trace information. When you throw an exception using “throw ex” instead of “throw” you override the original stack trace with a new stack trace that starts from the throwing method. This can make tracking down the root causes...
on
15 Jun 2009
Blog Post:
How can I deploy a single ASP.NET web page to a web site that is precompiled?
Reuben Frost
Every now and then, you may find yourself in the situation where you need to deploy a single file on a precompiled web site. I know I certainly have. Here are the steps that I would use to accomplish this: Build and precompile your whole web site as usual; Search in the "Bin" folder of the...
on
29 Jan 2009
Blog Post:
How can I precompile my ASP.NET web pages so that the first user accessing the web site doesn’t experience slow performance?
Reuben Frost
Precompiling your ASP.NET web pages is a great way to increase the performance of your web site. Once your web site has been precompiled, all of the content of your .ASPX, ASMX, ASAX, etc. files will be transformed into DLLs and placed in the "Bin" folder of your web site. If you were to open one...
on
29 Jan 2009
Blog Post:
How do I prevent ASP.NET trace and debug flags from being left enabled inadvertently in a production environment?
Reuben Frost
In the Maching.config file, there is a "deployment" element that you can add and set that will help in this area. Once set, this element will tell the ASP.NET process ignore several security and performance related settings that may have been left enabled inadvertently in the web.config and deployed...
on
27 Jan 2009
Blog Post:
How do I enable GZip compression for my web server in IIS?
Reuben Frost
GZip/Deflate compression will compress the response payload from the IIS web server to the browser. Pages that seem to run fast on the server but run slow over the network will see a big speed increase. I typically see around a 60% to 70% reduction in network traffic with GZip enabled. This could mean...
on
27 Jan 2009
Blog Post:
What are the basic performance counters that I should care about to measure the performance of my ASP.NET web site?
Reuben Frost
Review the ASP.NET Applications\Requests/Sec counter to determine how fast you are able to process work per second. Higher is better. Revew the ASP.NET Applications\Request Execution Time counter to determine how fast a page takes to execute. Lower is better. Review the ASP.NET Applications\Requests...
on
20 Jan 2009
Page 1 of 1 (8 items)