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 help

WCF help

Scheduled Pinned Locked Moved WCF and WF
questiontutorialcsharpwcfsysadmin
1 Posts 1 Posters 1 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.
  • D Offline
    D Offline
    David Knechtges
    wrote on last edited by
    #1

    I am trying to use WCF to transfer objects' data between two machines. I don't care whether I use TCP or HTTP for the transfer, but the examples I have seen use TCP, so I would like to use that. My question is this: I host the service in my Windows app using the ServiceHost. How do I get my object's data into the service itself so that when a client uses the service, it returns the correct data? For example, I need to transfer a schedule object, a session object, and a ushort number. The schedule and session objects contain several items including List items as well. I guess I don't know how to setup the servicehost in my windows app so that what I want to happen will occur. The examples and websites I have looked at have not helped much. They mostly focus on the client sending a piece of data to the server, and then the server just sending back a string that it makes within the service object's data contract itself. Thanks, David

    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