SQL Azure数据库触发器通知中心 [英] SQL Azure database trigger notification hub

查看:123
本文介绍了SQL Azure数据库触发器通知中心的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个SQL Azure数据库,在Azure上有一个表,并且我想在表的行数发生变化时触发通知中心,以便可以向通用应用程序发送推送通知.

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.

我试图触发WCF服务,以便随后可以致电通知中心,但没有运气.而且我也不认为这是最好的方法.

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.

您有什么想法吗?

推荐答案

在这种情况下,我认为您可以尝试使用链接到服务的Logic Apps,因此,只要在数据库表中添加了新行,就可以触发您的通知中心

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

看一下这个: https://azure.microsoft.com/zh-CN/documentation/articles/app-service-logic-connector-sql/

如果您无法将逻辑应用直接链接到通知中心,请尝试调用网络服务

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

这篇关于SQL Azure数据库触发器通知中心的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆