3,953 reputation
11020
bio website weblogs.asp.net/avnerk
location Israel
age
visits member for 2 years
seen 23 hours ago

Tech-turtle, fond of C# and .NET but likes to venture out to forage elsewhere as well.


8m
awarded  Yearling
Jul
21
awarded  Good Answer
Jul
21
comment Is it a bad practice to give two very different files with the same general purpose the same name?
@Bergi That depends on the browser (and version), the IDE (if any), the error-logging framework and so on.
Jul
20
awarded  Nice Answer
Jul
20
revised Is it a bad practice to give two very different files with the same general purpose the same name?
added 2 characters in body
Jul
20
answered Is it a bad practice to give two very different files with the same general purpose the same name?
Jun
29
revised Using abstract methods to force subclasses to define values for member fields
Moved pattern-name to the top.
Jun
29
answered Using abstract methods to force subclasses to define values for member fields
Jun
29
reviewed Close Choosing a file format to storage a simple text data
Jun
29
reviewed Leave Open A practical use of “yield” keyword in C#
Jun
20
reviewed Close Video conferencing server architecture
Jun
20
reviewed Close Are asserts or unit tests more important?
Jun
20
reviewed Leave Open Mental Models or Real-World-Metaphors for Functional Programming
Jun
19
reviewed Close How to catch DllNotFoundException in C#?
Jun
19
reviewed Close Good practice on Visual Studio Solutions
Jun
19
reviewed Leave Open Good approach for hundreds of comsumers and big files
Jun
15
comment How about using a DTO class as a property in the corresponding BO class?
@Tony_Henrich But if you're allowing the caller to bypass the BO, aren't you potentially allowing business logic to be bypassed? The DTO has a Department property that should only be set in specific circumstances. That's the business logic. What happens when someone sets it in the DTO?
Jun
15
comment How about using a DTO class as a property in the corresponding BO class?
The OP asks about exposing his DTO as a property in his BO object, rather than exposing the properties individually.
Jun
15
comment How about using a DTO class as a property in the corresponding BO class?
@randomA In this case, why even expose the DTO?
Jun
15
comment Need to provide an interface (for plugins) for taking input Type A, and returning output Type B
Please summarize in a few lines what that link says and why it claims that is a bad idea. If the link changes or dies, your question will become impossible to understand.