如何在asp.net中为Web应用程序创建Chrome通知?
问题描述:
Hii,
我开发了Web应用程序,它有助于基于逻辑和所有应用程序向用户发出有关警报.
我在想什么方法可以从Web应用程序向用户发送chrome通知?
我不确定如何在asp.net应用程序中应用此方法
以下是我正在谈论的内容
http://deanhume.com/home/blogpost/push- notifications-on-the-web --- google-chrome/10128 [
Hii ,
I have developed web application which is helpful for giving alerts for the users regarding based on logics and all of application.
What I was thinking is there any way to give chrome notifications to users from webapplication ?
I am not sure how to apply this in asp.net applications
Below is like which is something I am talking about
http://deanhume.com/home/blogpost/push-notifications-on-the-web---google-chrome/10128[^]
答
Mozilla开发人员网络具有API的文档:
使用Notifications API | MDN [ ^ ]
有一个方便的API开源包装器:
Notify.js-方便的包装器适用于Web Notifications API [ http://signalr.net/ [ ^ ]
Mozilla Developer Network has documentation of the API:
Using the Notifications API | MDN[^]
There''s a handy open-source wrapper for the API available:
Notify.js - A handy wrapper for the Web Notifications API[^]
If you want to trigger notifications from the server, rather than from the client code, then take a look at SignalR:
http://signalr.net/[^]