Sign in
If broken it is, fix it you should
Using the powers of the debugger to solve the problems of the world - and a bag of chips by Tess Ferrandez, ASP.NET Escalation Engineer (Microsoft)
Tess Ferrandez
I work as a developer evangelist at Microsoft, and my job is to help developers make the most of their skills on the MS stack.
In this blog I share tips on anything from debugging and troubleshooting to development on platforms like Windows, Web, Windows Phone and Kinect. And also some random tidbits about computing and my life at MS.
If you are new here, start with:
My debugging labs (Buggy Bits)
My Silverlight labs (building a game)
XNA for Windows Phone Walkthrough (building a game)
Thanks for visiting my blog
@TessFerrandez
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search this blog
Tags
ASP.NET
Crash scenarios
Debugging
Debugging Labs
General debugging tidbits
JavaScript
Kinect SDK
Memory issues
Pages
Performance issues and hangs
presentation
Silverlight
SOSEX
Windows 8
Windows Phone
Windows8
XNA
Archive
Archives
May 2013
(1)
April 2013
(1)
May 2012
(1)
March 2012
(8)
August 2011
(3)
May 2011
(1)
December 2010
(1)
November 2010
(1)
September 2010
(3)
August 2010
(2)
June 2010
(1)
May 2010
(1)
April 2010
(3)
March 2010
(4)
February 2010
(2)
January 2010
(2)
December 2009
(2)
November 2009
(2)
October 2009
(4)
September 2009
(4)
August 2009
(2)
July 2009
(1)
June 2009
(3)
May 2009
(3)
April 2009
(5)
March 2009
(9)
February 2009
(2)
January 2009
(6)
November 2008
(8)
October 2008
(7)
September 2008
(7)
August 2008
(5)
July 2008
(1)
June 2008
(7)
May 2008
(12)
April 2008
(14)
March 2008
(12)
February 2008
(17)
January 2008
(5)
December 2007
(2)
November 2007
(1)
October 2007
(8)
September 2007
(3)
August 2007
(7)
June 2007
(5)
May 2007
(1)
April 2007
(5)
March 2007
(4)
January 2007
(1)
December 2006
(1)
November 2006
(2)
October 2006
(4)
September 2006
(3)
August 2006
(3)
June 2006
(1)
May 2006
(1)
April 2006
(5)
March 2006
(2)
February 2006
(8)
January 2006
(7)
December 2005
(3)
November 2005
(6)
April, 2006
MSDN Blogs
>
If broken it is, fix it you should
>
April, 2006
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
If broken it is, fix it you should
ASP.NET Memory: If your application is in production… then why is debug=true
Posted
over 7 years ago
by
Tess1
86
Comments
Statement “Ensure that the debug="false" on the <compilation> element in the web.config file of each and every ASP.NET application on the server. The default during development is "true" and it is a common mistake to allow this development time setting to find its way onto production servers during deployment. You don't need it set to true in production and it often leads to memory overhead and inefficiencies.” What problems does leaving debug=true cause? There are three main...
If broken it is, fix it you should
ASP.NET 2.0 Crash case study: Unhandled exceptions
Posted
over 7 years ago
by
Tess1
84
Comments
For a long time all my case studies have been on 1.1. it’s time to venture out in 2.0 land and look at what may seem like a 2.0 specific issue. I say “may seem” because this case study will only directly crash if you are using 2.0, but as you’ll learn later the problem existed in 1.1 and 1.0, it was just way harder to track down. Problem description: Once in a while ASP.NET crashes and we see events in the system event log like this one Event Type: Warning Event Source: W3SVC...
If broken it is, fix it you should
ASP.NET: Strong named assemblies should not be stored in the bin directory
Posted
over 7 years ago
by
Tess1
21
Comments
Statement “In ASP.NET 1.1, do not deploy strong named assemblies to the BIN directory (i.e. if they are strong named make sure you DO put them in the GAC).” What problems do storing strong named assemblies in the bin directories cause? In ASP.NET 1.1, strong named assemblies are loaded as “domain neutral”. As you probably already know every asp.net application lives in its own application domain (a unit of isolation inside an application), and assemblies used by this application...
If broken it is, fix it you should
ASP.NET Memory: You use the same dll in multiple applications, is it really necessary to load it multiple times?
Posted
over 7 years ago
by
Tess1
6
Comments
Statement “Wherever possible strong name and install to the global assembly cache (GAC) any assemblies that are used by more than one ASP.NET application. This will reduce memory consumption.” What problems do storing common assemblies in the bin directories cause? Let’s say you host an e-commerce site and you have group of dlls for common tasks such as verifying user information, perhaps some special grid control, shopping cart, some business rules dlls etc. and you have ten different...
If broken it is, fix it you should
ASP.NET: Check your Web Site today for these common assembly related memory and perf issues
Posted
over 7 years ago
by
Tess1
3
Comments
Recently my colleague Doug wrote a nice post on Nine tips for a healthy "in production" ASP.NET application . I have been planning to post about some of these for a while, so I decided to steal some of his points and expand a bit on them, and also show you how you can identify them in a memory dump. As most of you know I like to go into great detail about things J so to make it a bit more manageable I have divided my posts up into 3 different parts (one per statement that Doug makes in...
Page 1 of 1 (5 items)