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
  1. Home
  2. General Programming
  3. WCF and WF
  4. WCF Events

WCF Events

Scheduled Pinned Locked Moved WCF and WF
csharpdatabasewcftutorialannouncement
2 Posts 2 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.
  • E Offline
    E Offline
    esjq
    wrote on last edited by
    #1

    Hi all! I need some guidance regarding event handling in WCF. I'd like to have a service to notify a client of some changes, for example, a new record has been added to the database. And when the client receives the event it shall update a listbox. I really don't know where to start. I've seen some examples with duplex communication between the service and the client. But that is not the event handling with delegates and events I'm used to. Can anyone explain or supply good links to some sites describing event handling in WCF. Thanks for your time!

    P 1 Reply Last reply
    0
    • E esjq

      Hi all! I need some guidance regarding event handling in WCF. I'd like to have a service to notify a client of some changes, for example, a new record has been added to the database. And when the client receives the event it shall update a listbox. I really don't know where to start. I've seen some examples with duplex communication between the service and the client. But that is not the event handling with delegates and events I'm used to. Can anyone explain or supply good links to some sites describing event handling in WCF. Thanks for your time!

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Why use WCF for this? If you're using SQL Server, you could always hook up with SqlNotifications which are designed to do precisely this. If you really want to use events, take a look at this[^] article by our very own Roman Kiss.

      Deja View - the feeling that you've seen this post before.

      My blog | My articles

      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