Remoting & Passing Events

G

Guest

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.
 
K

Kevin Yu [MSFT]

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."
 
P

Peter Huang [MSFT]

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.public.dotnet.framework.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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top