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
598 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

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

Suggested Solutions

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
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 is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

863 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

26 Experts available now in Live!

Get 1:1 Help Now