DNK has a spanking new server up and running like clockwork. Stability problems are a thing of the past. Our new monitoring service reports 100% uptime since the move!
31
kicks
published 9 months, 12 days ago, submitted by beckelmw 9 months, 13 days ago

beckelman.net — Back in 2005 Omar Al Zabir (Co-founder and CTO of PageFlakes) posted an article on the CodeProject web site Simulate a Windows Service using ASP.NET to run scheduled jobs that many of you have probably seen. If you liked the idea at the time but didn't do anything with it, you may want to take another look now. In the comments, dselkirk provided an alternative that really cleans things up that Erichero then improved upon slightly and converted to C#.

Add a comment 3 comments | category: | Views: 455 | Get KickIt image code
Simulate a Windows Service Using ASP.NET to Run Scheduled Jobs
tags: | tag it

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:
I am honestly amazed I never would have considered something like this even remotely possible, I just have to wonder what the implications are of real usage of this pattern would be or if ASP.NET would truly handle it correctly and there would be no negative drawbacks to it.
posted by dotnetchris 9 months, 11 days ago
I can understand that somebody shys away from windows service development, but especially "to run scheduled jobs or cron jobs" this work has already been done by Microsoft: That service is called Scheduler!

As for using IIS for the job: a gross abuse in my opinion.
posted by ajdotnet 9 months, 11 days ago
If your using shared hosting you don't have the option to use windows services though. The article isn't a solution for someone working with their own box.
posted by beckelmw 9 months, 10 days ago



information Login or create an account to comment on this story

Related Stories:
 

Search: