Push notifications with Azure Push Notifications in ASP.NET - c#

For my ASP.NET MVC web application, to send the push notifications among the users I have used SignalR + Firebase.
And I have published my application and hosted it in the Azure service.
As a Database when I developed it I used MS SQL and when publishing it I chose AzureSQL as the database.
The thing is I can't use it because AzureSQL doesn't support the ENABLE BROKER hence the push notification isn't working.
So When I googled it, I saw that there is a Service called Azure Push Notifications
But I couldn't find a tutorial or example with integrating it with the ASP.NET project.
Is it possible to use Azure Push Notifications for my ASP.NET project? If yes, can anyone share with me the tutorial or something on how to do it?
As far my current project, I did it with the firebase and, created firebase project and included it in my project to ask to allow notifications when the user logged in, If the user Allowed the record saved with the User Id and the token, And whenever database change is happening, Push notification sends to the user.
So as this can we do it in Azure push notification?

Related

Outlook Push Notifications REST API with c#

I followed this tuturial: https://learn.microsoft.com/en-us/outlook/rest/dotnet-tutorial to publish a web app that can obtain access token of users. Now I have stared to read this tuturial: https://msdn.microsoft.com/en-us/office/office365/api/notify-rest-operations. However, I can't understand how to add the POST requests to my web-app so that the push notifications - when a new mail arrive - will be sent to a premade monitor (Azure function) that will handle them.
Any help would be appreciated!

Can Web Application Retrieve Data from Firebase Database using C#?

I have an Android mobile application that used to upload image and text to Firebase Database. Now, I have another web application that using C#, this is used to retrieve the data (which uploaded by the mobile app) from the Firebase. I found some examples regarding on how to retrieve data using C#, but it needs to "Add Firebase to your Web App" . Is it possible that not adding web app? Thank you.
I mean, is it possible that my mobile and web applications use the same Firebase Database/Storage, and both applications can add, edit, delete the data in the same Firebase Database/Storage?
Yes, it is possible to have an ios and web application using the same realtime database and same storage.
From the firebase docs:
The Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client. When you build cross-platform apps with our iOS, Android, and JavaScript SDKs, all of your clients share one Realtime Database instance and automatically receive updates with the newest data.
To add web or ios to the project, you need to go to the firebase console and then click on add another app and choose if ios/android/web and just follow the steps.

How to implement Azure Push in an ASP.NET Project?

I have a website created with ASP.NET. I want to use push notifications on Android and iOS to notify users about messages, requests, etc.
I tried to use Azure Push notifications by following the steps from this tutorial, but I do not understand how to implement Azure Push into my project.
How can I implement Azure Push in my ASP.NET project?
I did all the steps in this link successful, learn.microsoft.com/en-us/azure/notification-hubs/… but I don't know what the next or how I will used in my c# projects
Based on your description, you have successfully created the Azure Notification Hub and created your project for refreshing the GCM token and register it with Azure Notification Hub. For pushing notifications to the client users via Azure Notification Hubs in your ASP.NET project, you could refer to this tutorial.

Push Notification in Asp.net Webform or mvc using google cloud messaging

How does push notification technology work on Android?
i have read this post on stack over flow, how push notification works on android. Currently, am working on client server application( chat) can i use same push notification in my web client? or can i achieve push notification through google cloud messaging?
thanks in advance.
Well, if you want to get push notification, you will still need to use the Google Cloud Messaging to send the notification using the ASP.NET and C#.
I found this tutorial that can help you on how to integrate a push notification service for Android using ASP.NET and C#. This tutorial has a step by step process that can explain you on how to send push notification including Authentication Process, Server Certification and Send Message. It also contains sample code that you can follow.
For more information, check also this ASP.Net Mobile Push Gateway Tutorial for Realtime Apps

Is it possible to send push notifications from an ASP.NET MVC4 form to windows azure mobile services

I'm trying to get windows azure mobile services to work, and now I want to let an administrator send his own custom push messages to all different devices.
Our idea is to make a website with login of course, where the administrator can fill in a form. This form will be sent or post to windows azure mobile services and then windows azure does the rest. Can someone point me in the right direction for sending to windows mobile azure from within asp.net MVC.
Yes, it's totally possible. You just need to create a notification Hub (service bus) to deliver your messages. Here some links:
http://www.windowsazure.com/en-us/develop/net/how-to-guides/service-bus-notification-hubs/
http://www.windowsazure.com/en-us/manage/services/notification-hubs/getting-started-windows-dotnet/
http://channel9.msdn.com/Series/Windows-Azure-Service-Bus-Tutorials/Notifications-Hubs-with-iOS

Categories