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

.NET (Core and Framework)

 
GeneralRe: Looking for a localization related codeproject article/tool Pin
berntie10-May-10 4:24
berntie10-May-10 4:24 
AnswerRe: Looking for a localization related codeproject article/tool Pin
Pete O'Hanlon10-May-10 4:44
mvePete O'Hanlon10-May-10 4:44 
GeneralRe: Looking for a localization related codeproject article/tool - Yesss Pin
berntie10-May-10 4:53
berntie10-May-10 4:53 
QuestionClass not registered Pin
Talsaniya Jayesh10-May-10 0:56
professionalTalsaniya Jayesh10-May-10 0:56 
AnswerRe: Class not registered Pin
Michel Godfroid10-May-10 1:08
Michel Godfroid10-May-10 1:08 
AnswerRe: Class not registered Pin
Peace ON10-May-10 2:18
Peace ON10-May-10 2:18 
GeneralRe: Class not registered Pin
Not Active10-May-10 2:28
mentorNot Active10-May-10 2:28 
GeneralPatterns and Libraries for working with raw UI values. Pin
Brady Kelly9-May-10 1:06
Brady Kelly9-May-10 1:06 
By raw values, I mean the application level values provided by UI controls, such as the Text property on a TextBox. Too often I find myself writing code to check and parse such values before they get used as a business level value, e.g. PaymentTermsNumDays.

I've mitigated a lot of the spade work with rough and ready extension methods like String.ToNullableInt, but we all know that just isn't right. We can't put the whole world on String's shoulders.

Do I look at tasking my UI to provide business values, using a ruleset pushed out from the server app, or open my business objects up a bit to do the required sanitising etc. as they required? Neither of these approaches sits quite right with me; the first seems closer to ideal, but quite a bit of work, while the latter doesn't show much respect to the business objects' single responsibility. The responsibilities of the UI are a closer match.

Between these extremes, I could also just implement another DTO layer, an IoC container with sanitising and parsing services, derive enhanced UI controls, or stick to copy and paste inline drudgery.

GeneralRe: Patterns and Libraries for working with raw UI values. Pin
Not Active9-May-10 4:44
mentorNot Active9-May-10 4:44 
AnswerRe: Patterns and Libraries for working with raw UI values. Pin
Abhinav S9-May-10 4:59
Abhinav S9-May-10 4:59 
Questioncrystal report problem Pin
ankurkaushik227-May-10 1:28
ankurkaushik227-May-10 1:28 
Questioncrystal report server error Pin
geo_rge12127-May-10 1:27
geo_rge12127-May-10 1:27 
Question.Net micro framework Pin
TSKNaidu6-May-10 3:52
TSKNaidu6-May-10 3:52 
AnswerRe: .Net micro framework Pin
Peace ON7-May-10 21:33
Peace ON7-May-10 21:33 
GeneralRe: .Net micro framework Pin
TSKNaidu9-May-10 23:48
TSKNaidu9-May-10 23:48 
Questionthe registered dll is not displayed. Pin
prasadbuddhika6-May-10 1:02
prasadbuddhika6-May-10 1:02 
AnswerRe: the registered dll is not displayed. Pin
Not Active6-May-10 1:55
mentorNot Active6-May-10 1:55 
AnswerRe: the registered dll is not displayed. Pin
The Man from U.N.C.L.E.6-May-10 2:11
The Man from U.N.C.L.E.6-May-10 2:11 
GeneralRe: the registered dll is not displayed. Pin
prasadbuddhika7-May-10 18:40
prasadbuddhika7-May-10 18:40 
Questiongenerating CustomerID Pin
kolisa6-May-10 0:59
kolisa6-May-10 0:59 
AnswerRe: generating CustomerID Pin
Jens Meyer6-May-10 1:40
Jens Meyer6-May-10 1:40 
AnswerRe: generating CustomerID Pin
Not Active6-May-10 1:59
mentorNot Active6-May-10 1:59 
Questionreading size using radio buttons Pin
kolisa6-May-10 0:48
kolisa6-May-10 0:48 
AnswerRe: reading size using radio buttons Pin
Peace ON7-May-10 4:03
Peace ON7-May-10 4:03 
AnswerRe: reading size using radio buttons Pin
T M Gray7-May-10 4:38
T M Gray7-May-10 4:38 

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.