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

Re: Architecture and Net Remoting by sloan

sloan
Wed May 07 10:27:01 CDT 2008


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.spaces.live.com/Blog/cns!A68482B9628A842A!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.com> wrote in message
news:epfUYWFsIHA.1952@TK2MSFTNGP05.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
>



Re: Architecture and Net Remoting by Cowboy

Cowboy
Wed May 07 10:37:32 CDT 2008

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
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"AAAAA" <AAAAA@hotmail.com> wrote in message
news:epfUYWFsIHA.1952@TK2MSFTNGP05.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
>



Re: Architecture and Net Remoting by Duy

Duy
Wed May 07 12:35:39 CDT 2008

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

Re: Architecture and Net Remoting by Mr

Mr
Wed May 07 22:35:37 CDT 2008


"AAAAA" <AAAAA@hotmail.com> wrote in message
news:epfUYWFsIHA.1952@TK2MSFTNGP05.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://www.lhotka.net/Article.aspx?id=1351540e-b941-446a-bacb-e0059cc82ee7
<http://wcf.netfx3.com/blogs/wcf_community_bloggers/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

http://www.polymorphicpodcast.com/

click 'Shows'

click 'Design Patterns Bootcamp: Model View * Patterns*

view parts 1-5