Click here to Skip to main content
15,908,166 members
Home / Discussions / C#
   

C#

 
Questiona question for OOP experts and Presentation/Business/DB Layer Pin
pierpaolo paparo13-Jun-09 4:14
pierpaolo paparo13-Jun-09 4:14 
AnswerRe: a question for OOP experts and Presentation/Business/DB Layer Pin
Colin Angus Mackay13-Jun-09 4:30
Colin Angus Mackay13-Jun-09 4:30 
pierpaolo paparo wrote:
What solution from a OOP programming is better?


You might want to look into IoC containers.

That way the dependecies are abstracted out elsewhere. Things become dependent on interfaces, noth the implementation. So long as you keep the same interface the implementation can change as much as it needs to. This also helps in testing as you can swap out the real database and use something else very easily.

Man who stand on hill with mouth open wait long time for roast duck to drop in

GeneralRe: a question for OOP experts and Presentation/Business/DB Layer Pin
pierpaolo paparo14-Jun-09 0:27
pierpaolo paparo14-Jun-09 0:27 
QuestionGot an error -->An unhandled exception of type 'System.StackOverflowException' occurred in PROJECT pro.exe Pin
KIDYA13-Jun-09 2:34
KIDYA13-Jun-09 2:34 
AnswerRe: Got an error -->An unhandled exception of type 'System.StackOverflowException' occurred in PROJECT pro.exe Pin
Anthony Mushrow13-Jun-09 2:43
professionalAnthony Mushrow13-Jun-09 2:43 
GeneralRe: Got an error -->An unhandled exception of type 'System.StackOverflowException' occurred in PROJECT pro.exe Pin
Luc Pattyn13-Jun-09 3:00
sitebuilderLuc Pattyn13-Jun-09 3:00 
GeneralRe: Got an error -->An unhandled exception of type 'System.StackOverflowException' occurred in PROJECT pro.exe Pin
KIDYA13-Jun-09 18:17
KIDYA13-Jun-09 18:17 
AnswerRe: Got an error -->An unhandled exception of type 'System.StackOverflowException' occurred in PROJECT pro.exe Pin
Colin Angus Mackay13-Jun-09 3:35
Colin Angus Mackay13-Jun-09 3:35 
AnswerRe: Got an error -->An unhandled exception of type 'System.StackOverflowException' occurred in PROJECT pro.exe Pin
dybs13-Jun-09 5:11
dybs13-Jun-09 5:11 
Questionwhat is the use of Httphandlers Pin
Shaik Haneef13-Jun-09 1:32
Shaik Haneef13-Jun-09 1:32 
AnswerRe: what is the use of Httphandlers Pin
Manas Bhardwaj13-Jun-09 2:00
professionalManas Bhardwaj13-Jun-09 2:00 
AnswerRe: what is the use of Httphandlers Pin
Gary Stafford13-Jun-09 8:19
Gary Stafford13-Jun-09 8:19 
QuestionBinding two projects into one exe Pin
KIDYA13-Jun-09 1:22
KIDYA13-Jun-09 1:22 
AnswerRe: Binding two projects into one exe Pin
Dave Kreskowiak13-Jun-09 2:11
mveDave Kreskowiak13-Jun-09 2:11 
QuestionI created Public Assembly by providing strong name, then what is that use still i need to give reference of that assembly. Pin
Shaik Haneef13-Jun-09 1:14
Shaik Haneef13-Jun-09 1:14 
AnswerRe: I created Public Assembly by providing strong name, then what is that use still i need to give reference of that assembly. Pin
Colin Angus Mackay13-Jun-09 3:38
Colin Angus Mackay13-Jun-09 3:38 
QuestionI created Public Assembly by providing strong name, then what is that use still i need to give reference of that assembly. Then what is the use of Global assembly ? How i utilize i know how to make the Assembly as Global but i don't know how to use, Pin
Shaik Haneef13-Jun-09 1:14
Shaik Haneef13-Jun-09 1:14 
QuestionGenerating Crystal Reports from class objects Pin
Andy Rama12-Jun-09 23:53
Andy Rama12-Jun-09 23:53 
QuestionSending Multiple Network Streams Simultaneously... Pin
Trapper-Hell12-Jun-09 23:50
Trapper-Hell12-Jun-09 23:50 
AnswerRe: Sending Multiple Network Streams Simultaneously... Pin
Manas Bhardwaj13-Jun-09 2:08
professionalManas Bhardwaj13-Jun-09 2:08 
QuestionHow to communicate between two exe's in c#? Pin
svt gdwl12-Jun-09 23:32
svt gdwl12-Jun-09 23:32 
AnswerRe: How to communicate between two exe's in c#? Pin
Rajesh R Subramanian12-Jun-09 23:36
professionalRajesh R Subramanian12-Jun-09 23:36 
Questionaccess controls in other applications from .NET (C#) Pin
Member 628997612-Jun-09 22:46
Member 628997612-Jun-09 22:46 
AnswerRe: access controls in other applications from .NET (C#) Pin
Dave Kreskowiak13-Jun-09 2:17
mveDave Kreskowiak13-Jun-09 2:17 
GeneralRe: access controls in other applications from .NET (C#) Pin
hot_ice14-Jun-09 21:33
hot_ice14-Jun-09 21:33 

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.