Solved

How can we get notify that our web service is called from .aspx page in asp.net C#

Posted on 2013-12-22
3
603 Views
Last Modified: 2013-12-26
hi..
How can we get notify that our web service is called by someone or by .aspx page in asp.net and c#. Can anyone help please...
Thanks in advance..
0
Comment
Question by:SAMIR BHOGAYTA
3 Comments
 
LVL 19

Assisted Solution

by:Rikin Shah
Rikin Shah earned 250 total points
ID: 39735491
Hi,

This does not seem to be possible... Can you tell us more about this, what exactly are you trying to do?
0
 
LVL 11

Author Comment

by:SAMIR BHOGAYTA
ID: 39735500
hi..

I am developing push notification from pc to device and device to pc. And I have one web service that called by another person from ipad and he is sending message notification to my pc at that time I want to display that message on my .aspx page like "You have received new message". So, can I get notify that when my web service is called and I also want to store that message in cache. So, If you have any solution related to that please reply as early as possible.
Thanks in advance.
0
 
LVL 27

Accepted Solution

by:
Chinmay Patel earned 250 total points
ID: 39735501
Automatic detection of caller is not going to be possible however it can be achieved using the following trick
You can modify your service and include an extra parameter named "ClientType"  and request to people who are calling this service to include the parameter and specify a proper ClientType value.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.

808 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