Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Delegates in Remoting

Delegates in Remoting

Scheduled Pinned Locked Moved .NET (Core and Framework)
comsysadminquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Shyam K Pananghat
    wrote on last edited by
    #1

    Hi, I have a delegate in my remote object. And i want to assign a client side method to that delegate from client. so that the server can call the client side method. How should i do that. I dont want to pass any object frm client to server onorder get it registered there

    Shyam my blog dotnetscoups.blogspot.com . swthoughts.blogspot.com .

    D A 2 Replies Last reply
    0
    • S Shyam K Pananghat

      Hi, I have a delegate in my remote object. And i want to assign a client side method to that delegate from client. so that the server can call the client side method. How should i do that. I dont want to pass any object frm client to server onorder get it registered there

      Shyam my blog dotnetscoups.blogspot.com . swthoughts.blogspot.com .

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      I don't recommend doing this (events or callbacks) for various reasons. Performance being one issue, stability being another. This may have changed with the release of Windows Communication Foundation (WCF), but I haven't had the time to try it out myself, let alone test it in a scalable situation.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007

      1 Reply Last reply
      0
      • S Shyam K Pananghat

        Hi, I have a delegate in my remote object. And i want to assign a client side method to that delegate from client. so that the server can call the client side method. How should i do that. I dont want to pass any object frm client to server onorder get it registered there

        Shyam my blog dotnetscoups.blogspot.com . swthoughts.blogspot.com .

        A Offline
        A Offline
        Alexander Arlievsky
        wrote on last edited by
        #3

        Take a look at my article - Persistent Events (here in codeproject). I think it has an answer for your question as well

        ========================================================== Alexander Arlievsky Chief Software Architect & CTO, mPrest Ltd alex@mprest.com "The most valuable tools for debugging are brains" ==========================================================

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups