title: How to implement apple token based push notifications (using p8 file) in C#?
body: <p>For an app with some kind of chat based features I want to add push notification support for receiving new messages.
  What I want to do is use the new token based authentication (.p8 file) from Apple, but I can't find much info about the server part.</p>
  
  <p>I came across the following post:
  <a href="https://stackoverflow.com/q/42514289/404659">How to use APNs Auth Key (.p8 file) in C#?</a></p>
  
  <p>However the answer was not satisfying as there was not much detail about how to:</p>
  
  <ul>
  <li>establish a connection with APNs</li>
  <li>use the p8 file (except for some kind of encoding)</li>
  <li>send data to the Apple Push Notification Service</li>
  </ul>