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

.NET (Core and Framework)

 
QuestionTechnologies for multiple-question application form. Pin
walkeraj14-Sep-07 10:52
walkeraj14-Sep-07 10:52 
AnswerRe: Technologies for multiple-question application form. Pin
Pete O'Hanlon16-Sep-07 9:20
mvePete O'Hanlon16-Sep-07 9:20 
Questiondetecting media player Pin
d_smit13-Sep-07 1:04
d_smit13-Sep-07 1:04 
AnswerRe: detecting media player Pin
Kenny McKee25-Sep-07 16:01
Kenny McKee25-Sep-07 16:01 
QuestionVS Designer Integration Pin
Tristan Rhodes12-Sep-07 23:38
Tristan Rhodes12-Sep-07 23:38 
AnswerRe: VS Designer Integration Pin
Dave Kreskowiak13-Sep-07 6:15
mveDave Kreskowiak13-Sep-07 6:15 
QuestionDoubts regarding Exception Throwing Pin
dreamz648012-Sep-07 22:02
dreamz648012-Sep-07 22:02 
AnswerRe: Doubts regarding Exception Throwing Pin
Pete O'Hanlon12-Sep-07 22:20
mvePete O'Hanlon12-Sep-07 22:20 
If you return an error code, you are putting the emphasis on somebody actually reading the error code and doing something with it. At some point, somebody has to say "this is wrong, I need to do something". This is obviously an exceptional case, hence you should really consider designing with an exception.

However, it is perfectly valid to have some logic in your code where you may attempt to do something if the condition fails. For instance, if you are saving an item to a database for a user, it is better to write to an alternative database if you can't get to the master and then synchronize the two later on, than to just fail and tell the user that it's tough but you can't save their work.

Deja View - the feeling that you've seen this post before.

GeneralRe: Doubts regarding Exception Throwing Pin
dreamz648013-Sep-07 1:21
dreamz648013-Sep-07 1:21 
GeneralRe: Doubts regarding Exception Throwing Pin
pmarfleet13-Sep-07 1:35
pmarfleet13-Sep-07 1:35 
GeneralRe: Doubts regarding Exception Throwing Pin
Urs Enzler13-Sep-07 1:36
Urs Enzler13-Sep-07 1:36 
GeneralRe: Doubts regarding Exception Throwing Pin
Scott Dorman13-Sep-07 4:25
professionalScott Dorman13-Sep-07 4:25 
AnswerRe: Doubts regarding Exception Throwing Pin
Luc Pattyn13-Sep-07 1:45
sitebuilderLuc Pattyn13-Sep-07 1:45 
GeneralRe: Doubts regarding Exception Throwing Pin
dreamz648013-Sep-07 3:51
dreamz648013-Sep-07 3:51 
GeneralRe: Doubts regarding Exception Throwing Pin
Luc Pattyn13-Sep-07 3:55
sitebuilderLuc Pattyn13-Sep-07 3:55 
AnswerRe: Doubts regarding Exception Throwing Pin
PIEBALDconsult18-Sep-07 6:14
mvePIEBALDconsult18-Sep-07 6:14 
AnswerRe: Doubts regarding Exception Throwing Pin
brucedkyle23-Sep-07 12:32
brucedkyle23-Sep-07 12:32 
QuestionURL Behaviour Property Not Found Pin
Nagaraju_Focus12-Sep-07 19:13
Nagaraju_Focus12-Sep-07 19:13 
Question.NET assembly deployment problem Pin
ssanoj12-Sep-07 4:49
ssanoj12-Sep-07 4:49 
AnswerRe: .NET assembly deployment problem Pin
led mike12-Sep-07 5:09
led mike12-Sep-07 5:09 
QuestionCode comments in WSDL Pin
Heine2612-Sep-07 1:11
Heine2612-Sep-07 1:11 
Question32-Bit application runs faster than 64-Bit, any ideas? Pin
Ami Bar11-Sep-07 9:15
Ami Bar11-Sep-07 9:15 
AnswerRe: 32-Bit application runs faster than 64-Bit, any ideas? Pin
Luc Pattyn12-Sep-07 3:11
sitebuilderLuc Pattyn12-Sep-07 3:11 
GeneralRe: 32-Bit application runs faster than 64-Bit, any ideas? Pin
Ami Bar12-Sep-07 5:00
Ami Bar12-Sep-07 5:00 
GeneralRe: 32-Bit application runs faster than 64-Bit, any ideas? Pin
Luc Pattyn12-Sep-07 5:16
sitebuilderLuc Pattyn12-Sep-07 5:16 

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.