SQL Azure database trigger notification hub

折月煮酒 提交于 2020-01-25 05:52:04

问题


I have a SQL Azure database with one table on Azure and I want to trigger my notification hub when there is a change in the number of rows on my table so that I can send a push notification to my universal app.

I tried to trigger a WCF service so that I can then call my notification hub but with no luck. Also I don't think is the best way either anyway.

Do you have any thoughts?


回答1:


i think that you can try using Logic Apps in this case linked to your services, so whenever there is a new row added in your database's table you can trigger your notification hub

take a look at this: https://azure.microsoft.com/en-us/documentation/articles/app-service-logic-connector-sql/

if you cant link your logic app directly to your notification hub try calling a web service



来源:https://stackoverflow.com/questions/37490128/sql-azure-database-trigger-notification-hub

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!