Browse by Tags

ASP.NET Tips: Careful Use of Static's
Not sure how many people realize it, but when you start dealing with multiple users access a system (in this case a web server), you have to be very careful what you store in static's (global variables).  This is because all the users will have access Read More...
Posted 18 September 08 06:00 by Tom | 13 Comments   
Filed under , ,
Improving Time-Critical Code written in C
Writing web pages is very similar to writing any other type of code.  You have to understand how it is going to be used and where you need to really make things run as quickly as possible. There are a number of tips on this blog already that deal Read More...
ASP.NET Tip: Keep hidden files hidden
I have seen a few cases of this so I wanted to let everyone know.  If you install the FrontPage Server Extensions (FPSE) on a web server, it will install some configuration files in a directory under your web site called _vti_cnf.  This folder Read More...
ASP.NET Tip: ASP.NET MSDN Site
Have you checked out the MSDN site for ASP.NET lately?  It is full of useful information.  You can find it at the ASP.NET Developer Center .  My favorite things to check out are the “How Do I” videos.  They can be really helpful and Read More...
Posted 20 August 08 06:00 by Tom | 3 Comments   
Filed under , , ,
ASP.NET Tips: Loading a DLL out of the bin directory
Question A customer has created a web project which references a class library project.  When deployed to the local machine the web/classes all work fine.  When deployed to a ‘shared’ IIS site, the class DLLs exist in the /bin folder, but the Read More...
Posted 21 July 08 06:00 by Tom | 8 Comments   
Filed under , , ,
ASP.NET and Performance
I wanted to talk about monitoring performance in ASP.NET for a bit.  I have already posted a few postings that talk around this issue, namely: ASP.NET Debugging - High Memory part 5 – Fragmentation ASP.NET Debugging - ASP.NET Tips- How to use DebugDiag Read More...
ASP.NET Tips: What to gather to troubleshoot
So now that I am done with all the individual posts, I thought I would wrap them all together.  So here are all of the posts that I created on gathering information when you are having a problem. Please keep in mind that these are geared towards Read More...
ASP.NET Tips: What to gather to troubleshoot - part 6 - Recycle due to memoryLimit
Here is another situation that you may come across and what to do in order to gather information about it. The following steps will configure DebugDiag to automatically capture a memory dump of the ASPNET_WP.exe process recycling when it exceeds the memoryLimit.  Read More...
ASP.NET Tips: What to gather to troubleshoot - part 5 - OutOfMemoryException
So we already talked about what to gather when you are experiencing high memory .  But what if you are actually getting a System.OutOfMemoryException?  Here is how you capture a dump at the time you are running out of memory. The following steps Read More...
ASP.NET Tips: What to gather to troubleshoot - part 4 - Deadlocks
There are two ways to gather data in a Deadlock situation.  If you are using Windows 2003 or later (IIS 6.0 or later), then follow the steps in the KB 828222 If you are using an older version of IIS, then follow the steps below: Before the issue Read More...
Posted 14 May 08 11:35 by Tom | 3 Comments   
Filed under , , , , ,
ASP.NET Tips: What to gather to troubleshoot – part 3 – Crash
Defining an IIS Crash A Crash in IIS occurs when an IIS process (INETINFO.EXE, DLLHOST.EXE, W3WP.EXE) terminates unexpectedly. A Crash typically happens when there is an Unhandled Exception caused by an Access Violation, Stack Overflow, etc. In these Read More...
Posted 06 May 08 11:39 by Tom | 5 Comments   
Filed under , , , ,
ASP.NET Tips: What to gather to troubleshoot – part 2 – High Memory
Identifying a Memory leak A Memory Leak in an IIS process (INETINFO.EXE, DLLHOST.EXE, W3WP.EXE) occurs when Memory Usage in Task Manager continues to consume more than 50% of the physical RAM until running out of system memory or until the process stops Read More...
ASP.NET Tips: What to gather to troubleshoot – part 1 – High CPU or Hang
On machines running IIS5 and IIS5.1, these are the Inetinfo.exe, DLLHost.exe and/or ASPNET_WP.exe processes. On machines running IIS 6 or 7, this is the w3wp.exe process. The following steps will allow us to get log files of the processes hosting the Read More...
ASP.NET Tips: Looking at the finalization queue
So in a previous post, we talked about Understanding when to use a Finalizer in your .NET class so now lets take a look at what the Finalize queue looks like and how to tell if things are bad. The command we use is !finalizequeue in sos: 0:010> !finalizequeue Read More...
Posted 28 April 08 12:12 by Tom | 4 Comments   
Filed under , , , ,
ASP.NET Tips: How to use DebugDiag to track down where a performance problem is coming from
We recently had a case where the customer was having performance problems. They were seeing requests take a few minutes to return and didn’t know what was happening. So they took some dumps while the problem was happening. So we ran this dump through Read More...
Posted 25 April 08 03:54 by Tom | 7 Comments   
Filed under , , , ,
More Posts Next page »

Search

This Blog

Page view tracker