January 2008 Entries

Threading and System.Timers in asp.net

Warning this post is very techy and boring.  Do not read unless your a programmer. Purpose I wanted to create a scheduled task (in a separate thread) to run every couple of hours on an ecommerce site, and could not find a good solution.  After much googleing and piecing some things together I figured it out and it is really easy to do this (See code at bottom of post).  There are great articles on creating/using threads in asp.net, so I don't feel a need to cover it here (just make sure to handle all of your errors in a thread or it will fail w/o...

posted @ Thursday, January 31, 2008 5:55 PM | Feedback (0)