ASP.NET Core web notification implementation - c#

For the intranet company, I want to send to user web notification. This notification could be general (new feature in the intranet) or for a specific user (a task is ready to pick up or an import is completed).
I started to use SignalR but the user receives the notification only if the intranet is open. So, I'm looking around to implement a different web notification and I saw some posts:
https://blog.elmah.io/how-to-send-push-notifications-to-a-browser-in-asp-net-core/
https://labs.bawi.io/web-push-notifications-through-vapid-method-7d4d6927a006
https://www.tpeczek.com/2017/12/push-notifications-and-aspnet-core-part.html
https://webpushdemo.azurewebsites.net/
I can't find an end-to-end implementation in ASP.NET Core. On GitHub I found a few projects but again when I close the browser, I can't receive the notification.
I can't find any Microsoft documentation for that. Can you point me in the right direction please?
Update
The idea is:
Setting up a minimal PWA
Subscribe to Push Notifications
Send Push Notifications
Receive Push Notifications
Show Push Notifications

Related

How Amazon SNS works with NodeJS and Xamarin?

I have Xamarin.Forms as my client side and Node as my Server side. Currently I am implementing a push notification feature. I found Amazon providing it through Amazon SNS. I have gone through the documentation. It states that we have to publish all our message to a topic and those who subscribe it, can get the push notification but my requirement is different. I have a role based app. If I send a request to another person, it should trigger a push notification. Basically I need to target specific device that use my app and not the topic publish subscribe things.
Is this possible with Amazon SNS or should I choose some other service which fulfill my requirement as I stated above? Please Help me out. Thanks
Yes. You can notify individual devices either through console or by API. Here are some information. Via console. You can also specify a TargetArn with the API call, which can be an endpoint URL.

Create Push notifications for Xamarin.Android without using FCM

I'm creating a xamarin.forms application and have got most of the app completed. My only hickup is push notifications. I'm sending my notifications to the app using SignalR and a .Net Web API Server. I'm able to receive notifications while the app is running however, I can't see tutorials for push notifications while the app is asleep. I've checked out services as well. Thank you for you help in advance.
SignalR is not a push notification and there is a difference between them.The main difference is that in case of SignalR you have to keep an opened connection to your hub in order to receive events / signals. So if you want to receive notifications while the app is killed or in background SignalR is a wrong solution since it is technically impossible to keep your application always running on a mobile device. However, push notification can awake your application when it is killed or in background.
I would suggest to rethink your current solution instead of looking for hacks.

Apple Push Notifications dropped from Azure

I have developed a ASP.NET MVC web application that exposes several APIs. One such API is to send a push notification via apple APNS to users. In my c# code i run parallel tasks for each notification that should be sent out. We are then calling Apple APIs direct. Some users are complaining that intermittently they do not receive push notifications. I wanted to know if there are some things to be aware of when attempting to send push notifications from Azure?
Thanks in advance.

Notification Hubs Message Status

I have some deployed mobile apps that use a backend Web API (not Mobile Service). I added push notifications support using another vendor. Recently...I wanted to check up on Azure Notification Hubs to see if I can also use them for some specific scenario. I am finding out that the documentation has not been updated for a while ...is it me? Is the notification hub the preferred way to send push notifications in Azure?
I am specifically interested in server-side registration. The doc has a special section about that which is nice but it looks quite complicated. Anyway, is there a way to retrieve the status of a message after I send it? For example, if I send a message to target a specific tag, I would like to know how many devices for each platform (i.e. Android, iOS and Windows) it was delivered to and whether the message is still in enqueue, etc.
I just responded to you at https://social.msdn.microsoft.com/Forums/en-US/d420fcc2-7e96-46cc-9dfc-71ea18086b56/notification-hubs-message-status?forum=notificationhubs. Thanks!

Setting up push notification for windows phone. MPNS and its role

I have read this:
http://msdn.microsoft.com/library/windows/apps/ff402558(v=vs.105).aspx
This is the API documentation of the push notification service I want to get pushes from: https://developers.podio.com/examples/push
How do I go about implementing push notifications with Podio if they do not support MPNS. It looks like (from the msdn documentation) that they will have to send the notifications to Microsoft Push Notification Service at stage 5.
Is there a way around this stage? Can I communicate directly with Podios PNS somehow? Why should Podio who are protected by Citrix have to send sensitive data through Microsoft's service when they have a service workflow of their own? I'm struggling to understand this!
Related documentation:
http://forums.wpcentral.com/windows-phone-8-guides-how-tos/234780-how-push-notifications-work-why-sometimes-they-might-not.html
EDIT
If I set up a service of my own that Microsoft's push notification service interacts with... I can then make interactions on behalf of Podio... Is this normal practice?... I'm assuming that the lag of double dosing requests is going to be pretty useless for something like a messaging application.
I noticed that Android seems to also now have a middle man service... But I assume that having the choice means large companies who do not want to make a handshake with a third party company do not have to?
http://developer.android.com/google/gcm/gcm.html

Categories