.net Remoting events.

Hi all,

When using .net remoting, is it possible for .net remoting clients to listen for events that occur on the .net remoting server side, for example a DataTable defined at the server side, is it possible for the clients connected to the server to listen for ColumnChanged event of the server DataTable.

Many Thanks


Answer this question

.net Remoting events.

  • Idontcare2623

    Hi KraGie,

    the given link (http://aspalliance.com/AppErrors.aspx aspxerrorpath=/author.aspx) shows this message 

    " We apologize for the inconvenience. This error has been logged and our support staff has been notified.  
    Thanks, AspAlliance Staff"

    Many thanks,

  • BlairSh

    Sorry about that.  I put target="_AspAlliance", but that didn't go so smoothly.

    http://aspalliance.com/author.aspx uId=51561

    That's my author profile, and I only have two articles there right now.  I'm finishing something up, and I'll start writing one on Remoting between Console -> Web App -> Web Services -> Windows Services -> .....

    Hopefully, it will be done soon.  

  • Erin McGowan

    off course it can, rather remoting is the way to instantiate objects at remote sites, the same way values of a property can be sent also, and anything else that you want.

    plz make a tcplistener for that.

    Brijesh

  • BinduV

    I don't know about this one.  Attaching a remote event handler or even a listener appears a bit weird using remoting only.  I think it would be better to have a specific location to store events, and for you to communicate in specific intervals in the central location to see if an event occured.  What if you have 100 clients trying to look at the actual object... You'll experience a lot of network traffic for something so minimal.  I think it would be better just to have a central assembly that will store the actions, and all the clients will address the central assembly for the true/false or whatever else you need.


  • Joel Just Joel

    Hi KraGiE,

    Thanks for your reply, but can you explain please what do you mean by (all the clients will address the central assembly for the true/false).

    In my situaiton, I have the .net remoting server that holds some item prices, and the clients connects to the server and retreive those prices, now when the prices change I want this change to be reflected at the client side, for now Im acheiving this by storing all the clients in an arraylist at the server, and when a specific price changes then I loop through all the clients and invoke a particular method at the client side to reflect that change, this seems to be fine, but the problem occurs when a registered client lose the connection with the server, Im not being able to keep track of such a case, and its affecting the other clients by being delayed, plus if a specific client has a bad connection the same problem occurs, any help would be appreciated.

    Many Thanks.

  • Robert Lettan

    Dear brijesh,

    Thanks for your reply, 

    I would appreciate any code sample or links.

    Thanks again,

    Firas

  • dover1

    Hi KraGiE,

    I need to develop a .Net remoting Application that will track the users and then notify them when any data changes in the database.

    I have a problem. I can not find the details of the Client, I mean I use Tracking Handler I know when the data is marshalled and disconnected but do not know like the Client Name or ID, is there a way to get that.

    I tried to fire a event to server passing the Client name, but then there is a problem of knowing when the client is disconnected.

    How do you get client detail  How do you monitor that there is a change in the database and notify the users.

    Cheers
    Solen  

  • .net Remoting events.