We have developed a C# Webservice in Service stack. In this whenever we get a request for checking the availability of a Data we need to check in the Database and return the result. If data is not there we need to wait till we get data and return the value. If no data upto certain time period then need to Timeout it.
We are using SQL Server for our application.
Can anybody tell us how to implement Long polling in service stack. Our request has to wait in the server side and return the output.
Regards Priya