Objective: I am trying to pass a user defined message from a website to a windows service running on a different server.
I have just been introduced to Windows Communication Foundation and there is ALOT here to it, so I would appreciate some clarification and additionally some advice. However, this looks to be the best way to communicate between websites and windows services. I have been reading several different articles on WCF and Iím a little confused on something. Basically, it seems like there is two different ways to do this.
One method seems to be creating a new WCF item inside my solution.
Or another way seems like all you have to do is add the <ServiceContract()> and <OperationContract()> tags in the classes of my already existing windows service and Iím able to call these methods from my Website like theyíre part of Websiteís project.
Public Class Test
I feel like thatís too easy and Iím not that lucky. So Iím going to assume that option one is how Iím going to have to proceed. Can anyone confirm this? And could anyone briefly explain to me how I could use this WCF item to relay messages between a Website and a Windows Service?
0 Replies - 168 Views - Last Post: 09 July 2012 - 08:29 AM
Page 1 of 1