Archive for December, 2011

Setting the scrollbar for a treeview in WPF

Benjamin Perkins C#

I wanted a treeviews max height to be about 15% smaller than the window hosting it. This was because I wasn’t able to get (could not get) the vertical scrollbar for the treeview to show up without setting the MaxHeight property. Statically setting the MaxHeight property did make the vertical scrollbar show up, however when […]

Read More →

Modifying IIS 6 log data in Windows 2003

IIS Benjamin Perkins

All IIS logging properties are not selected by default. Some of them, which are not selected by default can add some valuable information when troubleshooting performance or availability issues. To modify the properties which IIS 6 logs, first select the web site which you want to log and select properties as show in Figure 1. […]

Read More →

Setting up performance counters for ASP.NET

ASP.NET Benjamin Perkins

Troubleshooting a performance problem can be very complicated. Unfortunately, in many cases you prepare and begin learning about how to fix a performance problem when it is happening or just after a performance problem. The fact is, you need to monitor your system and gather statistics on what is considered “standard operating performance” before a […]

Read More →

Modify the Request Queue Limit, requestQueueLimit or Queue Length in IIS

IIS Benjamin Perkins

When optimizing and tuning an ASP.NET application you may want to increase the value of the requestQueueLimit. The requestQueueLimit is the maximum number of requests that can be queued by an ASP.NET process before errors get returned to the client. Modify Request Queue Limit within the Aspnet.config Below, the requestQueueLimit is configured in the Aspnet.config […]

Read More →