Communication between Windows Service & Stateful WCF with multiple clients

LokeeasefLege

New Member
I would like to expose a variable received from an external componant by the windows service to a web site. So I try to expose this variable (in fact a DataSet) to the WCF hosted by the windows service and display it in the web site. The web site communicates with the WCF Service.I have a Windows Service hosting a WCF. The Windows Service calls a method from the hosted WCF to increment an integer which is a public variable of my service class exposed by the WCFThe WCF is stateful. When I start the Windows service, the integer is incrementing (a timer calls the method every x seconds), no problem!The WCF is also called by web site. When I call methods from the WCF, I have no problem (the integer variable continues incrementing) BUT when I call a method from the WCF and in this method I access the integer variable, this variable is no more incremented by the windows service (communication between service and wcf lost?)Thks a lot
 
Back
Top