Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 635
  • Last Modified:

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

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
SAMIR BHOGAYTA
Asked:
SAMIR BHOGAYTA
2 Solutions
 
Rikin ShahMicrosoft Dynamics CRM ConsultantCommented:
Hi,

This does not seem to be possible... Can you tell us more about this, what exactly are you trying to do?
0
 
SAMIR BHOGAYTAFreelancer and IT ConsultantAuthor Commented:
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
 
Chinmay PatelEnterprise ArchitectCommented:
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now