473,378 Members | 1,504 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,378 software developers and data experts.

Remote Eventing Example Required

Hi,

I have foolishly got myself caught up in coding a pretty simple app in c#,
on the back of very little experience of the language. At the heart of the
app, is a remote server, which fires events of various types when particular
circumstances arise - around this server, I need a variety of clients, each
of which will be interested in one or more of the event types fired by the
server - so a group of clients in a network subscribing to events generated
remotely.

I would like to define an library containing abstract event types, and
implement them only where required (I don't want to reference the server
assembly in my clients - only the abstract library) It seems a common
scenario, and I'm sure there are people who do exactly this every day, but I
simply cannot find a good example on the web - the one I initially modelled
from was posted at http://www.codeproject.com/csharp/csRemoteEvents1.asp,
but I couldn't get it to work - probably because I couldn't correlate my
configuration settings with the code presented - but surely there is another
sample somewhere? (please don't point me atthe MSDN samples - the model
there is so contrived, and non-typical that it is almost useless).

Thanks in advance.
Nov 16 '05 #1
1 1524
Hi,

Events over remoting are actually "remoting in reverse" - your client has to
become remoting servers themselves in order to receive events.
When I faced such a situation, I decided to use named pipes instead - no
managed code support but still less hassle.

--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx

"News-West" <Aidend@None> wrote in message news:41**********@127.0.0.1...
Hi,

I have foolishly got myself caught up in coding a pretty simple app in c#,
on the back of very little experience of the language. At the heart of the
app, is a remote server, which fires events of various types when
particular circumstances arise - around this server, I need a variety of
clients, each of which will be interested in one or more of the event
types fired by the server - so a group of clients in a network subscribing
to events generated remotely.

I would like to define an library containing abstract event types, and
implement them only where required (I don't want to reference the server
assembly in my clients - only the abstract library) It seems a common
scenario, and I'm sure there are people who do exactly this every day, but
I simply cannot find a good example on the web - the one I initially
modelled from was posted at
http://www.codeproject.com/csharp/csRemoteEvents1.asp, but I couldn't get
it to work - probably because I couldn't correlate my configuration
settings with the code presented - but surely there is another sample
somewhere? (please don't point me atthe MSDN samples - the model there is
so contrived, and non-typical that it is almost useless).

Thanks in advance.


Nov 16 '05 #2

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

Similar topics

1
by: Lex | last post by:
I have an app that allows for cross process eventing. I have a server that instantiates a shared object that external processes can remotely get a refernce to and register for events. The...
2
by: John Jenkins | last post by:
Does anyone have any introductory references to either WS-Addressing, or WS-Eventing, with perhaps worked examples?? Thanks
1
by: Stefan Lischke | last post by:
hi there, I have a lot of problems generating code for the new "WS-Eventing" Specification http://schemas.xmlsoap.org/ws/2004/08/eventing/ Is it possible, that after IBM joined this spec....
1
by: rawCoder | last post by:
Hi, How does WS Eventing works around the problem of the subscriber client being a Winform Application and behind firewall / Proxy server? In Other Words ... If I have a Windows Form...
0
by: Stefan Lischke | last post by:
Hi, I'm really desperate using code generation(wsdl.exe) from wsdl files for latest WS-Eventing(including WS-Addressing) Specs. I'm writing my diploma about "publish subscribe systems based on...
0
by: brking | last post by:
How do you implement an asmx web service using someone elses WSDL, like WS-Eventing ? That is, how can a client implement an event sink in asmx against this spec ? Do they need to disable...
0
by: Sam | last post by:
I've tried out a psudo WS Eventing via client calling Async WS methods calls and server in a while-checkCondition-sleep loop and that seems to work (at least in simple testing). But is there a way...
0
by: MichaelPhillipson | last post by:
Hello, I am planning and researching an application in which a given number of client applications would register interest with a web service, this web service would then monitor a value and...
1
by: =?Utf-8?B?Q2hyaXM=?= | last post by:
Hi, we have data points coming in quickly a few times a second and need to push it out to many clients (Flex, if its important...) who subscribe to receive the data without polling for each point. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.