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. .NET (Core and Framework)
  4. Asynchronous messaging with web service

Asynchronous messaging with web service

Scheduled Pinned Locked Moved .NET (Core and Framework)
xmlquestioncsharpwcfoop
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.
  • M Offline
    M Offline
    Metal76
    wrote on last edited by
    #1

    Forgive me if this is a silly or badly formulated question but I'm a newbie in .NET programming. I need an easy way to exchange asynchronous messages between a Windows service (or client application) and a Web service. Up till now I've considered (but still not implemented and tested) the following approaches: - Using a TCP socket. Is there any standardized way in .NET to send/receive messages using this link? For example, using XML or SOAP as a standard encapsulation format for data. - Using MSMQ. Is this a valid approach for this kind of applications? I could not find many information. Do you have any suggestions and/or links to good reference material? Regards, Andrea

    W 1 Reply Last reply
    0
    • M Metal76

      Forgive me if this is a silly or badly formulated question but I'm a newbie in .NET programming. I need an easy way to exchange asynchronous messages between a Windows service (or client application) and a Web service. Up till now I've considered (but still not implemented and tested) the following approaches: - Using a TCP socket. Is there any standardized way in .NET to send/receive messages using this link? For example, using XML or SOAP as a standard encapsulation format for data. - Using MSMQ. Is this a valid approach for this kind of applications? I could not find many information. Do you have any suggestions and/or links to good reference material? Regards, Andrea

      W Offline
      W Offline
      Wendelius
      wrote on last edited by
      #2

      Have a look at WCF. It has much better programmability than simple web services. One article that could help you is: Synchronous and Asynchronous Operations[^]. Hope this helps, Mika

      The need to optimize rises from a bad design. 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