469,626 Members | 1,442 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,626 developers. It's quick & easy.

Window Service and Http Request

Sam
Hi All

I'm assigned a task to create some kind of services to monitor new sales in
database and send out emails and I'm thinking to use window service to do
that. Does anyone know where I can find some good samples of window service
that do similar things? Can a window service send an http request? Any help
would be greatly appreciated

Regards,

Sam
Jun 13 '06 #1
1 1138
Looks slightly confusing to me. Do you want to send emails or http requests,
or both?
The scenario you describe first (monitor a database and send emails) is a
perfect task for a service.

As for the http requests it depends on what you want to do with the result.
Do you intend to parse it and take some action based on it? If so, then that
too will work fine in a service. But you can't throw up the result in a web
browser or similar though, since there is no user there to see it (well
technically you could, but don't go there).

In any case your service needs to run under a user account that has access
to the mail server and/or the internet. I don't have any samples for you
unfortunately, but writing a service isn't that hard as long as you are
aware of its limitations (which basically are that you can't interact with
the screen and if you require access to network resources you need to run it
under a user account that has access to those)

/claes

"Sam" <as****@yahoo.com> wrote in message
news:Oh**************@TK2MSFTNGP05.phx.gbl...
Hi All

I'm assigned a task to create some kind of services to monitor new sales
in database and send out emails and I'm thinking to use window service to
do that. Does anyone know where I can find some good samples of window
service that do similar things? Can a window service send an http request?
Any help would be greatly appreciated

Regards,

Sam

Jun 13 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by lphan | last post: by
4 posts views Thread by drodrig | last post: by
dmjpro
3 posts views Thread by dmjpro | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.