Solved

How can we get push notification from device to pc with asp.net c#

Posted on 2013-12-12
3
767 Views
Last Modified: 2013-12-26
hi..
I want to create push notification service with asp.net c#. example, when we send any mail from outlook to gmail account see already opened gmail account, at that time it gives popup with their Primary tab, like "1 new". Exactly, I want to create this with my asp.net application for receiving notifications.
0
Comment
Question by:SAMIR BHOGAYTA
3 Comments
 
LVL 109

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 39723765
To do this you would need to first understand the nature of client/server protocols.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/A_11271-Understanding-Client-Server-Protocols-and-Web-Applications.html

The effect you see in Gmail is not really a "push notification."  It just looks that way.  Instead it is the effect of jQuery running on the client browser.  As the jQuery timer event fires (every few seconds) Gmail makes an AJAX request to the Google server to see if there are any new messages.  The Google server responds with information that Gmail uses to update the client document.  This update is made to selected <div> and thus it does not have the appearance of a new page load, since it just updates part of the page.

You can learn more about how to use jQuery to communicate with a server here:
http://jquery.com/
http://learn.jquery.com/
http://api.jquery.com/jQuery.ajax/
http://jqueryui.com/
http://jquerymobile.com/
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that undeā€¦
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question