Click here to Skip to main content
15,887,083 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Throw it like you mean it... Pin
Dave Kreskowiak26-Aug-09 1:56
mveDave Kreskowiak26-Aug-09 1:56 
GeneralRe: Throw it like you mean it... Pin
Adriaan Davel30-Aug-09 19:15
Adriaan Davel30-Aug-09 19:15 
GeneralRe: Throw it like you mean it... PinPopular
Gideon Engelberth21-Aug-09 3:53
Gideon Engelberth21-Aug-09 3:53 
GeneralRe: Throw it like you mean it... Pin
Adriaan Davel25-Aug-09 19:19
Adriaan Davel25-Aug-09 19:19 
GeneralRe: Throw it like you mean it... Pin
supercat925-Aug-09 5:25
supercat925-Aug-09 5:25 
GeneralRe: Throw it like you mean it... Pin
Adriaan Davel25-Aug-09 19:40
Adriaan Davel25-Aug-09 19:40 
GeneralRe: Throw it like you mean it... Pin
supercat926-Aug-09 5:40
supercat926-Aug-09 5:40 
GeneralRe: Throw it like you mean it... Pin
Adriaan Davel30-Aug-09 19:33
Adriaan Davel30-Aug-09 19:33 
supercat9 wrote:
Hmm.... I wonder whether it would be worthwhile to have a SQL library support a connect-string option for whether to report detailed data in its error messages


Yeah, something like that could work for SQL. SQL would probably not know if the connection is in debug mode so something like that would be required (or something like SET DEBUG_MESSAGE_DETAIL ON;), but for the .Net Framework there should be something like if (DEBUG) throw new ExceptionWithDetail(); else throw new Exception();, not sure if that will add significant code overhead though, or if we can get a SDK version of the framework that throws with detail but a "run time" version that throws without... (Or maybe inside the exception class collect info or not based on the DEBUG status)

supercat9 wrote:
Key values would have a high likelihood of holding confidential data


Not sure if I agree with you fully on that but that is a matter of design, and can in some cases contain confidential data. I prefer to use and IDENTITY column or a GUID for keys (PRIMARY or FOREIGN), but Business Keys like Credit Card number will be confidential, so yeah, its not a simple thing to do but will have huge benefits for us coders and debuggers...

____________________________________________________________
Be brave little warrior, be VERY brave

GeneralRe: Throw it like you mean it... Pin
supercat931-Aug-09 5:11
supercat931-Aug-09 5:11 
GeneralRe: Throw it like you mean it... Pin
Adriaan Davel31-Aug-09 19:30
Adriaan Davel31-Aug-09 19:30 
GeneralRe: Throw it like you mean it... Pin
Adriaan Davel31-Aug-09 0:39
Adriaan Davel31-Aug-09 0:39 
QuestionRecognizing an object instance after regenerating dinamicly the assembly Pin
Mehdi_S21-Aug-09 0:06
Mehdi_S21-Aug-09 0:06 
QuestionKeeping Command Console Open After Running Process Pin
Tristan Rhodes20-Aug-09 23:45
Tristan Rhodes20-Aug-09 23:45 
AnswerRe: Keeping Command Console Open After Running Process Pin
Alan N21-Aug-09 7:38
Alan N21-Aug-09 7:38 
AnswerRe: Keeping Command Console Open After Running Process Pin
qmartens22-Aug-09 19:46
qmartens22-Aug-09 19:46 
GeneralRe: Keeping Command Console Open After Running Process Pin
Alan N23-Aug-09 7:08
Alan N23-Aug-09 7:08 
GeneralRe: Keeping Command Console Open After Running Process Pin
Tristan Rhodes23-Aug-09 22:59
Tristan Rhodes23-Aug-09 22:59 
Questionautopositioning in visual studio 2008 Pin
myinstincts20-Aug-09 21:28
myinstincts20-Aug-09 21:28 
AnswerRe: autopositioning in visual studio 2008 Pin
Eddy Vluggen20-Aug-09 22:34
professionalEddy Vluggen20-Aug-09 22:34 
Questionpartition in windows form Pin
myinstincts20-Aug-09 19:20
myinstincts20-Aug-09 19:20 
AnswerRe: partition in windows form Pin
Suresh Suthar20-Aug-09 20:31
professionalSuresh Suthar20-Aug-09 20:31 
GeneralRe: partition in windows form Pin
myinstincts20-Aug-09 21:48
myinstincts20-Aug-09 21:48 
GeneralRe: partition in windows form Pin
Hristo-Bojilov20-Aug-09 23:05
Hristo-Bojilov20-Aug-09 23:05 
QuestionDebugging Weirdness [SOLVED] Pin
#realJSOP20-Aug-09 9:03
mve#realJSOP20-Aug-09 9:03 
AnswerRe: Debugging Weirdness Pin
Dave Kreskowiak20-Aug-09 9:51
mveDave Kreskowiak20-Aug-09 9:51 

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.