Click here to Skip to main content
15,896,154 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Convert DateTime Pin
Guffa29-Sep-06 23:35
Guffa29-Sep-06 23:35 
QuestionGet N words of a string Pin
shapper29-Sep-06 14:45
shapper29-Sep-06 14:45 
AnswerRe: Get N words of a string Pin
Not Active29-Sep-06 15:39
mentorNot Active29-Sep-06 15:39 
GeneralRe: Get N words of a string Pin
Guffa29-Sep-06 22:51
Guffa29-Sep-06 22:51 
GeneralRe: Get N words of a string Pin
shapper30-Sep-06 2:13
shapper30-Sep-06 2:13 
AnswerRe: Get N words of a string Pin
Guffa1-Oct-06 8:49
Guffa1-Oct-06 8:49 
GeneralRe: Get N words of a string Pin
Not Active30-Sep-06 2:53
mentorNot Active30-Sep-06 2:53 
QuestionCaution against using System.Drawing namespace in ASP.NET Pin
Peter Josefsson Sweden29-Sep-06 12:59
Peter Josefsson Sweden29-Sep-06 12:59 
Hi all,

I've noticed that almost all of you who do some kind of dynamic imaging in web applications use the System.Drawing namespace and it's descendants. Is it only me, or are the rest of you also closing your eyes real hard (while remembering to be extra careful about when and what to Dispise()... um... Dispose() in your app) when you come across the following text in the reference?

Caution: 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.

Are they serious, or is this just to avoid having to support people who don't realize that they run in a server environment and don't program defensively enough? Does anyone have any real world experience of high-volume sites getting away with using System.Drawing? I have a couple of low-volume sites going, and as I normally only invoke System.Drawing each time I need a size or format I've never seen before (all old renderings from original images are cached to disk), it really never gets stressed, so it sort of doesn't count...

Peter, after midnight
QuestionActive Directory User Creation Pin
legionnaire29-Sep-06 12:07
legionnaire29-Sep-06 12:07 
AnswerRe: Active Directory User Creation Pin
legionnaire2-Oct-06 5:51
legionnaire2-Oct-06 5:51 
GeneralRe: Active Directory User Creation Pin
legionnaire2-Oct-06 6:24
legionnaire2-Oct-06 6:24 
QuestionFile Download Response..... Pin
Neo7869229-Sep-06 9:35
Neo7869229-Sep-06 9:35 
AnswerRe: File Download Response..... Pin
Jim Conigliaro29-Sep-06 10:45
Jim Conigliaro29-Sep-06 10:45 
QuestionRe: File Download Response..... Pin
Neo7869230-Sep-06 4:51
Neo7869230-Sep-06 4:51 
QuestionInherited TreeView Nodes and typeof Pin
perlmunger29-Sep-06 7:48
perlmunger29-Sep-06 7:48 
AnswerRe: Inherited TreeView Nodes and typeof Pin
minhpc_bk29-Sep-06 15:03
minhpc_bk29-Sep-06 15:03 
GeneralRe: Inherited TreeView Nodes and typeof Pin
perlmunger30-Sep-06 9:29
perlmunger30-Sep-06 9:29 
GeneralRe: Inherited TreeView Nodes and typeof Pin
minhpc_bk1-Oct-06 2:43
minhpc_bk1-Oct-06 2:43 
QuestionTableAdapter info Pin
robert11029-Sep-06 7:40
robert11029-Sep-06 7:40 
AnswerRe: TableAdapter info Pin
Not Active29-Sep-06 7:58
mentorNot Active29-Sep-06 7:58 
AnswerRe: TableAdapter info Pin
sanju027629-Sep-06 9:34
sanju027629-Sep-06 9:34 
Questionphp Pin
amaneet29-Sep-06 6:39
amaneet29-Sep-06 6:39 
AnswerRe: php Pin
nguyenvhn29-Sep-06 16:24
nguyenvhn29-Sep-06 16:24 
Questionphp Pin
amaneet29-Sep-06 6:25
amaneet29-Sep-06 6:25 
AnswerRe: php Pin
Not Active29-Sep-06 7:35
mentorNot Active29-Sep-06 7:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.