asynchronous job in asp.net

I have been given a task where it should be possible for a user to pass some information to a database table.

The table should be seen as a queue.

My question is:

Is it possible to execute some code on the webserver asynchronously, so the users can use the website for others tasks meanwhile processing the queue?

Is it possible to use the Thread class and how ?

Answers


Look into Asynchronous Pages as a start - it is teh easiest way to do what you describe.

http://msdn.microsoft.com/en-us/magazine/cc163725.aspx


You could use a service bus to get this done. If you feel up to it you could have a look at my open source esb:

http://shuttle.codeplex.com

It has an implementation that can use a sql table as a queue.


Need Your Help

Instantiate an abstract class using another object's method?

java abstract-class instantiation

I've been looking into creating a barcode scanner program, and in my research I came across something I've never seen before, and I'm not sure exactly what it is doing...

Silverlight communication with a desktop process

silverlight

If there was a process on the user's desktop, would Silverlight be able to communicate with it? Is there a way to send messages from SL to a process that runs in the background and vice versa?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.