Azure notification hub, Azure WebApp - azure

I am currently working on Azure notification hub, so instead of using a windows app, I want to use azure Web App and push notifications, will that be possible? and also help me with the required links.

Related

Will my teams bot application work if my application in Azure active directory and Azure bot are in two different accounts?

So I have a scenario where my sso app registration is in Azure active directory at dev1#mycompanyonline.com and my bot is provisioned using Azure bot in Azure portal that's in dev2#mycompanyonline.com. my bot web service is hosted publicly on Https with URL .../api/messages endpoint configured in Azure bot.
What can I do to make this work ? Currently when I upload my app package to teams it doesn't work and says something went wrong with no error. What could be the issue?
I provisioned cloud resources using teams tool kit and deployed my services again using teams toolkit
When you create the Azure Bot resource, you also create an Azure App Registration. This resource is also where you configure SSO authentication. The Azure App Service (or alternative server solution) actually hosts and runs the Bot as a web app. If you are trying to put the Azure Bot in the dev1 tenant and the App Service in the dev2 tenant, then this scenario should work as long as the bot's AppType is MultiTenant.
I haven't always had the best luck publishing a bot with Teams Toolkit. You might try the method in the docs on publishing a bot.

Azure Notification Hub - Registering from Mobile apps and Sending notifications via App back end

I'm planning to register devices from mobile app using tag account no (this is unique per account with more than one device linked to an account). This is done using Azure Notification Hub SDK on mobile app (Android and iOS).
Following registration, send notifications targeting account numbers from application back end (.Net application) to notification hub. Is this a correct approach? I'm assuming we follow a common template for all PNS servers (Apple and Google) when the notification is sent to hub.
Can you please advise.
Thanks for asking question! To Integrate Azure Notification Hubs into mobile apps you can follow below steps:
Set up Push Notification Services and Azure Notification Hub.
Use Register templates and tags with the Azure Notification Hub.
Create a cross-platform Xamarin.Forms application.
Configure the native Android project for push notifications.
Configure the native iOS project for push notifications.
Test notifications using the Azure Notification Hub.
Create a backend application to send notifications.
To add to this, Push notifications deliver information from a backend system to a mobile application. Apple, Google, and other platforms each have their own Push Notification Service (PNS).
Azure Notification Hubs enable you to centralize notifications across platforms so your backend application can communicate with a single hub, which takes care of distributing the notifications to each platform-specific PNS.
Reference: https://learn.microsoft.com/en-us/xamarin/xamarin-forms/data-cloud/azure-services/azure-notification-hub

How To Migrate Existing Azure Assets to Azure App Service

Can existing Azure assets, i.e. cloud services, notification hubs, SQL servers and databases, storage accounts and service buses be migrated to a Azure App Service? If so, how?
The Azure App Service (Mobile Service App) can use an existing Notification Hub. Using the "Push" setting, you can select a hub within the same resource group.
For Azure App Services, when you configure the notification hub for your app service, you could choose an existing Notification Hub. Note: You could choose an existing notification hub across different resource groups and under different locations. Moreover, when you add a new hub under "SETTINGS > Push" of your app service on Azure Portal, it would create a new notification hub within the same resource group for your app service and the location for the new hub would use the location of your resource group. I would recommend you follow Azure Resource Manager overview and Azure App Service plan overview for a better understanding of Resource Group and App service plan.
Can existing Azure assets, i.e. cloud services, notification hubs, SQL servers and databases, storage accounts and service buses be migrated to a Azure App Service?
For cloud services, I just found migrate an cloud services to service fabric and migrate the web application to cloud service. AFAIK, if you want to migrate your cloud services application to azure app service, you need to adjust your project and deploy it to your app service.
For SQL servers and databases, storage accounts and service buses, you just need to change the connection string for the specific services when communicating with them programmatically in your app service. Moreover, in order to reduce the latency between your app service with other azure services, you need to make sure they are in the same data center or closer to each other.

Azure Notification Hub vs Pusher

I'm currently using Pusher for push notifications to my web app's front end (web).
I just learned about Azure's Notification Hub.
Could I use Azure Notification Hub the same way I do Pusher? I only ever see MS talking about Notification Hub in the context of mobile apps.
Azure's Notification Hub is targeted to mobile platforms.
So I don't think it's suitable for your web app.
You can switch to https://socket.io

How to create notification hub tags programmatically?

I am new to Azure Notification Hub. I am implementing Azure Notification Hub for sending push notifications to mobile apps developed using Cordova.
Can anyone show me some sample code to create TAGS from ASP.Net Azure SDK?
When you subscribe to the tag from your app, it saves in backend as a part of the Registration entity. Then you just send the notification to that tag. You can see the registrations in the backend using Visual Studio or Service Bus Explorer.

Resources