Click here to Skip to main content
15,895,538 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I created aspn.net web application where set reminder by user on my application.Now i want to send message on mobile to particular user to remind the reminder automatically.
Posted

1 solution

Since ASP.NET code only runs when an incomming request is made from a browser, its a very poor candidate to send reminders based on a certain time.

The solution is to create a Windows Service that has access to the data your apps reminder data saved in a file or database (you ARE saving this data somewhere, correct?). Once every minute, this service can search the data and find all the reminders that are scheduled for that time, send them out and go back to sleep. You can use a Timer for this in a service.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900