Dependencies and remote object

  • Thread starter Thread starter Julia
  • Start date Start date
J

Julia

Hi,

My asp uses .Net remote to call to MyServer
1.assuming I am not using the GAC,should I install all MyServer.dll
dependencies on the Bin folder of my .Net application
as well,or is it enough to install MyServer.dll?

2.assuming i am using the GAC,should the MyServer.dll or any of its
dependencies be put in the Bin folder of my asp.net application?


Thanks in advance
 
Julia,

I actually would do neither. I would create an assembly that defines
interfaces that your server implements. Then, I would reference that
assembly on the server, and the client. This way, when you create the
proxies, you can cast to the interface, instead of having buisness logic on
the client side (it's a much lighter distribution as well).

Additionally, you won't have to worry about type collisions as a result.
 
Back
Top