Note that there are some explanatory texts on larger screens.

plurals
  1. POAdd iPhone push notification using ASP.NET server
    primarykey
    data
    text
    <p>Here's the overview.</p> <p>I need to add push notification to an iPhone app. Server side is ASP.NET in c#.</p> <p>What I would like is some coaching to work through the process. I will then post generic code for an iPhone project and an ASP.NET web app along with step-by-step instructions so that others can learn.</p> <p>Here is my understanding:</p> <ol> <li>Apply for APNS certificate and add it to keychain. (Not sure how to bring this to ASP.NET)</li> <li>Have iPhones register with registerForRemoteNotificationWithTypes, send the value to your server, and store in a DB. Seems like this code to register should be easy but I can't find a good sample. (No problem with sending the value to the ASP.NET server.)</li> <li>Your server app creates a payload string, does JSON encoding, sends to the APNS server for each (or can it be for groups) of iPhones using their device token that was saved into the DB.</li> </ol> <p>So to develop the addition, here are the pieces:</p> <ul> <li><p>The iPhone registration code</p></li> <li><p>Code that sends iPhone registration code to server and saves to DB (this is easy and I already have these pieces).</p></li> <li><p>The server side APNS contact code in c#. This also includes how to use the certificate that was generated on the Apple Developer web site.</p></li> <li><p>Also, can the payload be a multiple choice question that can be answered with the result sent back to the server?</p></li> </ul> <p>Thanks in advance for the help. I will turn this in to a tutorial for others.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload