matthewking
Programmer
Hi all,
I usually develop web applications, but am delving into desktop application development with c#.
Im a little stumped on the archtecture of a .net application, I've gone through the tutorials but they all seem to be a little overdone.
Currently im doing this:
I have a user interface.
I have a BusinessLogic layer which has objects such as 'Customer', 'Order' etc.
Do I need somekind of layer between the businessLogic and the interface itself?
Also does the businessLogic need to call a data layer for db operations? if so do I just put all methods in one big DataLayer.cs or have individual objects for that too?
So my Customer business logic class would call a CustomerDL datalayer class?
Or have I got it all upside down? As you can see im in desperate need of a pointer.
PS: Also I've just finished a SocketLibrary class, where do I communicate with that? the business logic? I've read something about creating a ServiceAgent class?
Thanks,
Matt.
I usually develop web applications, but am delving into desktop application development with c#.
Im a little stumped on the archtecture of a .net application, I've gone through the tutorials but they all seem to be a little overdone.
Currently im doing this:
I have a user interface.
I have a BusinessLogic layer which has objects such as 'Customer', 'Order' etc.
Do I need somekind of layer between the businessLogic and the interface itself?
Also does the businessLogic need to call a data layer for db operations? if so do I just put all methods in one big DataLayer.cs or have individual objects for that too?
So my Customer business logic class would call a CustomerDL datalayer class?
Or have I got it all upside down? As you can see im in desperate need of a pointer.
PS: Also I've just finished a SocketLibrary class, where do I communicate with that? the business logic? I've read something about creating a ServiceAgent class?
Thanks,
Matt.