May 2008 - Posts

Other bloggers you may want to check out
If you are into reading about ASP.NET, Debugging, or any of the other topics that I write about, here are some others that you may want to check out: ScottGu - ASP.NET Manager.  He has all the updates on the new things coming out for ASP.NET and Read More...
Posted 30 May 08 07:06 by Tom | 3 Comments   
Filed under , , ,
REMIX08 Demo of using DeepZoom to it’s fullest
If you weren’t at REMIX08 and want to see what Jose showed in his demo, just watch the video below. This is a really cool demo showing the power of DeepZoom, and the most amazing part… He only spent 30 minutes creating each of the demos!  Not only Read More...
SQL Injection and how to avoid it
It isn't as big of a deal at the moment, but it is always good to make sure everyone is aware of this and how dangerous it can be.  There is some very good information on it located on MSDN here .  The important part is to remember that anytime Read More...
Posted 29 May 08 10:18 by Tom | 36 Comments   
Filed under , ,
ASP.NET and Virtual Machines
I am beginning to install Hyper-V on one of my machines and set up a few virtual machines.  I wanted to get some discussion going on if others are using this technology and what kind of issues you are having with ASP.NET. This could be either development Read More...
Posted 28 May 08 12:18 by Tom | 11 Comments   
Filed under ,
ASP.NET Application Life Cycle
Have you ever wondered about all the stages that an ASP.NET request goes through?  Ever wonder why it is such a performance hit to have a wildcard mapping to map all extensions on your web server to ASP.NET?  This information corresponds to Read More...
Posted 27 May 08 06:00 by Tom | 6 Comments   
Filed under
ASP.NET Tips: Expression Web vs Visual Studio
So there are now two different editors that are out from Microsoft.  There is Visual Studio which has been around for a long time and now a new tool called Expression Web .  So which should you use? Well it all comes down to what you are going Read More...
ASP.NET, Visual Studio and Vista
I know that Vista has been out for a while, but just in case people are looking for information on how to use ASP.NET 1.1, Visual Studio 2005, or Visual Studio 2003 on Vista, here are some very helpful links. Using Visual Studio 2005 on Vista for web Read More...
Posted 22 May 08 06:00 by Tom | 11 Comments   
Filed under , ,
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...
Visual Studio 2008 and .NET Framework SP1 Beta
Just in case anyone hasn't heard yet, we have released a beta of Visual Studio 2008 and the .NET Framework 3.5 Service Pack 1.  This was announced by Soma here . There are many new things coming in this Service Pack that Soma goes into describing.  Read More...
Posted 20 May 08 02:22 by Tom | 5 Comments   
Filed under , ,
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...
What is the story with these files ending with ni?
If you have done much debugging with .NET 2.0, you have probably come across these files before.  For example, instead of seeing mscorlib.dll in your process, you will see mscorlib_ni.dll.  So what are these files? .ni images are precompiled Read More...
Posted 19 May 08 03:59 by Tom | 7 Comments   
Filed under , ,
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...
ANSWER: POP QUIZ: What’s wrong with this code – part 2
This was a trick question.  There is actually nothing wrong with this code.  Take a look at this in regards to this type of code: 9.3/9: A member function can be declared (but not defined) using a typedef for a function type.  The resulting Read More...
Posted 16 May 08 06:00 by Tom | 2 Comments   
Your debugging experience - I want to hear from you
So I would like to hear from you guys.  I am getting ready to start working a lot on creating some debugging videos (I have already created one and just have to clean it up a little).  But it got me thinking that I would would to hear how you Read More...
Posted 15 May 08 11:27 by Tom | 3 Comments   
Filed under , , ,
Useful Debugging tools from CodePlex
So I was looking around CodePlex the other day and I came across some really useful tools up there that I thought I would share.  Not all of these will apply to everyone, but they can be really useful things and I would recommend you to check them Read More...
Posted 15 May 08 04:13 by Tom | 8 Comments   
Filed under , , , ,
ASP.NET Tips: What to gather to troubleshoot - part 3a - Crash revisited
In the previous post around capturing a dump for a crash, we were talking about using DebugDiag .  But what if we can't use this tool.  There are various reasons for this, maybe we don't want to have it installed on the server, or maybe we are Read More...
Posted 15 May 08 11:11 by Tom | 4 Comments   
Filed under , , , ,
POP QUIZ: What’s wrong with this code – part 2
Here is another snippet of code for you to look at and tell me what is wrong.  As before, give your comment of what is wrong and I will post the answer and make the comments public tomorrow.  This time it is C++ code and not specific to ASP.NET: Read More...
Silverlight 2.0 and NFL Free Agency
This is a really cool application that shows off the power of Silverlight 2.0.  You can use this application to see the movement of players to or away from an NFL team.  You just click on the team on the left and then after a couple seconds, Read More...
Posted 14 May 08 05:05 by Tom | 4 Comments   
Filed under ,
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 , , , , ,
In case you missed MIX
There were a lot of great sessions at MIX this year and in case you missed them, I wanted to let you know where you can find them at.  For individual sessions, you can go here . But there is a better way to go through some of the really cool information Read More...
Posted 14 May 08 11:01 by Tom | 1 Comments   
Filed under , , , ,
The WorldWide Telescope
If you haven’t heard of this project, now is a great time to check it out.  You can find the project at: http://www.worldwidetelescope.org/ The Microsoft Research team has created this site which allows you to explore the universe in a very unique Read More...
Posted 13 May 08 09:43 by Tom | 9 Comments   
Filed under
Debugging .NET Framework Source Code
I am not sure how many people are familiar with the .NET Reference Source project, but if you do a lot of debugging of .NET code, chances are that you have had a situation where you wanted to be able to step into the .NET Source from within Visual Studio. Read More...
How to create a virtual machine from a physical one
One of the common things that we run into is the ability, or lack there of, to reproduce an issue.  It is very difficult to fix an issue and be confident that you have fixed the issue unless you can reproduce it.  It is also much faster to troubleshoot Read More...
Posted 12 May 08 10:09 by Tom | 2 Comments   
Filed under ,
Getting more information from !clrstack
When debugging, some of you may have noticed that looking at a managed callstack looks a little different then a native one.  One of the big differences is that you don't see the parameters that are passed to the function.  So what can we do Read More...
Posted 09 May 08 10:16 by Tom | 3 Comments   
Filed under , , ,
ANSWER: POP QUIZ: Troubleshoot a Hang
We got some really good answers to this quiz.  I am going to give my answer but it isn’t the only possible way to resolve this. The easiest way is to use my previous post found at ASP.NET Tips- How to use DebugDiag to track down where a performance Read More...
Posted 08 May 08 01:26 by Tom | 0 Comments   
POP QUIZ: How to Troubleshoot a Hang
For this quiz.  Let’s say that you run a web server and your customers complain that the site is running slow.  What do you do to troubleshoot it? As a follow-up, if you figure out that one page is the problem, what do you do to look into what Read More...
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...
Job openings with the .NET Framework Team
Are you interested in working on .NET and helping to shape it’s future?  The .NET Framework team is hiring .  These are some great opportunities that I highly suggest you check out.  There is everything from being a Program Manager and Read More...
Posted 01 May 08 09:55 by Tom | 2 Comments   
Filed under , , ,

Search

This Blog

Syndication

Page view tracker