Click here to Skip to main content
15,881,715 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need conceptual help.
I've a web application in asp.net MVC that create schedule (just like reminder application) according to date time and store this information in database. Now I would like to send message to user on that date and time(not manually.
Users means mobile phone app (My created app) user, phone will receive push. user not concerned about my web application it a control panel.
Usually i send push notification manually to user device by running a script from web application, It can send instant notification but i need to send it according to time schedule automatically.
How can i do this???
Posted

1 solution

It is not a good idea to turn your application into a ticking-clock for such purpose (waste of resources)
I would examine two options:
1. Create a Windows service, or use an existing service for the same...
(Check these:
https://msdn.microsoft.com/en-us/library/windows/apps/hh913756.aspx[^]
https://msdn.microsoft.com/en-us/library/windows/apps/hh465460.aspx[^])
2. Use SQL Service Broker to send messages (I think this is better as your data already in the DB): https://msdn.microsoft.com/en-us/library/bb522893.aspx[^]
 
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