CodeCanyon BackgroundScheduler 140418

CodeCanyon BackgroundScheduler 140418

CodeCanyon BackgroundScheduler 140418
.NET Script \ Miscellaneous
Threads \ Scheduling \ Handling \ Event

.NET Script - BackgroundScheduler 140418 by DisposableHeart @ CodeCanyon

.NET Script \ Miscellaneous

Last Update: 22 November 10; Compatible Browsers: Chrome 4, Chrome 5, FireFox 2, FireFox 3, Firefox 3.5, Firefox 3.6, IE6, IE7, IE8, Opera, Safari 4, Safari 5; Software Version: .Net 2.0, .Net 3.0, .Net 3.5, .Net 3.7, .Net 4.0; Files Included: C# CS.

The BackgroundScheduler component provides you with a simple and robust method to get your web application to perform regular tasks in the background without any interference with your visitors.

These regular background tasks may include.

- Sending emails on a regular basis.

- Regular temp folder clean-up.

- Downloading RSS feeds of another website.

- Creating your own RSS feeds as static html files regularly.

- Connect to web services to update your copy of their data.

Not only regular tasks, but time consuming tasks or calculations can be initiated in the background. Once they are completed you can notify your visitors that the reasult is available for download.
These tasks may include.

- Creating PDF files.

- Sending an email while you can return to your visitor immediately with a response.

- Running lengthy SQL queries (Generating database backup).

- Process uploaded data (images, video, etc.)

The component can be used in Windows Forms applications as well. The current sample is running in .NET 2.0 framework but is can be used in later versions as well.

Activation a background task could not be any more simple.

BackgroundEvent BE = new BackgroundEvent(“TheNameOfTheEvent”);

BE.RepeatInterval = 300;

BE.EventHandler = ScheduledEvent;


The methot to be executed regularly.

public void ScheduledEvent(BackgroundEvent BE) {

// Anything you would like to be done


Initialization to be put in the Global.asax file.

protected void Application_Start(object sender, EventArgs e) {




protected void Application_End(object sender, EventArgs e) {



You can have as many scheduled even at you like. Events are not absolutely scheduled in time. The focus is on regularity and background execution. You can, however, re-schedule the events anytime. Events are not ecexuted parallel, rather one by one.


Keywords: event handling, scheduling, threads.

Tags: Threads, Scheduling, Handling, Event

Premium CodeCanyon BackgroundScheduler 140418 WordPress Themes, Website Templates, Mobile Themes, Flash Templates & Scripts from creative professional designers. Full details of CodeCanyon BackgroundScheduler 140418 for digital design and education. CodeCanyon BackgroundScheduler 140418 desigen style information or anything related.


Add Comments:
Enter Code: *