'Net Remoting - PowerPoint PPT Presentation

1 / 12
About This Presentation
Title:

'Net Remoting

Description:

Extended Channels, Channel Sinks, Proxy. Remoting an Object ... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/ht ml ... – PowerPoint PPT presentation

Number of Views:392
Avg rating:3.0/5.0
Slides: 13
Provided by: Dgr89
Category:
Tags: http | net | proxy | remoting

less

Transcript and Presenter's Notes

Title: 'Net Remoting


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

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

3
.Net Remoting Architecture
The Simple View
App Domain 1
App Domain 2
Object1
Object2
4
.Net Remoting Architecture
The Not-So-Simple View
Object 1
Object 2
Activation Type By Ref / Value
Proxy
Proxy
Transparent
Transparent
Real
Real
Sponsors Leases
Channels
Channels
Serializers
Formatter Sink
Formatter Sink
Custom Sink
Custom Sink
Transport Sink
Transport Sink
5
.Net Remoting Options
  • By Reference or By Value
  • Activation Type
  • Serialization Format
  • Security options
  • Extended Channels, Channel Sinks, Proxy

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

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

8
Client-Activated
Server Object
Client Object
Owned instance
Server Object
Client Object
9
Server Activated, Single Call
Client Object
Server Object
Single Calls
Server Object
10
Server Activated, Singleton
Client Object
Single Instance
Client Object
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.mi
    crosoft.com/library/default.asp?url/library/en-us
    /dndotnet/html/hawkremoting.asp
  • Basic Remoting Task Listhttp//msdn.microsoft.c
    om/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 2002http//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/ht
    ml/hawkremoting.asp
  • .Net Remoting Architectural Assessmenthttp//ms
    dn.microsoft.com/library/default.asp?url/library/
    en-us/dndotnet/html/dotnetremotearch.asp
Write a Comment
User Comments (0)
About PowerShow.com