473,473 Members | 1,843 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Remoting Example

I am working on a server application that uses a windows service as it's source. Included in this app I also have a monitoring and configuration client that needs to be written. For this I am using remoting to talk to the service and collect information on what it is doing. What I need to do now is to events inside the service application and recieve then on the mgr client application
Does any one have any small examples of manually raising an event (Which I know how to do) and having the client pick it up

? do I have to set up the server the other way around, at the moment I have the remoting server processes running inside the the service. do i have to set them up in the client, add an event handler in the service and on that event send the data to the client where the client server processes recieve the remoted data

Thanks for you help Glenn.
Nov 20 '05 #1
3 1304
I was trying to follow you but I got loss, sorry. Are you just trying to
communicate between programs on different servers? If you are try using
MSMQ you can set events on the message queues.

"Glenn Wilson" <an*******@discussions.microsoft.com> wrote in message
news:68**********************************@microsof t.com...
I am working on a server application that uses a windows service as it's source. Included in this app I also have a monitoring and configuration
client that needs to be written. For this I am using remoting to talk to the
service and collect information on what it is doing. What I need to do now
is to events inside the service application and recieve then on the mgr
client application. Does any one have any small examples of manually raising an event (Which I know how to do) and having the client pick it up.
? do I have to set up the server the other way around, at the moment I have the remoting server processes running inside the the service. do i have
to set them up in the client, add an event handler in the service and on
that event send the data to the client where the client server processes
recieve the remoted data.
Thanks for you help Glenn.

Nov 20 '05 #2
I was trying to follow you but I got loss, sorry. Are you just trying to
communicate between programs on different servers? If you are try using
MSMQ you can set events on the message queues.

"Glenn Wilson" <an*******@discussions.microsoft.com> wrote in message
news:68**********************************@microsof t.com...
I am working on a server application that uses a windows service as it's source. Included in this app I also have a monitoring and configuration
client that needs to be written. For this I am using remoting to talk to the
service and collect information on what it is doing. What I need to do now
is to events inside the service application and recieve then on the mgr
client application. Does any one have any small examples of manually raising an event (Which I know how to do) and having the client pick it up.
? do I have to set up the server the other way around, at the moment I have the remoting server processes running inside the the service. do i have
to set them up in the client, add an event handler in the service and on
that event send the data to the client where the client server processes
recieve the remoted data.
Thanks for you help Glenn.

Nov 20 '05 #3
I have the applications talking to each other
The client app sends a request to the server app using remoting and I can get data back

Now I need to have a message sent to the client app by remoting when an event fires on the server, for example sending a message when the service stops, or an action succeds inside the server processes

Regards Glenn
Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Sean Newton | last post by:
I am absolutely bewildered by now by the Microsoft.Samples SSPI and Security assemblies. I've been trying to set these up in a very straightforward harness in the way that I'd like to be able to...
5
by: mayamorning123 | last post by:
A comparison among six VSS remote tools including SourceOffSite , SourceAnyWhere, VSS Connect, SourceXT, VSS Remoting, VSS.NET To view the full article, please visit...
15
by: Sharon | last post by:
I’m trying to build a generic Publisher-Subscriber that will work over the net, so I’m using the Remoting. I wish that the subscriber user will be notify about the messages sent by the...
4
by: Uchiha Jax | last post by:
Hello everyone, I am a plenty silly person who is trying to learn .NET remoting through trial and error (all articles I read are going over my head at the moment (mostly) so I thought i'd give...
1
by: David Krmpotic | last post by:
Hi All! I have a .NET remoting Client-Server application with Server Activated Objects only.. something is worrying me.. sometimes (rarely), I can't connect to the server although it is...
15
by: Ron L | last post by:
We are working on a distributed VB.Net application which will access a SQL database located on a known server. Each client will run on the user's local machine. To implement this, we are trying...
9
by: Nak | last post by:
Hi there, I have been messing around with remoting in an attempt to create a "shared application" as mentioned in another thread by that name. I have created a singleton object just like the...
3
by: breeto | last post by:
If you've configured .NET Remoting to use more than one channel of the same type, for example two TcpClientChannels with unique names, when you want to create a proxy to a remote object how do you...
6
by: Mike9900 | last post by:
How can I connect my .NET app which use remoting to communicate over internet, 2 instance of the same app? My app is already done using .NET Remoting. I am wondering if to change them to WCF or...
6
by: John Heitmuller. | last post by:
I have created a very simple and short (70 lines) demo to demonstrate how to send data between instances of the same applications running on the same box. Here is a link to a .zip file that...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.