dhana lak

dhana lak

  • NA
  • 1
  • 1.2k

.net windows servcice - Getting started...

Jul 17 2014 3:00 PM
hi,
I want to write a windows service which just performs a webservice call and a database insert. It just involves 2 tables.
Can anyone pl give me the right directions?


The service gets started from a sql-server job running on the server through some batch scripts. In the start method, i am retrieving top 500 rows from tableA and passing into a forloop. In every loop, a asmx or svc webservice gets called and some values are returned. These values are inserted into another tableB. Just that.



Which is the best solution for this problem. Can i use delegates and threading.
Instead of Windows service, is there any other best way like REST services e.t.c..

can i use threading, delegates.
what is the advantages of using message-queues for this

Please help.

Thanks in advance