[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Jon Turner

7/22/2004 9:10:00 PM

I have a client that calls into a Remote Server hosted in IIS.
I don't want to have to distribute the Remote Server DLL, or
a Proxy DLL with the Client. What can I do to accomplish this.

1. If I reference the Remote DLL in the Client Project, the DLL
must be resident on the Client machine. (don't want this)

2. If I use SoapSuds to generate a Proxy DLL, the proxy DLL
must be resident on the Client machine also. (don't want this either)

I just want to distribute the Client Exe.

Many Thanks


4 Answers

Sam Santiago

7/22/2004 9:28:00 PM

0

There are several choices list here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconremotingexamplehostin...

Essentially use a proxy, remote an interface, or remote a wrapper class.

Thanks,

Sam

--
_______________________________
Sam Santiago
ssantiago@n0spam-SoftiTechture.com
"Jon Turner" <jon.turner@mail.com> wrote in message
news:uBzPMBDcEHA.3596@tk2msftngp13.phx.gbl...
> I have a client that calls into a Remote Server hosted in IIS.
> I don't want to have to distribute the Remote Server DLL, or
> a Proxy DLL with the Client. What can I do to accomplish this.
>
> 1. If I reference the Remote DLL in the Client Project, the DLL
> must be resident on the Client machine. (don't want this)
>
> 2. If I use SoapSuds to generate a Proxy DLL, the proxy DLL
> must be resident on the Client machine also. (don't want this either)
>
> I just want to distribute the Client Exe.
>
> Many Thanks
>
>


Sunny

7/22/2004 10:13:00 PM

0

Ok, one way or another, the client have to know about the server class,
or its interfaces. If your concern is not having more than 1 file to
distribute, and if you do not want to ship the server code (even
included as a part of the client), than the only way to go is to use an
interface or abstract class approach. Just include its implementation in
the client.

Than, at the server you have to have a copy of the client.exe, and
reference to it. Unfortunately VS.Net does not allow you to create a
reference to .exe, but as far as the .exe is assembly as well, the
commandline c# compiler allows it.

So, you can achieve what you want on the price of manual compilation :)

Sunny


In article <uBzPMBDcEHA.3596@tk2msftngp13.phx.gbl>, jon.turner@mail.com
says...
> I have a client that calls into a Remote Server hosted in IIS.
> I don't want to have to distribute the Remote Server DLL, or
> a Proxy DLL with the Client. What can I do to accomplish this.
>
> 1. If I reference the Remote DLL in the Client Project, the DLL
> must be resident on the Client machine. (don't want this)
>
> 2. If I use SoapSuds to generate a Proxy DLL, the proxy DLL
> must be resident on the Client machine also. (don't want this either)
>
> I just want to distribute the Client Exe.
>
> Many Thanks
>
>
>

Sam Santiago

7/22/2004 10:39:00 PM

0

Sorry, wrong link before:

http://msdn.microsoft.com/library/en-us/cpguide/html/cpconadvanceddesign...

--
_______________________________
Sam Santiago
ssantiago@n0spam-SoftiTechture.com
"Sam Santiago" <ssantiago@n0spam-SoftiTechture.com> wrote in message
news:ON2fOLDcEHA.3804@TK2MSFTNGP10.phx.gbl...
> There are several choices list here:
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconremotingexamplehostin...
>
> Essentially use a proxy, remote an interface, or remote a wrapper class.
>
> Thanks,
>
> Sam
>
> --
> _______________________________
> Sam Santiago
> ssantiago@n0spam-SoftiTechture.com
> "Jon Turner" <jon.turner@mail.com> wrote in message
> news:uBzPMBDcEHA.3596@tk2msftngp13.phx.gbl...
> > I have a client that calls into a Remote Server hosted in IIS.
> > I don't want to have to distribute the Remote Server DLL, or
> > a Proxy DLL with the Client. What can I do to accomplish this.
> >
> > 1. If I reference the Remote DLL in the Client Project, the DLL
> > must be resident on the Client machine. (don't want this)
> >
> > 2. If I use SoapSuds to generate a Proxy DLL, the proxy DLL
> > must be resident on the Client machine also. (don't want this
either)
> >
> > I just want to distribute the Client Exe.
> >
> > Many Thanks
> >
> >
>
>


zhenghuan

8/2/2004 8:49:00 AM

0

Does someone know that whether we can fulfill SOA by .NET Remoting? Of course I know we can do it with web service
??????????????????????????????????????????
?ú ??D'µà?o

??????????????????????????????????????????

?? à???
zhenghuan
wzhaaaaa@hotmail.com