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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top