Architecture and Net Remoting

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • AAAAA

    Architecture and Net Remoting

    Hi friends!

    What is the best architecture based in Net remoting?
    is valid get data with datareaders put this data in Generic list and pass it
    through of n tier?
    are generic list serializable?

    is best get data with dataset or datatable and pass it through of n tier?
    I am working with Framework 2.0. ASP.NET and C#.

    Thanks

    Regards


    Cesar


  • sloan

    #2
    Re: Architecture and Net Remoting


    Well, first you want to go to WCF. Especially if you're authoring new code.

    Second, I would strongly recommend my blog entry:

    http://sholliday.space s.live.com/Blog/cns!A68482B9628 A842A!158.entry

    ....

    Reminder: 3.0 (which you need for WCF) is an "addon" to 2.0, not a
    replacement for 2.0.

    .......

    You could do datasets or datatables. I would go with custom
    objects/collections instead.




    "AAAAA" <AAAAA@hotmail. comwrote in message
    news:epfUYWFsIH A.1952@TK2MSFTN GP05.phx.gbl...
    Hi friends!
    >
    What is the best architecture based in Net remoting?
    is valid get data with datareaders put this data in Generic list and pass
    it through of n tier?
    are generic list serializable?
    >
    is best get data with dataset or datatable and pass it through of n tier?
    I am working with Framework 2.0. ASP.NET and C#.
    >
    Thanks
    >
    Regards
    >
    >
    Cesar
    >

    Comment

    • Cowboy \(Gregory A. Beamer\)

      #3
      Re: Architecture and Net Remoting

      I generally work with custom objects that are serializable and use WCF over
      Remoting, as it allows you to change to a web delivery method without
      reworking your code. In addition, it is simpler to code.

      You can use any object that is serializable and some prefer to use DataSets,
      as they are simpler to implement.

      It is really up to you.

      One thing to watch out for, which I have seen in many "service type"
      applications is ending up with tight coupling through your objects. My last
      nightmare required the exact same version of a library on both ends and the
      library had been completely refactored. If it were all in house, it would
      not have been as painful, of course. Service boundaries should help loosely
      couple your layers, not tighten the coupling.

      --
      Gregory A. Beamer
      MVP, MCP: +I, SE, SD, DBA

      Subscribe to my blog


      or just read it:


      *************** *************** *************** ****
      | Think outside the box!
      |
      *************** *************** *************** ****
      "AAAAA" <AAAAA@hotmail. comwrote in message
      news:epfUYWFsIH A.1952@TK2MSFTN GP05.phx.gbl...
      Hi friends!
      >
      What is the best architecture based in Net remoting?
      is valid get data with datareaders put this data in Generic list and pass
      it through of n tier?
      are generic list serializable?
      >
      is best get data with dataset or datatable and pass it through of n tier?
      I am working with Framework 2.0. ASP.NET and C#.
      >
      Thanks
      >
      Regards
      >
      >
      Cesar
      >

      Comment

      • Duy Lam

        #4
        Re: Architecture and Net Remoting

        AAAAA wrote:
        Hi friends!
        >
        What is the best architecture based in Net remoting?
        is valid get data with datareaders put this data in Generic list and pass it
        through of n tier?
        are generic list serializable?
        >
        is best get data with dataset or datatable and pass it through of n tier?
        I am working with Framework 2.0. ASP.NET and C#.
        >
        Thanks
        >
        Regards
        >
        >
        Cesar
        >
        >
        You should take a look on Windows Communication Foundation (WCF). It is
        better than .NET Remoting


        --
        Thanks,
        Duy Lam Phuong

        Comment

        • Mr. Arnold

          #5
          Re: Architecture and Net Remoting


          "AAAAA" <AAAAA@hotmail. comwrote in message
          news:epfUYWFsIH A.1952@TK2MSFTN GP05.phx.gbl...
          Hi friends!
          >
          What is the best architecture based in Net remoting?
          is valid get data with datareaders put this data in Generic list and pass
          it through of n tier?
          are generic list serializable?
          >
          is best get data with dataset or datatable and pass it through of n tier?
          I am working with Framework 2.0. ASP.NET and C#.
          >
          Hey, I know you are hearing about that WCF. I guess in away it has some
          advantages, but on the other hand, one can go completely out of control with
          it . I am working on this project at a client site that's using WCF for a
          large Windows Desktop solution with nHibernate. One just can't assume that
          WCF is some kind of stops all and ends all solution, and one should pick
          when WCF is applicable. I am not totally sold on it being a solution for all
          communications in an N-Tier solution that's for sure.

          If you want to see .Net Remoting in action in a Framework for a solution and
          how it works, then get the CSLA book, download the CSLA Framework source
          code and put it together and download the source code for the Tracker
          project that uses the CSLA Framework. You'll see how Remoting works and what
          objects are involved and their structure.


          <http://wcf.netfx3.com/blogs/wcf_community_b loggers/archive/2007/07/10/csla-net-3-0-available-for-download.aspx>

          The only thing I am sold on in that project I am working on is MVP. That's
          fabulous.

          MODEL-VIEW-PRESENTER



          click 'Shows'

          click 'Design Patterns Bootcamp: Model View * Patterns*

          view parts 1-5






          Comment

          Working...