Skip to content

Handle Multiple Resposnses for a single request

renu agrawal

Asked Jul 9, 2009, 3:21 AM EDT1 answer
Share
LinkedInX
I have created a Window application to upload the file on server using Http Post method and Recieving the response. I am not much aware of the application which runs on the server side to receive requet and Send Resposne So i created  a Normal .net Application with HttpListener in it which will listen to request and send Resposne for it.
Intially every thing was fine but Now we got a requirment in which We can have Multiple Response for a single request . and All these resposnes will not come together they might come at anytime. Please let me know that how should I handle this scenario in my Window  application which is working like Client(Sending request)

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Bechir Bejaoui
    0
    you have to make use of IHTTPHANDLER interface, you implement a class that meets you needs and then you register it within the config file and then you instaciate it within your application

    note: if the handler object use file with extensions not supported by the iisapi extensions you need to add this extenson to the iis meta base
    0