Browse by Tags

POP QUIZ: What’s wrong with this code – part 3
Imagine you are a developer and your boss comes to you complaining that your piece of code has been deemed to be taking up too much memory and causing problems for the application.  You take a look at your code and you see the following, assume that Read More...
POP QUIZ: What are Free Threads in the Threadpool
So here is the next trivia question for everyone.  If you have tried to change the Threadpool settings for .NET, you have seen the minFreeThreads and minLocalRequestFreeThreads settings. What are those settings really used for?  What do they Read More...
Posted 09 July 08 12:04 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...
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...
POP QUIZ: Why would you get this error from Windbg?
Problem 1 So here is the scenario.  You open a dump from when you were experiencing a problem and try to run an SOS command and you see: 0:024> !dumpheap -stat Cannot get the ThreadStore, do you have symbols for the mscorwks/mscorsvr files? What Read More...
POP QUIZ: SOS not loading properly
So for this quiz, we are going to be looking at attempting to load sos.dll for the .NET Framework 2.0. We get a dump file, and when we try to run a command on the dump file, we get an error like: So reading this, we see that we should run .cordll -ve Read More...
POP QUIZ: What to do next? – part 1
So here is the situation.  I will lead you down the debugging path and get us to a certain place and then ask you guys to solve the rest of the problem.  As before, leave your suggestions as comments.  I will wait until noon tomorrow to Read More...
ANSWER: POP QUIZ: What's wrong with this code - part 1
So here was the code we asked about: using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; Read More...
POP QUIZ: What's wrong with this code - part 1
Here is another trivia question. Comment with your answer and I will post the comments Friday along with the answer. What is wrong with this code Using Forms Authentication, here is Login.aspx.cs (updated the code slightly, assume the AuthenticateRequest Read More...

Search

This Blog

Page view tracker