Presentation is loading. Please wait.

Presentation is loading. Please wait.

.Net Remoting The Other RPC Architecture Doug Gregory October 27, 2003.

Similar presentations


Presentation on theme: ".Net Remoting The Other RPC Architecture Doug Gregory October 27, 2003."— Presentation transcript:

1 .Net Remoting The Other RPC Architecture Doug Gregory October 27, 2003

2 Available.Net RPC Architectures Web Services Web Services System.Net Namespace – Protocols, Sockets, etc. System.Net Namespace – Protocols, Sockets, etc..Net Remoting.Net Remoting

3 .Net Remoting Architecture Object1 App Domain 1 Object2 App Domain 2 The Simple View

4 .Net Remoting Architecture Object 1 Transparent Real Serializers Formatter Sink Transport Sink Channels Custom Sink Proxy Object 2 Transparent Real Formatter Sink Transport Sink Channels Custom Sink Proxy + Activation Type + By Ref / Value The Not-So-Simple View Sponsors & Leases

5 .Net Remoting Options By Reference or By Value By Reference or By Value Activation Type Activation Type Serialization Format Serialization Format Security options Security options Extended Channels, Channel Sinks, Proxy Extended Channels, Channel Sinks, Proxy

6 Remoting an Object Remote Object inherits from MarshalByRefObject Remote Object inherits from MarshalByRefObject Server Registers Channel Server Registers Channel Server Registers Objects Server Registers Objects Client Registers Channel Client Registers Channel Client Creates Object and makes call(s) Client Creates Object and makes call(s)

7 .Net Remoting Activation Server Activated, Single Call Server Activated, Single Call Server Activated, Singleton Server Activated, Singleton Client Activated Client Activated

8 Client-Activated Client Object Server Object “Owned” instance Client Object Server Object

9 Server Activated, Single Call Client Object Server Object Server Object Single Calls

10 Server Activated, Singleton Client Object Client Object Single Instance Server Object Client Object

11 Conclusion Keep it Simple Expand when needed Think Architecture

12 Additional Resources “An Introduction to Microsoft.Net Remoting Framework”, July 2001 (Beta 2 code) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/hawkremoting.asp “An Introduction to Microsoft.Net Remoting Framework”, July 2001 (Beta 2 code) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/hawkremoting.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/hawkremoting.asp “Basic Remoting Task List” http://msdn.microsoft.com/library/default.asp?url=/library/en- us/cpguide/html/cpconBasicRemotingTaskList.asp “Basic Remoting Task List” http://msdn.microsoft.com/library/default.asp?url=/library/en- us/cpguide/html/cpconBasicRemotingTaskList.asp http://msdn.microsoft.com/library/default.asp?url=/library/en- us/cpguide/html/cpconBasicRemotingTaskList.asp http://msdn.microsoft.com/library/default.asp?url=/library/en- us/cpguide/html/cpconBasicRemotingTaskList.asp “Design and Develop Seamless Distributed Applications for the Common Language Runtime”, MSDN Magazine, October 2002 http://msdn.microsoft.com/msdnmag/issues/02/10/NETRemoting/ “Design and Develop Seamless Distributed Applications for the Common Language Runtime”, MSDN Magazine, October 2002 http://msdn.microsoft.com/msdnmag/issues/02/10/NETRemoting/ http://msdn.microsoft.com/msdnmag/issues/02/10/NETRemoting/ “Microsoft.Net Remoting: A Technical Overview”, July 2001 (Beta 2 code) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/hawkremoting.asp “Microsoft.Net Remoting: A Technical Overview”, July 2001 (Beta 2 code) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/hawkremoting.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/hawkremoting.asp “.Net Remoting Architectural Assessment” h ttp://msdn.microsoft.com/library/default.asp?url=/library/en- us/dndotnet/html/dotnetremotearch.asp “.Net Remoting Architectural Assessment” h ttp://msdn.microsoft.com/library/default.asp?url=/library/en- us/dndotnet/html/dotnetremotearch.asp h ttp://msdn.microsoft.com/library/default.asp?url=/library/en- us/dndotnet/html/dotnetremotearch.asp h ttp://msdn.microsoft.com/library/default.asp?url=/library/en- us/dndotnet/html/dotnetremotearch.asp


Download ppt ".Net Remoting The Other RPC Architecture Doug Gregory October 27, 2003."

Similar presentations


Ads by Google