Background tasks in asp.net

Recently a site I was working on, http://www.walshgroup.com needed to periodically pull down data from an external data source.  I could have put this logic at the start of some request operation but then there would be some user waiting longer for his response than needed.

I ended up using this technique to refresh the dataset at regular intervals without messing with the users experience.  For simple stuff, it beats writing a separate job to do this.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s