I want to implement a push notification feature for an iPad app. As per requirement Admin can decide when push notification should call. Admin have a webpage where he can Add/Edit the time of the initiation of PUSH notification. How I implement this feature? We had hosted our website on our own Virtual Private server. What is the best method to achieve the above requirement?
Please guide me. Thanks in Advance.
If notifications can appear at random times in the database then I would create Windows Service to poll the notifications table every X seconds/minutes (depends what you need).
WCF won't help you here, not sure how you wanted to use it. You can send APNS notifications by using PushSharp
in the Windows Service.
However, if you want the database to be polled at larger intervals (in the hours) then create a console app (over PushSharp) and use Scheduled Tasks to run it periodically.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.