Listing 18.1 A Server Configuration File to Define a Well-Known Object with the HTTP Channel
remoting 源代码
什么是Remoting,简而言之,我们可以将其看作是一种分布式处理方式。从微软的产品角度来看,可以说Remoting就是DCOM的一种升级,它改善了很多功能,并极好的融合到.Net平台下。Microsoft.NETRemoting提供了一种允许对象通过应用程序域与另一对象进行交互…
Listing 18.3 web.config to Specify a Remoting Object with IIS
Listing 18.6 Remoting Configuration File with a Sink Provider
Listing 18.2 A Client Configuration File to Define a Well-Known Object with the HTTP Channel
using System; using Perst.Impl; using System.Runtime.Remoting.Contexts; using System.Runtime.Remoting.Messaging; using System.…
Perst.TransparentPersistenceAttribute.IsContextOK Perst.TransparentPersistenceAttribute.IsContextOK Function
Perst.Impl.PerstSink.AsyncProcessMessage Perst.Impl.PerstSink.AsyncProcessMessage Function
http://chs.gotdotnet.com/quickstart/howto/doc/Remoting/quickstart.aspx 编译时解析对远程对象的客户端引用的三种不同的方法为: 1. 编译客户端时,编译服务器对象并将 EXE 或 DLL…
/* 部署在服务器端的提供 Remoting 服务的类 */ /* csc /t:library c:\RemotingChatRoom\Server\Share.cs */ using System; //[Serializ…
/* csc.exe /t:library c:\RemotingChatRoom\Server\Receiver.cs */ using System; using System.Runtime.Remoting; //Receiver 对…