Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
| Search | Today's Posts | Mark Forums Read
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 23rd, 2004, 10:39 AM
Authorized User
 
Join Date: Sep 2003
Location: , , .
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to flyin
Default ASP.NET Multi-Threading, is there such a thing?

Hello everyone! I have a general .NET Question for all of you.

Lets take a simple scenario: Implementing an asp.net Blogging site. When a person submits an article many things happen.
1. Article gets stored in the database table(s)
2. The Author receives points and gets his score recalculated.
3. The Site he posted on receives points and gets score recalculated.
4. Main Listing Cached dataset gets refreshed.
5. The Person gets posted back to the main listing with the new article showing up.

Problem: I think that the question is apparent. Is there a way, with System.Thread or by way of web services, a way to have multiple processes or threads go do these things in the background while the app returns to the main screen? Basically i want it to do jobs, no matter how many, and NOT have the app wait for them to finish before moving on and returning to the main page. thanks

Flyin
  #2 (permalink)  
Old April 23rd, 2004, 03:05 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hello,

You couldn't return to the main page, because the current code to do all the points above would have to finish running. Now, what you could do is open a new window and have it refer to an ASPX page that will do all this, just a thought.

Brian Mains


Similar Threads
Thread Thread Starter Forum Replies Last Post
error handling while multi threading minotaur01 General .NET 0 August 9th, 2007 05:55 PM
Multi-Threading Issue jwebb Pro VB.NET 2002/2003 11 April 23rd, 2007 07:46 AM
Multi-threading issue Bill Crawley Pro Visual Basic 2005 0 March 21st, 2007 06:19 AM
multi threading rashid.shaban@gmail.com BOOK: ASP.NET Website Programming Problem-Design-Solution 1 February 26th, 2007 11:48 PM
Multi threading, web service requests sheel VS.NET 2002/2003 2 January 12th, 2007 04:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.