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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

757 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

21 Experts available now in Live!

Get 1:1 Help Now