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

dotnet remoting : Newb: clients referencing remote object


Hikage
2/25/2005 1:59:21 PM
Hi,

I am making a web app that will have a middle layer on a separate app server
on the lan and will use remoting to communicate. My question is how should
the client process on the web server reference the middle tier remote
object? Most of what I've read says to create an interface and distribute
this to the client, but I also read an article that directly referenced the
server assembly through the network. Both options are working fine for me,
but I want to know which is the best way to go. Thanks.

Sunny
2/25/2005 4:06:48 PM
In article <ugVqBewGFHA.2620@tk2msftngp13.phx.gbl>, anon@anon.com
says...
[quoted text, click to view]

I do prefer the interface approach. That way, until you not change the
interface assembly, whatever changes you make to the server object will
not make you recompile the client, or to change anything on the client.

Otherwise, you have to recompile the client to reference the new
assembly.

Cheers
AddThis Social Bookmark Button