What is the best n-tier solution?

In Visual Studio 2005 & ASP.NET 2.0 What is the best n-tier solution

A Dataset.xsd through the designer or Hand written class's.


Answer this question

What is the best n-tier solution?

  • NorbertHH

    When you work with hand written classes, do you generate them or do you actually bash in each and every field of your database

    Any chance of an example on how you write them (Especially when fetching or updating the data.)

    Thanks

  • danielo1

  • Ajeeth Kumar

    Hand written class's is the way I'm going, but unlike all the examples out there that show a table with 5 or 6 fields, I have some detail tables that have 20+ fields. Its gets very tedious coding all the property get/sets and raw SQL and I wonder will I really see the benifits later on.
  • Jayson Speer

    Hi,

    Personally, I would prefer a hand written class. This is for the simple reason that I have full control over it. What I mean is that I could easily try different approach on my code when I create the class. Unlike the .xsd which is being generated by the system. But using code-generated classes could speed up your developement. So if your in a hurry the use the code-generated but if you have lots of time, then create the classes youself...

     

     

    cheers,

    Paul June A. Domag



  • Johnson Road

    I'm planning to build up following N tier architecture:
    RIA Layer
    Presentation Parse Layer
    Action Driver Work Flow Link
    Distributed Business Layer
    Data Access Layer
    Data / Database Layer

    Compare with other tech, by this architecture, we can get following more benifits:
    1, We can easily use any new client interface: html,SVG,APPLET,flash,PDA and so on.
    2, It's possible to embed J2EE technology into .NET, so give user the feint that we use J2EE technology.

  • xx-Cougar-xx

    Hi,

    Yes, I prefer hand written classes as well. You have complete control and you can optimize the code to suit your specific business scenario.

    Regards,

    Vikram



  • Somebody Else

    Hi,

    Microsoft provides some of these aspects as part of the Enterprise Library. Make sure you check out the Enterprise Library:
    1.] Enterprise Library for v1.1
    2.] Enterprise Library for v2.0

    Regards,
    Vikram

  • What is the best n-tier solution?