the problem with using the gdi library is that it is not free threaded.
this means that one asp.net request could block another (as some
routines can only be used one thread ata time). this can cause a
performance problem. there is also small chance with async processing a
webrequest could block it self. you can avoid this by setting aspcompat
on (which limits a webrequest to one thread) and again limits
performance. the aspcompat feature is not available to web services.
another minor problem is you could call a routine that accesses the
desktop, and of course this would throw an exception.
-- bruce (sqlwork.com)
Djm181 wrote:
Quote:
According to this page: http://msdn2.microsoft.com/en-us/lib...m.drawing.aspx - System.Drawing
shouldn't be used from an ASP.NET application. For a start this seems mad,
but plenty of people (including me) are doing this. Does this documentation
mean something other than what I am reading?
Cheers
David |