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.
Related
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?
I have an asp.net core api for a delivery tracking system that interacts with xamarin.forms mobile app, I want to send push notification for certain events like order is received or cancelled etc...
I'm new to push notifications, I have tried some examples of sending push notification using FireBase and OneSignal, but could not find any examples for sending these push notification using my asp.net core api.
what are the steps i should follow to make that work ? any link for a working example is all i need.
One of the easy ways to implement push notification is to use the Appcenter
https://learn.microsoft.com/en-us/appcenter/sdk/push/xamarin-forms
follow this documentation.
Appcenter also has an API to send the notification so you can integrate it inside your app.
https://learn.microsoft.com/en-us/appcenter/push/pushapi
Hope this helps
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
I have deployed a bot in azure. Bot is written in C# using microsoft bot framework.
I am able to communicate with it using Microsoft Bot Framework Emulator after providing the azure URL, App Id and App Secret.
How to communicate with the bot from android?
Is there a URL to communicate with it like a REST Api?
If you use a bot registered to BotFramework, you can try to configure the Web Chat channel :
Log in to Bot Framework
Go to "your bots"
Click on the bot you've registered
Click on "Edit" next to “Web Chat” in the Channels
Generate your Web Chat Secrets (a blue button)
Tick "enable this bot on web chat"
Take note of the secret and embed tag
Then, take out the link from the iframe, (you'll get something like this : https://webchat.botframework.com/embed/YourBotID?s=YOUR_SECRET_HERE )
Replace YOUR_SECRET_HERE with the secret you previously took
Then, browse the final link from your phone / anywhere.
#SandeepMenon, There is a blog which introduces how to integate Azure Logic Apps with a Bot Web App using Bot Framework API hosted on Azure and supply the sample project on GitHub.
I think you can try to refer to the blog and use the Azure Logic App as callable endpoint, then to communicate with bot from android is only implementation for calling the http endpoints from android.
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