Recursively performing a task in windows service

Author Topic
job lot
Member

Joined: 02 Jul 2009
Country: AU
Posts: 1

Posted: 02 Jul 2009 09:53:37

I am using a third party API to send messages to customers from a .net win app. Apparently the app has to be running (as it subscribes to API event) to receive delivery confirmation.

The message, mobile# along with date_sent is saved in a db table which gets updated when delivery confirmation is received.

I want to know how I can warp sms functionality as windows service so that it could run in background and is independent of the actual application.

I am new to windows service and would appreciate your help. I am confused how I would make the service recursively poll the database for new records and update when delivery confirmation is received. Would the service be persistently connected to the database?

Thanks


I am using a third party API to send messages to customers from a .net win app. Apparently the app has to be running (as it subscribes to API event) to receive delivery confirmation.

The message, mobile# along with date_sent is saved in a db table which gets updated when delivery confirmation is received.

I want to know how I can warp sms functionality as windows service so that it could run in background and is independent of the actual application.

I am new to windows service and would appreciate your help. I am confused how I would make the service recursively poll the database for new records and update when delivery confirmation is received. Would the service be persistently connected to the database?

Thanks


Follow us on twitter Subscribe to our RSS feed
Activate your free membership today | Login | Currency