Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i want to create one simple c# windows application which runs automatically in background when other .net web application is run.
Posted

1 solution

This is one scheme I've used; it allows to avoid a number of troubles: Polling Database with Timer[^].

But generally, polling a database on regular basis is bad, wasteful thing. This is a typical example of pull technology. Please see my past answer: Application 'dashboard' for website accounts[^].

Please consider using Database Change Notifications. In case of Oracle, please see: http://docs.oracle.com/cd/B19306_01/appdev.102/b14251/adfns_dcn.htm[^].

—SA
 
Share this answer
 
v2
Comments
Balu Mate 26-Jun-15 7:44am    
thanks for response
can you tell me the how to execute the select query for time interval which is fetch from the database one by one
Sergey Alexandrovich Kryukov 26-Jun-15 8:37am    
Didn't I answered already?
—SA

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