.net windows service to make web request processing


My asp.net project has few forms. Each of these forms accepts a unique id as input. Each form has only two buttons. GetData and Save. When GetData is clicked, it makes a lot of webservice calls, database calls, e.t.c and finally displays the data.

On clicking the save button, the data is saved to a different destination database.

But this entire process needs to be automated using windows service. Can i use webservice calls, db calls, aspx page requests e.t.c inside a windows service.

Any suggestion would be of great help. Thanks.

What you probably want to do is extract the calls out of the codebehind and use that in your service – the web service and db stuff will work just fine from anything .NET. It is kind of the beauty of the .NET platform.