By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,978 Members | 1,019 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,978 IT Pros & Developers. It's quick & easy.

Asyncronous operation

P: n/a
I've developed a ASP.NET website which is running on a Windows 2003 Server
with IIS6. I need to be able to run an asynchronous task that checks a POP3
mailbox, processes an email, writes data into the database and send SMTP
emails back out. All of this is implemented and working fine except the
asynchronous task bit.

In a traditional client/server environment we'd probably write a service to
carry out this operation. The same is perfectly feasible on the Windows 2003
server box but as IIS is running all the time, as it our website (if not
just waiting for an HTTP request) then I wondered if there was some
mechanism that can do what I need within ASP.NET itself or maybe a feature
of IIS 6.

Thanks, Rob.
Oct 2 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Rob,
There have been a few articles on this lately as it seems to be a
popular topic. Here are a few good articles I found on this:

http://www.eggheadcafe.com/articles/20060918.asp

http://www.ftponline.com/vsm/2006_06...olumns/aspnet/

http://pluralsight.com/blogs/fritz/a...0/19/2892.aspx

http://samples.gotdotnet.com/quickst.../GETAsync.aspx
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"Rob Nicholson" <in******@community.nospamwrote in message
news:Ow**************@TK2MSFTNGP02.phx.gbl...
I've developed a ASP.NET website which is running on a Windows 2003 Server
with IIS6. I need to be able to run an asynchronous task that checks a
POP3 mailbox, processes an email, writes data into the database and send
SMTP emails back out. All of this is implemented and working fine except
the asynchronous task bit.

In a traditional client/server environment we'd probably write a service
to carry out this operation. The same is perfectly feasible on the Windows
2003 server box but as IIS is running all the time, as it our website (if
not just waiting for an HTTP request) then I wondered if there was some
mechanism that can do what I need within ASP.NET itself or maybe a feature
of IIS 6.

Thanks, Rob.

Oct 2 '06 #2

P: n/a
Thanks - will have a read.

"Mark Fitzpatrick" <ma******@fitzme.comwrote in message
news:uR*************@TK2MSFTNGP02.phx.gbl...
Rob,
There have been a few articles on this lately as it seems to be a
popular topic. Here are a few good articles I found on this:

http://www.eggheadcafe.com/articles/20060918.asp

http://www.ftponline.com/vsm/2006_06...olumns/aspnet/

http://pluralsight.com/blogs/fritz/a...0/19/2892.aspx

http://samples.gotdotnet.com/quickst.../GETAsync.aspx
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"Rob Nicholson" <in******@community.nospamwrote in message
news:Ow**************@TK2MSFTNGP02.phx.gbl...
>I've developed a ASP.NET website which is running on a Windows 2003
Server with IIS6. I need to be able to run an asynchronous task that
checks a POP3 mailbox, processes an email, writes data into the database
and send SMTP emails back out. All of this is implemented and working
fine except the asynchronous task bit.

In a traditional client/server environment we'd probably write a service
to carry out this operation. The same is perfectly feasible on the
Windows 2003 server box but as IIS is running all the time, as it our
website (if not just waiting for an HTTP request) then I wondered if
there was some mechanism that can do what I need within ASP.NET itself or
maybe a feature of IIS 6.

Thanks, Rob.


Oct 2 '06 #3

P: n/a
Hello Rob,

I think what you want to do is like creating a background thread to do some
scheduled job constantly. If this is the case, a common means is create a
background thread and do those jobs in the thread proc function. Here are
some web articles describing this:

#Background Processing, and Processing E-mails from ASP.NET
http://pubs.logicalexpressions.com/P...cle.asp?ID=442

#Create Custom ASP.NET Jobs For Background Processing On Single or Multiple
Threads The Community Server Way!
http://www.kdkeys.net/blogs/kingsley...4/10/4525.aspx

Please feel free to post here if you have any further questions.
Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Oct 3 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.