473,609 Members | 1,831 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Jun 27 '08 #1
4 1277

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" <AA***@hotmail. comwrote in message
news:ep******** ******@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

Jun 27 '08 #2
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" <AA***@hotmail. comwrote in message
news:ep******** ******@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

Jun 27 '08 #3
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
Jun 27 '08 #4

"AAAAA" <AA***@hotmail. comwrote in message
news:ep******** ******@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://www.lhotka.net/Article.aspx?i...b-e0059cc82ee7
<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

http://www.polymorphicpodcast.com/

click 'Shows'

click 'Design Patterns Bootcamp: Model View * Patterns*

view parts 1-5


Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

25
5583
by: David Noble | last post by:
We've been developing a web site using 3-tier architecture for 18 months now. There is a common layer that defines the classes - using XML schemas. The data layer acts as a wrapper to 3 databases - SQL Server, Oracle and AS400. The business layer exposes web services which communicate with the front end, ASP.Net. All 3 tiers are on different boxes. This works well. Now I am leading a team to build a winforms app. I need some advice as
1
1262
by: Ambarish Ganguly | last post by:
Hi, We are planning for a 3 tier architecture with Web server App server containing all business dlls Database server. The web server will communicate using COM interop ( CreateObject sort of things) with app server where the .NET components will be in COM+. Have any of you tried this sort of architecture? Any tips, tricks, suggesstions, advantages, disadvantages, loop holes anything which provides insight would be highly helpful.
2
304
by: Joshua Belden | last post by:
Small architecture question I'm hoping someone can answer? I want to create a Windows Service Component that will periodically poll a database for data changes, respond to several client application messages, and in turn notify clients of events that they can then respond to. I'm clear on creating the Windows Service, as well polling the database, however, not sure on the other two. Immediately I thought of Remoting; responding to...
0
956
by: JTS | last post by:
I need to create three ASP.NET applications - each one will run on a different production server. Each application does basically the same thing with respect to data access; the apps differ primarily in presentation and audience. Each app will need to interact with a SQL Server database that is running on its own server. All servers will initially be on the same subnet, however there is no guarantee that they will remain on the same subnet...
3
1635
by: Julia | last post by:
I need help with architecture design,please: I have a server which constantly downloading messages from the internet and store them inside a data base. the server have two administrators options: one is a local windows application,and the second is a web application The administrator can either delete messages,add new messages,and send messages
0
1243
by: CodeMonkey | last post by:
Hi, I was wondering if anybody could give me some advice on how to structure an application that I am about to start work on. The vague requirements will be: 1) Always-On monitoring of data (e.g. through serial port and other sources) 2) Local machine user interface 3) Remote machine user interface (networked)
1
2458
by: Silent Ocean | last post by:
Hi 1. I am in process of designing N-Tier Application using ASP.NET. Can anyone guide me the right material or microsoft guidelines document which I can used in designing the N-Tier application. 2. I would also like to know whether to use Web Services or .Net Remoting in designing N-Tier application 3. General 3 Tier architecture has 3 Tier : Presentation Layer , Business Layer and Database Layer
2
1251
by: Ken Ross | last post by:
I'm in the early stages of working up the design for a large .Net web application and want to make sure that we have the best possible physical architecture to support the logical architecture and implementation. To my way of thinking, that means that no only do we follow a 3-tier approach from a logical view (data access, business logic, and UI) but that we also separate the application into physical layers to improve scalability and...
2
1530
by: z71mdridin | last post by:
I currently have a classic asp/COM+ architecture setup as following: Server A- hosts all the classic asp front end pages Server B- host all the business layer dlls. They are currently registered through COM+ Server C- contains database We are migrating to .NET and I would like to keep the same distributed architecture, but it appears that asp.net applications copy all the business layer dlls into their bin directory. I know that...
0
8139
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8579
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8555
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8408
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6064
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4032
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4098
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2540
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1403
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.