473,662 Members | 2,752 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Remoting & Passing Events

Is there a way that if I host my remoted object in IIS (not having to mess
with encryption & authentication via a custom sink) that the server can raise
events and the clients can detect them? If so what would be the best way to
go about having the client handle an event that is fired from the server...I
am currently using SingleCall and not Singleton.
Jul 21 '05 #1
2 1902
Hi.

We have reviewed this issue and are currently researching on it. We will
update you ASAP. Thanks for your patience!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #2
Hi

Based on my knowledge, event is kind of CallBack mechanism, so there should
be code to fire the event, also the server side just host the remoting
object, it did not interact with the remoting object.
So the remoting event is fired from the client, that is to say,
client-->call certain remoting object's method in client---> remoting
object in the serverside will process the method call, and in the method
call it will call the event handler(a callback, simply we can consider it
as a "function point") to call the method which has been added into the
event handler invoking list, and also the event handler method can be on
the client side, so that the client will be notified.

Here are some remoting sample for your reference.
Mike Woodring's .NET Sample Page
http://www.bearcanyon.com/dotnet/#RemoteEvents

BTW: There is a dedicated newsgroup for remoting, you may try to post here
so that many experienced community may have more idea.
microsoft.publi c.dotnet.framew ork.remoting

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 21 '05 #3

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

Similar topics

0
1123
by: MeAndI | last post by:
Hi, I build a ATL object that is used in an ASP page. Can I insert events inside this ATL object? ATL is builded in C++ Please help.
1
3727
by: xmp333 | last post by:
Hi, I have a form that is designed as a data sheet view. Attached to this is a subform with some VB code. When the user clicks on a row, the subform should pop up and run the VB code which accesses the record corresponding to the row clicked. To get this row, I tried using Me.Parent.Bookmark. Unfortunately, this gets the "Current Record" which is set via the navigation
1
4112
by: Andy | last post by:
Hi everyone, Small problem we are having here, just wanted to see if anyone could help out. Basically we have a user control with a textbox (that is docked to fill the whole control) that is going to be a base class for other controls. When you place this user control on a form we want to be able to drag it around and resize it, this in itself is not too much of a problem, and already with a normal text box we have this working,...
6
1808
by: Z D | last post by:
Hello, Is it true that I need to push the DLL for my entire class if I wish to use CAO remoting??? Can't I just use an Interface to the class on the client side and instantiate the object in a similar fashion to using SAO Singleton with an interface? ie: Dim MyPerson As IPerson
1
1034
by: ljlevend2 | last post by:
Is there any way to pass an array of events to another class? My idea is to pass an array of events that will be fired by a managed object whenever a manager class should update itself. The manager class would get the array of events from a managed object when the managed object is associated with the manager (in order to add event handlers) and then again when the managed object is disassociated with the manager (in order to remove the...
2
298
by: Nick | last post by:
Is there a way that if I host my remoted object in IIS (not having to mess with encryption & authentication via a custom sink) that the server can raise events and the clients can detect them? If so what would be the best way to go about having the client handle an event that is fired from the server...I am currently using SingleCall and not Singleton.
5
1843
by: Nick | last post by:
Hi there, Can anyone tell me what RTD is? And can it be used for simple interprocess communication? I am just interested in sending strings to a previous instance. I am currently using .NET Remoting via the "Windows Application Framework", but unfortunately McAfee's crappy firewall is capable of blocking the internal connection and causing any application that utilises it to crash, it doesn't even raise an unhandled exception via the
2
1586
by: Israel | last post by:
It seems like there should be a way to pass events around like delegates but on the other hand they’re sort of special delegates because the only one allowed to invoke them is the owner of the event. What I want to do is create a generic event forwarder that forwards events from a server to a client. It will only subscribe to the server events once and only if there’s at least one client subscriber. Once the last client subscriber...
0
8345
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8633
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7368
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6186
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5655
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4181
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2763
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 we have to send another system
2
1999
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1754
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.