IT Community - Software Programming, Web Development and Technical Support

What are the consideration in deciding to use .NET Remoting or ASP.NET Web Services

This is a discussion on What are the consideration in deciding to use .NET Remoting or ASP.NET Web Services within the ASP and ASP.NET Programming forums, part of the Web Development category; What are the consideration in deciding to use .NET Remoting or ASP.NET Web Services Remoting is a more efficient ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 07-18-2007, 08:23 AM
Arun Arun is offline
D-Web Trainee
 
Join Date: Mar 2007
Posts: 43
Arun is on a distinguished road
Post What are the consideration in deciding to use .NET Remoting or ASP.NET Web Services

What are the consideration in deciding to use .NET Remoting or ASP.NET Web Services

Remoting is a more efficient communication exchange when you can control both ends of the application involved in the communication process. Web Services provide an open-protocol-based exchange of informaion. Web Services are best when you need to communicate with an external organization or another (non-.NET) technology.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-09-2007, 07:56 AM
H2o H2o is offline
D-Web Analyst
 
Join Date: Jul 2007
Posts: 246
H2o is on a distinguished road
Wink Re: What are the consideration in deciding to use .NET Remoting or ASP.NET Web Servic

Hi,
.NET remoting is replacement of DCOM. Using .NET remoting you can make remoteobject calls which lie in different Application Domains. As the remote objects run indifferent process client calling the remote object can not call it directly. So the client usesa proxy which looks like a real object.When client wants to make method call on the remote object it uses proxy for it. Thesemethod calls are called as “Messages”. Messages are serialized using “formatter” classand sent to client “channel”. Client Channel communicates with Server Channel. ServerChannel uses as formatter to deserialize the message and sends to the remote object.

All remote object should inherit from System.MarshallbyRefObject.


There are two different ways in which object can be created using Remoting :-
SAO (Server Activated Objects) also called as Well-Known call mode.

√CAO (Client Activated Objects)

SAO has two modes “Single Call” and “Singleton”. With Single Call object the object iscreated with every method call thus making the object stateless. With Singleton the objectis created only once and the object is shared with all clients.
CAO are stateful as compared to SAO.In CAO the creation request is sent from clientside. Client holds a proxy to the server object created on server..


Hope u get cleared about .Net Remoting
__________________
H2O

Without us, no one can survive..
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/asp-asp-net-programming/2141-what-consideration-deciding-use-net-remoting-asp-net-web-services.html
Posted By For Type Date
actionscript: Blogs, Photos, Videos and more on Technorati This thread Refback 07-18-2007 08:40 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
.NET Remoting S.Vinothkumar C# Programming 14 10-04-2007 07:41 AM
What is .NET Remoting ? oxygen ASP and ASP.NET Programming 4 08-08-2007 02:37 AM
How to decide on the design consideration to take a Datagrid, datalist or repeater in oxygen ASP and ASP.NET Programming 1 07-26-2007 04:09 AM
Deciding who to select for your webdesign makemoneyonlinenow Web Design Help 4 05-17-2007 05:03 AM
Flash Remoting nssukumar Flash Actionscript Programming 3 03-20-2007 05:28 AM


All times are GMT -7. The time now is 02:44 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0