Remoting revisited

T

tomb

Apparently the group microsoft.public.dotnet.framework.remoting no
longer exists, or it is hiding from my listing. In any case, I still
need help with how to approach remoting.

This is my first remoting projct, and the documentation and samples I
have found don't do much to make clear how to approach this structure.
Everything I have found shows only small pieces of the concept, and not
in context.

I have an executable on a server on my lan that has a type library so I
can instantiate an axtivex object on my client that will interact with
the application on the server. However, I don't quite understand how
this is supposed to happen. The examples I find are using either
ftpclient or httpclient to instantiate an object on the local web server.

My client program must be able to have this object instance for an
entire day. I found something about a lifetime contract, but I don't
understand what to do with that. I don't find anything that puts the
pieces in one place - just short clips of individual code.

Could someone please show me an example of how to remotely instantiate
an activex object that is on a lan server? I believe this used to be
referred to as DCOM before the days of dotnet.

I think if I can see a clear example of how this works, then when I move
it to IIS I'll be able to figure out the necessary changes. Unless, of
course, you feel an urge to share that also! :)

Thank you in advance.

Tom
 
M

Mr. Arnold

I think if I can see a clear example of how this works, then when I move
it to IIS I'll be able to figure out the necessary changes. Unless, of
course, you feel an urge to share that also! :)

Why beat around the bush? You need a Web service solution.

http://articles.techrepublic.com.com/5100-10878_11-5793272.html

If you want to work with .Net Remoting, then you need to get a good book on
the fundamentals. There is no coming around it.

The book below might help you, because by looking at what that CSLA
Framework is doing along with putting the Tracker project together where
that Tracker project is using the CSLA Framework with .NET Remoting, you
might get some ideal of what is needed to use .NET Remoting. You can look at
the code for the CSLA Framework and see what it is doing.

The Tracker project is deployed to a Windows NT based workstation, the
objects are sitting on the workstation, and the same objects are sitting on
a Web server. And from the workstation, the application uses the objects
on the Web server. The same Tracker project is an ASP.Net solution . Both
solutions Windows Desktop and ASP.Net Web solutions are using the same
objects on the Web server using a Web service and .Net Remoting.

http://www.lhotka.net/cslanet/download.aspx
 
M

Michel Posseth [MCP]

Hello Tom
Apparently the group microsoft.public.dotnet.framework.remoting no longer
exists, or it is hiding from my listing. In any case, I still

No it is still availlable here is a link to the official MSDN interface to
the newsgroup
http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.dotnet.framework.remoting

in anny NNTP newsreader it should open with this link ( even outlook express
would open this ) news://microsoft.public.dotnet.framework.remoting
as you see the remoting newsgroup is verry much alive


To get you started :
This is my first remoting projct, and the documentation and samples I have
found don't do much to make clear how to approach this structure.
Everything I have found shows only small pieces of the concept, and not in
context.

remoting is a pretty specialized technique , that is normally used in large
, scaled out applications ( distributed apps )
when i started with remoting some years ago it was indeed hard to find good
documentation and / or examples
so is started buying books wich most of them were a waste of monney ,
however one of them really did help me out it was this book
http://www.amazon.com/Microsoft-NET...r_1_22?ie=UTF8&s=books&qid=1199202945&sr=8-22
wich is a verry good starting point for anny distributed app ( it also
covers webservices, COM + , and Queing MSMQ ) and has examples in both VB
and C#

regards

Michel
 

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

Top