[lnkForumImage]
TotalShareware - Download Free Software

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


 

Lin JinCong

6/14/2004 2:13:00 AM

Hi, Sunny
how to expose every class, can you paste the sample in here? Thanks.


"Sunny" <sunnyask@icebergwireless.com> дÈëÓʼþ
news:uMhCY7sMEHA.1272@tk2msftngp13.phx.gbl...
> Hi,
> you have to expose every class, which you want to be accesible. You can
> do it either with the config file, or programmatically using
> RemotingServices and related classes/namespaces.
>
> Sunny
>
> In article <a80a59b5.0405051002.6b179fd3@posting.google.com>,
> dave.roe@elantis.biz says...
> > I have managed to finaly get remoting communicating between my client
> > and server. The problem that I now having is that my dll on the server
> > contains multiple classes. In the config files do I need to host each
> > class separately, or should I be hosting just the dll ?
> >
> > eg elantis_BUS is the dll, and BusCountry and BusProvince are classes
> > within that dll....
> >
> > <system.runtime.remoting>
> > <application>
> > <service>
> > <wellknown mode="SingleCall"
> > type="elantis_BUS.BusCountry, elantis_BUS"
> > objectUri="BusCountry"/>
> > <wellknown mode="SingleCall"
> > type="elantis_BUS.BusProvince, elantis_BUS"
> > objectUri="BusProvince"/>
> > </service>
> > <channels>
> > <channel ref="tcp" port="8001" />
> > </channels>
> > </application>
> > </system.runtime.remoting>
> >



1 Answer

Sunny

6/14/2004 2:43:00 PM

0

Please, see my replay to the other post.

Sunny

In article <#jPlRRbUEHA.1652@TK2MSFTNGP09.phx.gbl>,
jameslin@tangram.net.cn says...
> Hi, Sunny
> how to expose every class, can you paste the sample in here? Thanks.
>
>
> "Sunny" <sunnyask@icebergwireless.com> ????????
> news:uMhCY7sMEHA.1272@tk2msftngp13.phx.gbl...
> > Hi,
> > you have to expose every class, which you want to be accesible. You can
> > do it either with the config file, or programmatically using
> > RemotingServices and related classes/namespaces.
> >
> > Sunny
> >
> > In article <a80a59b5.0405051002.6b179fd3@posting.google.com>,
> > dave.roe@elantis.biz says...
> > > I have managed to finaly get remoting communicating between my client
> > > and server. The problem that I now having is that my dll on the server
> > > contains multiple classes. In the config files do I need to host each
> > > class separately, or should I be hosting just the dll ?
> > >
> > > eg elantis_BUS is the dll, and BusCountry and BusProvince are classes
> > > within that dll....
> > >
> > > <system.runtime.remoting>
> > > <application>
> > > <service>
> > > <wellknown mode="SingleCall"
> > > type="elantis_BUS.BusCountry, elantis_BUS"
> > > objectUri="BusCountry"/>
> > > <wellknown mode="SingleCall"
> > > type="elantis_BUS.BusProvince, elantis_BUS"
> > > objectUri="BusProvince"/>
> > > </service>
> > > <channels>
> > > <channel ref="tcp" port="8001" />
> > > </channels>
> > > </application>
> > > </system.runtime.remoting>
> > >
>
>
>
>