Presentation is loading. Please wait.

Presentation is loading. Please wait.

.NET Remoting. .Net Remoting Replaces DCOM (Distributed Component Object Model – a proprietary Microsoft technology for communication among software components.

Similar presentations


Presentation on theme: ".NET Remoting. .Net Remoting Replaces DCOM (Distributed Component Object Model – a proprietary Microsoft technology for communication among software components."— Presentation transcript:

1 .NET Remoting

2 .Net Remoting Replaces DCOM (Distributed Component Object Model – a proprietary Microsoft technology for communication among software components distributed across networked computers) Uses object oriented architecture An architecture which enables communication between different app domains or processes using different transportation protocols, serialization formats etc.

3 Remote – any object which executes outside the application domain. The two processes can exist on the same computer or on two computers connected by LAN or internet.

4 Marshalling or Object Marshalling Specifies how a remote object is exposed to the client application. passing parameters from one context to another..Net Remoting offers object marshalling in 2 ways Marshal by value – server creates a copy of the object and passes the copy to the client. (i.e objects are copies from Server Application Domain to Client Application Domain) Marshal by reference – client creates a proxy of the object and uses the proxy to access the object.(i.e Client just holds the reference to the object )

5 Comparision between.Net Remoting and Web Services

6 Architecture Remote objects are accessed through channels Channels – Transport protocols for passing the messages between remote objects A channel is an object that makes communication between client and remote object across application domain boundaries

7 .Net framework implements two default channel classes HttpChannel : Implements a channel that uses HTTP protocol TcpChannel : Implements a channel that uses TCP protocol

8 Architecture for.Net remoting

9 Remoting System – creates porxy for the server object and a reference to the proxy is returned to the client. When client calls a method, Remoting system sends request through the channel to the server.Then client recieves response sent by the serve through the proxy


Download ppt ".NET Remoting. .Net Remoting Replaces DCOM (Distributed Component Object Model – a proprietary Microsoft technology for communication among software components."

Similar presentations


Ads by Google