Solved

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

Posted on 2013-12-12
3
754 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 108

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

To properly understand GitHub, let’s divide it into two words ‘Git’ and ‘Hub’. Git is basically a ‘Distribution Version Control’ (DVC) and ‘Source Code Management’ (SCM) system widely used by software programmers while Hub means the efficient centre…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
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)

947 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now