visual studio 2010 - Counter question -


i'm using visual studio 2010. have problem related code. problem have 2 pcs. have counter software, timer code on first pc. main problem is, when counter software stopped on first pc, counter on other computer should stop (without sql connection)

thanks in advance.

you implement service on second box accept "stop" request first box. use...

  • a wcf service (tcp/ip, iis hosted etc)
  • a web service (iis hosted)

then call service first box,

counterservice.stopcounter(); 

tutorial on writing wcf service:

http://blah.winsmarts.com/2008-4-writing_the_wcf_hello_world_app.aspx


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -