Dear All,
I know what is WCF and Windows service theoretically, But one thing i am not cleared ie If required we can put the logic of windows service in the WCF, let me explain this with the below example:
For every 2 mins i need to check a database table which has any information or not, if it is has then collect all information and use it for processing and delete the collected records information. similarly check this with time span of 2 mins.
Now same logic i will put in the WCF, i will create a ASPX page which will reload for 2 mins using some Timers
(
setTimeout(function(){
window.location.reload(1);
}, 5000);
),
Finally in the page load i will call the WCF. So my task will be over.
I just want to know the scenarios/situation where exactly only windows service can be use not any WCF or web service.
Could you please suggest on this.
Thanks