Click here to Skip to main content
15,919,479 members
Home / Discussions / C#
   

C#

 
GeneralRe: Question about Marshal Pin
yoaz7-Nov-04 0:52
yoaz7-Nov-04 0:52 
GeneralRe: Question about Marshal Pin
momer7-Nov-04 2:28
momer7-Nov-04 2:28 
GeneralHandle Threads and blocking UDP Connection Pin
Snowjim6-Nov-04 13:57
Snowjim6-Nov-04 13:57 
GeneralRe: Handle Threads and blocking UDP Connection Pin
Sebastian Schneider7-Nov-04 19:57
Sebastian Schneider7-Nov-04 19:57 
GeneralI just don't get ann's Pin
tom_dx6-Nov-04 13:22
tom_dx6-Nov-04 13:22 
GeneralRe: I just don't get ann's Pin
yoaz6-Nov-04 22:09
yoaz6-Nov-04 22:09 
GeneralCircular Reference Hell! Pin
RFickling6-Nov-04 12:55
RFickling6-Nov-04 12:55 
GeneralRe: Circular Reference Hell! Pin
Colin Angus Mackay6-Nov-04 13:16
Colin Angus Mackay6-Nov-04 13:16 
If you can re-architect your application I would suggest using events to avoid the circular references.

If you have a layered approach like this:
 Presentation
----------------
 Business Logic
----------------
Data Abstraction

The Presentation can invoke methods directly in the Business Logic layer, and the Business Logic layer can do the same to the Data Abstraction layer.

However the Data Abstraction layer should know nothing of the Business Logic layer, and the Business Logic layer should know nothing of the Presentation layer.

Think about how the .NET Framework achieves this. The guys at Microsoft know nothing of your application, so the controls fire off events in order to pass messages to your code.

So, If the Data Abstraction layer needs to invoke something in the Business Logic layer it should fire off an event that something in the Business Logic layer subscribes to. Similarly with the Business Logic layer needing to invoke something in the Presentation layer.

Does this help?


Do you want to know more?


GeneralRe: Circular Reference Hell! Pin
RFickling6-Nov-04 13:30
RFickling6-Nov-04 13:30 
QuestionI need a simulator for ..........? Pin
Sakkijha6-Nov-04 11:38
Sakkijha6-Nov-04 11:38 
AnswerRe: I need a simulator for ..........? Pin
tom_dx6-Nov-04 11:51
tom_dx6-Nov-04 11:51 
GeneralRe: I need a simulator for ..........? Pin
Sakkijha6-Nov-04 12:03
Sakkijha6-Nov-04 12:03 
GeneralRe: I need a simulator for ..........? Pin
tom_dx6-Nov-04 13:12
tom_dx6-Nov-04 13:12 
AnswerRe: I need a simulator for ..........? Pin
Christian Graus7-Nov-04 15:31
protectorChristian Graus7-Nov-04 15:31 
Questioncan't get two EXEs to share the same DLL? Pin
vista276-Nov-04 11:16
vista276-Nov-04 11:16 
AnswerRe: can't get two EXEs to share the same DLL? Pin
Colin Angus Mackay6-Nov-04 12:59
Colin Angus Mackay6-Nov-04 12:59 
AnswerRe: can't get two EXEs to share the same DLL? Pin
Dave Kreskowiak6-Nov-04 17:14
mveDave Kreskowiak6-Nov-04 17:14 
AnswerRe: can't get two EXEs to share the same DLL? Pin
Peff6-Nov-04 17:25
Peff6-Nov-04 17:25 
QuestionDetect Server Software (i.e. Apache)? Pin
Justin Garrick6-Nov-04 8:47
Justin Garrick6-Nov-04 8:47 
QuestionIdentify this form? Pin
Justin Garrick6-Nov-04 8:03
Justin Garrick6-Nov-04 8:03 
AnswerRe: Identify this form? Pin
tom_dx6-Nov-04 8:16
tom_dx6-Nov-04 8:16 
GeneralRe: Identify this form? Pin
Justin Garrick6-Nov-04 8:44
Justin Garrick6-Nov-04 8:44 
GeneralRe: Identify this form? Pin
tom_dx6-Nov-04 11:50
tom_dx6-Nov-04 11:50 
GeneralBoreland C# personal edition Pin
Underhillron6-Nov-04 5:42
Underhillron6-Nov-04 5:42 
GeneralRe: Boreland C# personal edition Pin
Pooria Madani6-Nov-04 8:04
Pooria Madani6-Nov-04 8:04 

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.