[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

microsoft.public.dotnet.framework.remoting

more than one config file in one folder with more than one server object

Greg

10/15/2004 3:07:00 PM

If I have more than one .dll that I want to create server objects from to
remote in a client activated scenario, can I create more than one config
file in the directory in which thye exist? thx, -hazz


2 Answers

Sam Santiago

10/15/2004 3:52:00 PM

0

No. What are you trying to accomplish? Is this related to your previous
post:

"Sam Santiago" <ssantiago@n0spam-SoftiTechture.com> wrote in message
news:uv6dQlssEHA.1924@TK2MSFTNGP10.phx.gbl...
> That depends on your design. For example, you might want the first to be
an
> SAO Singleton and the 2nd to be an SAO SingleCall. Or you might want to
> combine both into one CAO. The intended use sounds more like an SAO. If
> you decide to expose both services as the same type of remote object, SAO
> Singleton for example, you could have only one object with different
methods
> for authentication and authorization.
>
> Thanks,
>
> Sam
>
> --
> _______________________________
> Sam Santiago
> ssantiago@n0spam-SoftiTechture.com
> http://www.SoftiTe...
> _______________________________
> "hazz" <hazz@sonic.net> wrote in message
> news:eJysvGhsEHA.3508@TK2MSFTNGP14.phx.gbl...
> > I am trying to figure out WHAT in my object library needs to be made
into
> a
> > remotable object, specifically servers that can be called by a client at
> any
> > time.
> >
> > 1. From my client, I will need to access one assembly across a
remoting
> > boundary. That assembly contains a method for application level
> > authentication. It will pass back to the client a serialized token
> > containing data to be utilized for authorization.
> >
> > 2. Upon successful completion of 1 above, the client will need to pass
> this
> > serialized token to another assembly back across the same remoting
> boundary
> > which contains methods which are gatekeepers to the heart of the
> > application.
> >
> > My question is this. Do I create a configuration file for each of these
> two
> > assemblies as two separate server hosts, each of which will be accessed
> > separately at different times?
> >
> > Thank you. -hazz

"hazz" <hazz@sonic.net> wrote in message
news:O1VFxissEHA.1720@TK2MSFTNGP14.phx.gbl...
> If I have more than one .dll that I want to create server objects from to
> remote in a client activated scenario, can I create more than one config
> file in the directory in which thye exist? thx, -hazz
>
>


Greg

10/15/2004 4:26:00 PM

0

Since I am new to remoting at this level, yes, this post does relate to my
design question which does have to do with my previous post. I am sorry if I
appear to be grasping for straws at this point.
Your answer of "No, you can't have more than one config file for multiple
server objects in the same folder" helps me to go back to the intent of the
previous post which I will respond to there.
Thank you Sam.


"Sam Santiago" <ssantiago@n0spam-SoftiTechture.com> wrote in message
news:OWQgj7ssEHA.1408@TK2MSFTNGP10.phx.gbl...
> No. What are you trying to accomplish? Is this related to your previous
> post:
>
> "Sam Santiago" <ssantiago@n0spam-SoftiTechture.com> wrote in message
> news:uv6dQlssEHA.1924@TK2MSFTNGP10.phx.gbl...
> > That depends on your design. For example, you might want the first to
be
> an
> > SAO Singleton and the 2nd to be an SAO SingleCall. Or you might want to
> > combine both into one CAO. The intended use sounds more like an SAO.
If
> > you decide to expose both services as the same type of remote object,
SAO
> > Singleton for example, you could have only one object with different
> methods
> > for authentication and authorization.
> >
> > Thanks,
> >
> > Sam
> >
> > --
> > _______________________________
> > Sam Santiago
> > ssantiago@n0spam-SoftiTechture.com
> > http://www.SoftiTe...
> > _______________________________
> > "hazz" <hazz@sonic.net> wrote in message
> > news:eJysvGhsEHA.3508@TK2MSFTNGP14.phx.gbl...
> > > I am trying to figure out WHAT in my object library needs to be made
> into
> > a
> > > remotable object, specifically servers that can be called by a client
at
> > any
> > > time.
> > >
> > > 1. From my client, I will need to access one assembly across a
> remoting
> > > boundary. That assembly contains a method for application level
> > > authentication. It will pass back to the client a serialized token
> > > containing data to be utilized for authorization.
> > >
> > > 2. Upon successful completion of 1 above, the client will need to pass
> > this
> > > serialized token to another assembly back across the same remoting
> > boundary
> > > which contains methods which are gatekeepers to the heart of the
> > > application.
> > >
> > > My question is this. Do I create a configuration file for each of
these
> > two
> > > assemblies as two separate server hosts, each of which will be
accessed
> > > separately at different times?
> > >
> > > Thank you. -hazz
>
> "hazz" <hazz@sonic.net> wrote in message
> news:O1VFxissEHA.1720@TK2MSFTNGP14.phx.gbl...
> > If I have more than one .dll that I want to create server objects from
to
> > remote in a client activated scenario, can I create more than one config
> > file in the directory in which thye exist? thx, -hazz
> >
> >
>
>