I am new to .NET and I want to develop the application which send multiple HTTP responses to the single HTTP Request.
Is there any way that I can store HTTP Handler on server which can be used when it is needed.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You would break the HTTP standard by sending multiple responses to a request.
However, you can use Transfer-Encoding “chunked” which sends a response in multiple parts. In regular ASP.Net you would use
Response.Flush()to achieve this.I guess that you have to execute the
ActionResultand send it manually with the response object to be able to send multiple parts in the same response.