Click here to Skip to main content
15,997,402 members
Please Sign up or sign in to vote.
1.18/5 (3 votes)
See more:
This is more of a tricky question not actual problem I am facing.

I want to create ASP.NET application which Initially get some data from other application.
Requirement is to send response back within 24 hour other wise initial data won't be valid once it has passed 24 hours.

What are the ways I have to achieve this functionality? Is there any standard way of doing this?



Please help.
Posted
Comments
Sergey Alexandrovich Kryukov 8-Jun-15 15:24pm    
Not clear. Why not sending a response right away? If doing it right away is impossible, where to send the response later? There should be some protocol for that, not HTTP.
—SA
sushil_gupta 8-Jun-15 15:28pm    
Yes, Suppose we are getting data with WCF with http protocol.
We have some server where we need to send the data say for approval.
You can see the process in three steps.
1. Getting the data (Can be anything like wcf,web service,JAVA)
2. Processing the response (ASP.NET application)
3. Sending it back for final approval (Can be anything like wcf,web service,JAVA)

My question here is that :- Is there specific way we can check or do in ASP.NET to send the response within 24 hours. Write me back if still not clear
ZurdoDev 8-Jun-15 15:31pm    
1. Reply to the comment so that the user is notified.
2. ASP.Net is not a good platform for this becasue it is reactive, meaning code only runs when someone visits a page and then it stops. For timing types of things use a windows service.
sushil_gupta 8-Jun-15 15:45pm    
Appreciate the response. What do you suggest for this issue?
How you will take care of timing issue?
Can't you use SQL Scheduled Job or Windows Task Scheduler?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900