Architecture and Net Remoting

A

AAAAA

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
 
C

Cowboy \(Gregory A. Beamer\)

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!
|
*************************************************
 
D

Duy Lam

AAAAA said:
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
 
M

Mr. Arnold

AAAAA said:
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_com...7/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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top