Web / Browser push notification from web to mobile device (cross platform) using azure

Viewed 1267

I have a website which is hosted on Azure. I would like to "Web push notification" or "Browser push notification" from web to all mobile device (cross platforms). I don't have a mobile app, just a website. So what I want is if a customer agrees to allow notifications on his device then it should show on it even while device is locked.

This website described full functional view of requirement: https://www1.vizury.com/web-push-notifications-defined

But this is paid service and I have already azure subscription so i would like to use azure notification hub and want to build this functionality. Application : Asp.net MVC + Azure Hosting , Requirement: notification from web browser to mobile device without mobile app, if possible using azure notification hub

If any one know about this type of requirement solution please provide me a way to implement it.

1 Answers

There are several techniques that do the job, I would suggest Web Sockets as it turned out to be the most performant solution, at least in my case.

There's also a framework for ASP.NET called SignalR that transparently encapsulates some of the most common techniques like Web Sockets, Server-Sent Events (SSE) and Long Polling, so that you don't have to deal with fallback mechanisms yourself. Have a look here: https://www.asp.net/signalr

Related