Re: Remoting or windows service

From: kiln (kiln_at_brick-like.com)
Date: 07/20/04


Date: Tue, 20 Jul 2004 11:46:35 -0700

I'm also completely new to remoting...one thing I was wondering, with
remoting it would seem that there are two almost separate programs
involved, the client and the server. So, how does one build such an app?
I have vs.net but I'm just wondering about the mechanics of how they are
developed. Does vs.net provide a way to work with the client end and the
server end at the same time, or does one build out the server end first
and then the client interface?

BTW your rundown on the differences between remoting and services was
good.

I was wondering, is are there are any demo apps up on the web, that
allow guest users get the client app, log in, and enter junk data? I'd
be a kick to see it in action.

In article <OBnMqSobEHA.2940@TK2MSFTNGP10.phx.gbl>,
rockfamily@REMOVEME.hotmail.com says...
> Hiten wrote:
> > Anybody has idea on difference between .net remoting and .net windows
> > service?
>
> None. These are totally different things. It's like trying to compare a car
> and a house. Have you really done any research on .NET Remoting and Windows
> Services? Because there are loads of web sites that explain what they are.
>
> In short: a windows service is a particular kind of Windows application that
> has no user interface and runs in the background regardless of the logged in
> user (which means that a Windows service can run even if there is no user
> logged in). They are usually used for server applications. A typical example
> would be a Web Server application: it has to run all the time as soon as the
> computer is started, doesn't need to have any user interface and doesn't
> care to know if a user is logged on or not. Under Windows NT/2000/XP, go to
> the control panels -> administrative tools -> services to see the list of
> all windows services installed on your computer.
>
> .NET Remoting is a framework that allow you to communicate between 2 .NET
> applications (which can be either Windows applications, Windows services or
> an ASP .NET applications). More precisely, .NET Remoting allows you to
> expose, from the server application, objects that can be used by your client
> application (which can be located on the same or on another computer).
>
> > Can I instantiate class and methods of a windows service application
> > from C#? if yes then how??
>
> No. But you could in your windows Service, expose your classes/objects via
> .NET Remoting, allowing client applications to instanciate/use them.
>
> > and would it be capable of exchanging
> > object across processe boundries?
>
> No. But .NET Remoting does that.
>
> Look on the code project web site for introduction articles about .NET
> remoting and windows services: http://www.codeproject.com
>
>
>
>



Relevant Pages

  • Re: Events in .Net Remoting
    ... I am writing with respect to the Events in .Net Remoting that I had ... another channel for the callbacks..both on client side. ... Then I force a method on the server end (through a GUI control on the ... >> the regular client side requests still work fine. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: passing structs (setializable) object in web service
    ... The philosophy of webservices is different than that of remoting. ... follow Seely's advice as Christoph pointed out earlier - you have to modify ... > having total control over both client and server types. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Delegate Failure after Migration to .NET 2.0 - Vista
    ... remoting to work in .NET 2.0 for you? ... ActivatedClientTypeEntry entry = new ... I make the single below call in order to register my server type. ... the client. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Looking For Code Sample and Request Feedback
    ... I would prefer to use a Windows Service but a web service will do to. ... What is very easy to do on a Server 2003 and with VBNet? ... > I am looking for a code sample that communicates from a client to a remote> Windows Service on another computer over the internet, that is the Windows> Service performing instructions the client sends. ... the client does the office automation and the actual> communication of the commands to this server. ...
    (microsoft.public.dotnet.languages.vb)
  • Reuse of Remoting Channels...
    ... makes it possible for the server to know the identity of the caller. ... If my client is on the other side of a Windows 'realm' (as in the ... RemotingConfiguration options) to reject any clients whose credentials ... "Remoting server cannot be reached. ...
    (microsoft.public.dotnet.framework.remoting)