Click here to Skip to main content
15,896,606 members
Home / Discussions / C#
   

C#

 
GeneralRe: Very basic OOP question Pin
BobJanova13-Oct-11 22:19
BobJanova13-Oct-11 22:19 
AnswerRe: Very basic OOP question Pin
arya168514-Oct-11 7:19
arya168514-Oct-11 7:19 
Questionajax refersh Pin
rupali srivastava13-Oct-11 10:22
rupali srivastava13-Oct-11 10:22 
AnswerRe: ajax refersh Pin
JP_Rocks20-Oct-11 3:27
JP_Rocks20-Oct-11 3:27 
QuestionUdpClient access denied exception Pin
David Knechtges13-Oct-11 8:48
David Knechtges13-Oct-11 8:48 
AnswerRe: UdpClient access denied exception Pin
Richard Andrew x6413-Oct-11 11:15
professionalRichard Andrew x6413-Oct-11 11:15 
AnswerRe: UdpClient access denied exception Pin
BobJanova13-Oct-11 22:15
BobJanova13-Oct-11 22:15 
QuestionC# ASP.NET Architecture .. Which one should we use ? Pin
UBX13-Oct-11 4:44
UBX13-Oct-11 4:44 
I came from two different organizations that used this architecture however, I'm not at all sure which is the best between this one and another one.

Architecture #1.
The one I'm use to you have 3 projects: 1. A presenation layer project 2. A business layer project 3. A data layer project. Within the data layer lies your data classes. In your data layer you fill your objects up with Generic List like List<yourdataobject> and pass the collection of objects back to the business layer where you do your business rules and then pass the collection of object/s to the presentation layer.
Architecture #2.
The current way in which my college has proposed and has used in the past is that he has a folder with business objects and a folder with data objects(data layer). Your data layer passes a datatable to your business object which then loads the datatable to a index array for the class. The presentation layer then initializes the business object and calls its methods for CRUD etc ...


What we are not sure about is what is the best way. and WHAT is the pros and cons of both. Are we going to have trouble using WCF between the layers if we choose one over the other ?
Why are architects using one over the other ?
Greatly appreciate any input ..

Thanks
Jon

modified 13-Oct-11 10:56am.

AnswerRe: C# ASP.NET Architecture .. Which one should we use ? Pin
BobJanova13-Oct-11 5:28
BobJanova13-Oct-11 5:28 
GeneralRe: C# ASP.NET Architecture .. Which one should we use ? Pin
UBX13-Oct-11 6:30
UBX13-Oct-11 6:30 
AnswerRe: C# ASP.NET Architecture .. Which one should we use ? Pin
Eddy Vluggen13-Oct-11 8:10
professionalEddy Vluggen13-Oct-11 8:10 
QuestionXPath expression Pin
NarVish13-Oct-11 2:31
NarVish13-Oct-11 2:31 
AnswerRe: XPath expression Pin
PIEBALDconsult13-Oct-11 3:18
mvePIEBALDconsult13-Oct-11 3:18 
GeneralRe: XPath expression Pin
NarVish13-Oct-11 3:26
NarVish13-Oct-11 3:26 
GeneralRe: XPath expression Pin
NarVish18-Oct-11 1:41
NarVish18-Oct-11 1:41 
GeneralRe: XPath expression Pin
PIEBALDconsult18-Oct-11 2:44
mvePIEBALDconsult18-Oct-11 2:44 
GeneralRe: XPath expression Pin
NarVish18-Oct-11 2:47
NarVish18-Oct-11 2:47 
GeneralRe: XPath expression Pin
NarVish18-Oct-11 3:22
NarVish18-Oct-11 3:22 
GeneralRe: XPath expression Pin
PIEBALDconsult18-Oct-11 14:35
mvePIEBALDconsult18-Oct-11 14:35 
GeneralRe: XPath expression Pin
NarVish18-Oct-11 18:30
NarVish18-Oct-11 18:30 
GeneralRe: XPath expression Pin
NarVish18-Oct-11 21:46
NarVish18-Oct-11 21:46 
GeneralRe: XPath expression Pin
NarVish18-Oct-11 22:36
NarVish18-Oct-11 22:36 
GeneralRe: XPath expression Pin
PIEBALDconsult19-Oct-11 2:41
mvePIEBALDconsult19-Oct-11 2:41 
GeneralRe: XPath expression Pin
NarVish20-Oct-11 3:47
NarVish20-Oct-11 3:47 
GeneralRe: XPath expression Pin
PIEBALDconsult20-Oct-11 14:47
mvePIEBALDconsult20-Oct-11 14:47 

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.