473,386 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 1301
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.