Home All Groups Group Topic Archive Search About
Author
26 Jan 2006 2:16 PM
Halimaji Nijazi
Hi everybody

I am trying to access objects of a net-app from my net-app

I know that this is possible with remoting. But I have some problems with
the samples of microsoft. First they are to complicated for me and second
most of these samples are based for web remoting.

I only want to remote locally from my app.

Does someone has a simple sample?

Thanks alot

Nijazi Halimaji

Author
27 Jan 2006 12:56 PM
Phill W.
"Halimaji Nijazi" <t***@hotmail.com> wrote in message
news:e5CRgMoIGHA.3492@TK2MSFTNGP09.phx.gbl...

> I am trying to access objects of a net-app from my net-app
>
> But I have some problems with the samples of microsoft. First they are to
> complicated for me and

They /all/ seem that way; before you've conquered them ... ;-)

> second most of these samples are based for web remoting.

To avoid IIS poking its nose in, you'll need your own program to
"listen" for requests for Remote Objects.

There's a simple[r] way to do this in the

    System.RunTime.Remoting.RemotingConfiguration

Namespace; this reads an [XML] configuration file that defines the
types of Object that the program can "serve" out.
Now, I do this from a Windows Service, but IIRC, the first incarnation
of this program was just a Console Application, so I /guess/ you can do
this from /any/ program.

HTH,
    Phill  W.