Click here to Skip to main content
15,889,838 members
Home / Discussions / C#
   

C#

 
GeneralRe: Setting different properties based on T in method that returns List Pin
BobJanova2-Aug-11 5:14
BobJanova2-Aug-11 5:14 
GeneralRe: Setting different properties based on T in method that returns List Pin
Paul E Davies2-Aug-11 5:16
Paul E Davies2-Aug-11 5:16 
GeneralRe: Setting different properties based on T in method that returns List Pin
dasblinkenlight2-Aug-11 5:58
dasblinkenlight2-Aug-11 5:58 
GeneralRe: Setting different properties based on T in method that returns List Pin
BobJanova2-Aug-11 6:20
BobJanova2-Aug-11 6:20 
GeneralRe: Setting different properties based on T in method that returns List Pin
PIEBALDconsult2-Aug-11 5:14
mvePIEBALDconsult2-Aug-11 5:14 
QuestionHow to fix Remoting error? Pin
meeram3952-Aug-11 1:25
meeram3952-Aug-11 1:25 
Questionarchitecture Pin
AndyInUK2-Aug-11 0:18
AndyInUK2-Aug-11 0:18 
AnswerRe: architecture Pin
Łukasz Nowakowski2-Aug-11 1:04
Łukasz Nowakowski2-Aug-11 1:04 
I think better approach may be to go backwards to what you written. So first you create a GUI for a functionality. Then you write some logic of the GUI, that calls service, which in turn calls business layer method/methods and business layer performs operations on database.
In this approach important thing is not to implement all layers at once. First you design GUI. Because GUI is most important in the application (this is what user sees and he really doesn't care, that underneath there is super database design if GUI sucks).
When you have GUI, you can prepare some logic for it. Here you decide what services you need and create interfaces of these services. You don't implement services yet. You just create some implementation that returns constant data. When logic of GUI is completed you can start implementing services for real. Implementation of services gives you idea of what business layer should contain and you do the same with business layer as with services earlier: simple implementation without real logic.
In the end you create data access layer. And database. And they are result of what you really need, not what you think you'll need.
Don't forget to rate answer, that helped you. It will allow other people find their answers faster.

GeneralRe: architecture Pin
AndyInUK2-Aug-11 1:55
AndyInUK2-Aug-11 1:55 
AnswerRe: architecture Pin
Not Active2-Aug-11 2:07
mentorNot Active2-Aug-11 2:07 
AnswerRe: architecture [modified] Pin
PIEBALDconsult2-Aug-11 2:50
mvePIEBALDconsult2-Aug-11 2:50 
AnswerRe: architecture Pin
V.2-Aug-11 3:48
professionalV.2-Aug-11 3:48 
AnswerRe: architecture Pin
Dan Mos2-Aug-11 4:01
Dan Mos2-Aug-11 4:01 
Questionmissing resources Pin
lukeer2-Aug-11 0:17
lukeer2-Aug-11 0:17 
GeneralRe: missing resources Pin
Shameel2-Aug-11 5:50
professionalShameel2-Aug-11 5:50 
QuestionDatagrids Pin
Beetle Juice1-Aug-11 23:29
Beetle Juice1-Aug-11 23:29 
Questionhiding process arguments Pin
navish011-Aug-11 21:25
navish011-Aug-11 21:25 
AnswerRe: hiding process arguments Pin
Shameel1-Aug-11 23:24
professionalShameel1-Aug-11 23:24 
GeneralRe: hiding process arguments Pin
navish012-Aug-11 1:58
navish012-Aug-11 1:58 
GeneralRe: hiding process arguments Pin
Dave Kreskowiak2-Aug-11 4:19
mveDave Kreskowiak2-Aug-11 4:19 
GeneralRe: hiding process arguments Pin
Shameel2-Aug-11 5:20
professionalShameel2-Aug-11 5:20 
QuestionOpening multiple instances of the same form and Identification. Pin
MAW301-Aug-11 15:58
MAW301-Aug-11 15:58 
AnswerRe: Opening multiple instances of the same form and Identification. Pin
Dr.Walt Fair, PE1-Aug-11 18:30
professionalDr.Walt Fair, PE1-Aug-11 18:30 
AnswerRe: Opening multiple instances of the same form and Identification. [modified] Pin
Shameel1-Aug-11 22:08
professionalShameel1-Aug-11 22:08 
AnswerRe: Opening multiple instances of the same form and Identification. Pin
BillWoodruff2-Aug-11 23:05
professionalBillWoodruff2-Aug-11 23:05 

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.