Why you should not use System.Drawing from ASP.NET applications


Probably you would heard it many times and it is quite evident from the MSDN article  http://msdn.microsoft.com/en-us/library/system.drawing.aspx

“Classes within the System.Drawing namespace are not supported for use within a Windows or ASP.NET service. Attempting to use these classes from within one of these application types may produce unexpected problems, such as diminished service performance and run-time exceptions.”

Today I’ll try to explain WHY it is not supported through the windbg dump analysis.


Read More

Comments (1)

  1. tarasul says:

    Access denied "Read more"

Skip to main content