We have a working asp.net web application to which we are planning to add a new functionality.
This is a long running task which takes at least 30 minutes or more.
We are thinking a windows service may help us but we are not sure. I have a few questions as listed below
So, this is how it should work:
From the web application users will login and select a date, start time and end time and hit a submit button.
These 3 should be passed as parameters to the windows service.
Based on these 3 parameters, windows service will connect to the database and process the data and finally update the database.
Can this be done in a windows service? Can we pass parameters to a windows service?
Within this windows service can we consume web services?
Right now, our web application and the database are on 2 different servers. Where should we install our windows service?