Groups | Blog | Home
all groups > dotnet remoting > april 2005 >

dotnet remoting : Microsoft.Samples.Runtime.Remoting.Security and Interfaces.


lloyd
4/27/2005 7:53:23 AM
I've been using this for a couple days now and its all working well but I
can't yet figure out how have just an interface in the library used by the
server and the client. The OpenFile example does have an IFoo but it doesnt
use it. Searching google the only sample code I found uses
Activator.GetObject() to create an object of that interface but it takes a
url where all the Microsoft.Sample... code is all based on a config file and
I have no idea how the two relate to one another.. can anyone point me in
the right direction? thanks.

Lloyd Evetts
SLOW30

lloyd
4/29/2005 6:29:12 PM
Figured this one out, needed to have a singlecall factory class to return a
client activated object. anyone coming across the same problem should look
at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns/html/ImpBrokerClient.asp
its got some really good information that should get you going, worked for
me.

Lloyd
SLOW30

[quoted text, click to view]

AddThis Social Bookmark Button