I need a coding to get response from my desktop application to my web page using asp.net
I send a request from my recharge.aspx page to desktop application.
http://122.172.208.202/MARSrequest/?operator=RA&number=9900122334&amount=100&reqref=A0000001
so my desktop application get the request and perform the task and send the response to other page that is responseparser.aspx
the response like
http://www.abc.com/responseparser.aspx?ref=10293&number=9894380156&amount=100&status=SUCCESS&transid=547965399 &simbal=1000
so how to get response with out loading the responseparser page it is possible or any other idea to get the response.
my doubt is without loading a page can able to perform some operation like insert a record or create text file using asp.net
You appear to have asked this question several times in several different ways. This is not an acceptable way of using StackOverflow. If your original question is not getting the answer(s) your looking for, please consider editing and revising your question. Please consider commenting on your questions and taking the advice of other commenters.
To answer your question. I think you’re looking to execute some sort of
Web Serviceinstead of loading a page. Does this sound right?If so, I’d suggest either using one of the following
{success: true/false}.)In short, the quickest way I can think of to do this would be to use the FIRST option (
HttpHandler) and change your request to the followinghttp://localhost/responsepage.ashx?number=9894380156&amount=10&status=success
Notice the
ashxextension on the response page. It’s no longer a web page but a web handler… you’ll want to do some research in order to get a handle on it.