Click here to Skip to main content
15,904,926 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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[^]
Posted
Updated 19-Dec-15 2:04am
v2
Comments
VICK 18-Dec-15 5:57am    
Can u explain "Chrome Notifications" a bit more?
deepankarbhatnagar 18-Dec-15 6:30am    
PLease explain where you struck
Torakami 19-Dec-15 7:54am    
It is something new API which is now a days supported by browsers .. We can call it as push notifications or web notifications which send web applications alerts throgh browser
Torakami 19-Dec-15 8:05am    
http://deanhume.com/home/blogpost/push-notifications-on-the-web---google-chrome/10128[^]
dimas1971 7-Aug-18 23:43pm    
Hi! Did you find any solution yet?

1 solution

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/[^]
 
Share this answer
 
Comments
Afzaal Ahmad Zeeshan 19-Dec-15 8:48am    
5ed.
Torakami 19-Dec-15 10:05am    
Hey Thanks .. I have folowed your links

https://alxgbsn.co.uk/2013/02/20/notify-js-a-handy-wrapper-for-the-web-notifications-api/

But I am not getting why this is not working with chrome.

Can you please tell me how to make that project workable for chromwe

A note about Chrome

Unlike other browsers that implement the Web Notification API, Chrome does not permit requesting permission on page load (it must be as a result of user interaction, such as a click event).

But not sure what does this mean . this project works with mjozila
Richard Deeming 4-Jan-16 8:16am    
The online demo[^] works fine for me in Chrome.

The note just means that you can't request permission to show a notification when the page loads; you must wait for the user to click an element on the page first. In the demo, that happens when the user clicks the button.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900