Pergunta

Am trying to send push notifications to windows phone 8 using asp.net. Please guide me.

Foi útil?

Solução

Really, you need to specify whether this is for an app, or a webpage... but I still have answers for you

A simple google search for "asp.net wp8 push notification" revealed this msdn page as the first link. If that page isn't quite what you were looking for, the top 3 links also looked good.

The tutorial walks through it quite nicely, but the basics are,

  • you have to open a connection to the push notification service using a client app

  • then you create a asp.net page that will push information to the app

  • and then you run it.

if you are trying to do this from a website (with no client side app), I've used this implementation of a javascript alert in the past. On my android phone, it looks and works just like a popup notification from an app. I'm thinking it'll be the same for WP8. Note... this will only work if the user is actively viewing the webpage in the browser (not exactly a push notification).

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top