问题描述
嘿伙计们,我已经在互联网上做了很多搜索,找到了一个没有运气实现SingalR的非MVC应用程序的例子。
好的简要介绍一下我的情况之后。
我想使用SingalR在任务完成时向用户显示弹出消息,我在数据库中有一个名为notification的表,其中有一个statusId列,我希望Singalr呈现一个当此状态设置为某个值时弹出。显示弹出窗口不是使用SingalR知道数据库中何时达到此值的问题。
关于如何实现这个或者甚至是可能的任何想法?
我正在使用Sql Server,先谢谢你们。
Hey guys, I''ve done a lot of searching on the internet to find an example of a non MVC application which implements SingalR with no luck.
Ok a brief overview of what I am after.
I want to use SingalR to present the user with a popup message when a task has completed, I have a table in the database called notification which has a statusId column, I want Singalr to present a popup when this status is set to a certain value. Displaying the popup is not the problem its using SingalR to know when this value is reached in the database.
Any ideas on how to achieve this or is it even possible?
I''m using Sql Server thanks in advance guys.
推荐答案
这篇关于将SingalR与非MVC应用程序一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!