N
NWx
Hi,
I have an ASP.NET application which allow registered user to set-up
notifications, saved into an SQL server database.
I want to make a win service which periodically check this SQL server table,
and send e-mail at the moment a notification is scheduled.
Question: what is the best way to implement this? Should I create a timer,
and in timer event to check the database and send notifications?
Wouldn't this approach overloads the server's processor?
Is there any way to let SQL server to notify my (using some callback
mechanism) - to start my server process to send e-mail?
Any suggestion / advice is appreciated
Regards
I have an ASP.NET application which allow registered user to set-up
notifications, saved into an SQL server database.
I want to make a win service which periodically check this SQL server table,
and send e-mail at the moment a notification is scheduled.
Question: what is the best way to implement this? Should I create a timer,
and in timer event to check the database and send notifications?
Wouldn't this approach overloads the server's processor?
Is there any way to let SQL server to notify my (using some callback
mechanism) - to start my server process to send e-mail?
Any suggestion / advice is appreciated
Regards