• methodology question (c#.net vs2005)

    Home » Forums » Developers, developers, developers » DevOps Lounge » methodology question (c#.net vs2005)

    Author
    Topic
    #449910

    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

    Viewing 0 reply threads
    Author
    Replies
    • #1104873

      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 2cents.

    Viewing 0 reply threads
    Reply To: methodology question (c#.net vs2005)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: