Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Mar 2005
    Location
    Salem, Oregon, USA
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    methodology question (c#.net vs2005)

    I have an application that will go out and check a web site, download the info and parse it into a text file and save that text file to a server. It does this using vb.net and a windows form. This application is run every 5 minutes as a scheduled task.

    I now need to update the app, and would like to know what is the best method to do this. Does anybody have any suggestions as to how they would go about this? Keep it as a windows form, console app or just an executable? Should I use a timer, or the scheduled task on the server? I was also thinking about making this a service. Any thoughts?

    Thanks, Chris

  2. #2
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: methodology question (c#.net vs2005)

    Sorry for the late response.

    In the case that you've described, it seems to make the most sense to run your application as a windows service. Just be sure to make liberal use of logging (i.e. the Windows Event Log or write it out to a text file) so you'll be able to diagnose any problems or errors. Also, be sure to make things as configurable as possible. For instance, if you do not have control over the website you may want to make an xml template of some sort that can be updated without having to recompile and redeploy the application. Granted, if this is a small one-user situation then it's probably not a big deal to recompile and redeploy...

    Just my <img src=/S/2cents.gif border=0 alt=2cents width=15 height=15>.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •