Click here to Skip to main content
16,004,974 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: UDPClient "hangs" on second send/recieve Pin
John_Allred28-Nov-07 13:26
John_Allred28-Nov-07 13:26 
QuestionChecking internet connection, the rigth approach Pin
Oshtri Deka25-Nov-07 5:34
professionalOshtri Deka25-Nov-07 5:34 
AnswerRe: Checking internet connection, the rigth approach Pin
Vasudevan Deepak Kumar25-Nov-07 18:11
Vasudevan Deepak Kumar25-Nov-07 18:11 
AnswerRe: Checking internet connection, the rigth approach Pin
John_Allred29-Nov-07 9:51
John_Allred29-Nov-07 9:51 
QuestionProgressBar Control [SOLVED] Pin
#realJSOP25-Nov-07 2:30
professional#realJSOP25-Nov-07 2:30 
AnswerRe: ProgressBar Control Pin
Luc Pattyn25-Nov-07 3:09
sitebuilderLuc Pattyn25-Nov-07 3:09 
QuestionLogs, logging, best practice... advice please Pin
Oshtri Deka23-Nov-07 10:06
professionalOshtri Deka23-Nov-07 10:06 
AnswerRe: Logs, logging, best practice... advice please Pin
Robert Rohde24-Nov-07 21:41
Robert Rohde24-Nov-07 21:41 
Hi,

logging everything to the EventLog isn't so good if you ask me. It should only be used if it is really system critical and is only appropriate for very few logs. Logging to a file is better. But it should be done in some user specific directory. Vista for example doesn't like it much if you change the programs folder.
Have a look at log4net[^]. With it you can "just log" in your application. The configuration file than controls which logs of what level in which class get logged to a file, the EventLog or some other destination. You can also easiliy change this behaviour once your application is deployed.

Robert



AnswerRe: Logs, logging, best practice... advice please Pin
Not Active25-Nov-07 12:51
mentorNot Active25-Nov-07 12:51 
AnswerRe: Logs, logging, best practice... advice please Pin
Vasudevan Deepak Kumar25-Nov-07 18:11
Vasudevan Deepak Kumar25-Nov-07 18:11 
AnswerRe: Logs, logging, best practice... advice please Pin
PIEBALDconsult26-Nov-07 9:28
mvePIEBALDconsult26-Nov-07 9:28 
QuestionAccurate DateTime.Now change notifications? Pin
chaiguy133723-Nov-07 7:35
chaiguy133723-Nov-07 7:35 
AnswerRe: Accurate DateTime.Now change notifications? Pin
Luc Pattyn23-Nov-07 8:25
sitebuilderLuc Pattyn23-Nov-07 8:25 
GeneralRe: Accurate DateTime.Now change notifications? Pin
chaiguy133723-Nov-07 8:37
chaiguy133723-Nov-07 8:37 
QuestionCalling .m file from VB .Net Pin
Atrish22-Nov-07 19:57
Atrish22-Nov-07 19:57 
AnswerRe: Calling .m file from VB .Net Pin
Vasudevan Deepak Kumar22-Nov-07 20:59
Vasudevan Deepak Kumar22-Nov-07 20:59 
AnswerRe: Calling .m file from VB .Net Pin
Dave Kreskowiak23-Nov-07 5:15
mveDave Kreskowiak23-Nov-07 5:15 
QuestionRestarting of remote-type's server Pin
Kurkin Dmitry22-Nov-07 18:22
Kurkin Dmitry22-Nov-07 18:22 
QuestionMicrosoft .NET Framework 3.0 Service Pack 1 Pin
mejax22-Nov-07 7:54
mejax22-Nov-07 7:54 
AnswerRe: Microsoft .NET Framework 3.0 Service Pack 1 Pin
Vasudevan Deepak Kumar22-Nov-07 21:01
Vasudevan Deepak Kumar22-Nov-07 21:01 
QuestionBring .NET windows to the front Pin
__DanC__22-Nov-07 2:34
__DanC__22-Nov-07 2:34 
AnswerRe: Bring .NET windows to the front Pin
chaiguy133723-Nov-07 7:40
chaiguy133723-Nov-07 7:40 
QuestionLogin Control Pin
Rock Star.22-Nov-07 1:32
Rock Star.22-Nov-07 1:32 
AnswerRe: Login Control Pin
Pete O'Hanlon22-Nov-07 1:48
mvePete O'Hanlon22-Nov-07 1:48 
QuestionDoc to PDF conversion Pin
mynameatif21-Nov-07 2:07
mynameatif21-Nov-07 2:07 

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.