Академический Документы
Профессиональный Документы
Культура Документы
AppDomain A
Remote Action
Object a
Object b
Introduction
AppDomain
An isolated environment for executing code
Local Objects
Objects within the different AppDomains
Remote Objects
AppDomain A
AppDomain B
Objects in a different AppDomain
Remoting
Obj1
Remoting Obj3
Communication between objects
Obj 2
Obj 4
Processes
Isolates the application from other applications
01
03
02
04
06
05
Process 1
Process 2
Oa
Ob
Proxy
Client
Ob
Server
RemoteActivationConcepts(Contd)
Marchal by value object
Oa
Ob
Ob
Client
Server
Activation
Client
Server
Singleton
Singlecall
Marshal by
Reference
Marshal
by Value
Ca
Cb
Proxy
Cb
Client A
Ca
Server
Cb
Proxy
Client B
Ca
Cb
Proxy
Client A
Ca
Server
Cb
Proxy
Client B
Ca
Cb
Proxy
Cb
Cb
Client A
Ca
Server
Cb
Proxy
Client B
Ca
Cb
Cb
Client A
Ca
Server
Cb
Client B
Client
Client
(Remote object)
object)
(Remote
Server-side Object
Server
Client
Proxy
TCP/HTTP
Formatting
Formatting
Channel
Formatter or
Reformatte
r
Sever-side Object
</Service>
</Application>
<System.runtime.remoting>
</Configuration>
Server Configuration
RemotingServices.Marshal(New
SingletonByRef(),SingletonByRefHost.rem)
Remoting Server
Singleton
BYRef
TCP:8085
HTTP:8086
Internal Remoting
Configuration
Tables
</client>
</application>
</system.runtime.remoting>
</configuration>
Client Configuration
Remoting Client
TCP
Internal
Remoting
Configurati
on Tables
HTTP
Client A
Proxy
Client B
Server
Client B
Object b
Object b
Server
Initial
Active
Expired
Renewing
THANK YOU