i want to implement my first windows service application. this app must run day and night. it should to send each 1 hour http request with possibility to make snapshot of requested webpage and save it in database.
can you show me some c# code examples how to:
- make http request from windows service.
- set a timer for requesting each 1 hour.
- send e-mail that snapshot is successfully saved in DB.
thank you!
The following 3 MSDN pages should get you started.
来源:https://stackoverflow.com/questions/4826216/how-to-make-http-request-in-windows-service