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

by jask2002 23. March 2012 07:22
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.

[More]

PayPal — The safer, easier way to pay online. Has this post helped you? Saved you? If you'd like to show your appreciation. Please buy me a coffee or make a small contribution toward blog's maintenance(to keep it Ads free )

Tags: , , , ,

.Net | Debugging | GC

About me

Hi there,

My name is  Jas and I'm currently working with Microsoft IIS/ASP.Net Escalation services.

Tag cloud

Month List

RecentComments

Comment RSS
 

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.