1
Answer

options to execute a C# console application

Sie Ste

Sie Ste

12y
2.2k
1
I am writing a C# 2010 console application that will have between 10 to 30 ways on how to run the application. The ways to run the application depends upon the parameter values that are supplied to the application. There a few ways to run the console application were the steps need to be completed successfully before the next step is executed.

I am trying to determine the best way to setup this application. Should I have the program determine how it should run by:

1. passing values to console application that will be run in the main method?
2. Should I use a database table that will be read to determine the way the program shoulld be executed on a particular run?
3. Is there an option using a windows service and/or scheduler?
4. Do you have any other options that will work?

Basically can you tell me what method you think would be the best and why? In adition can you tell me and/or point me to a reference that I can use to code your method of choice?
Answers (1)