TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sie Ste
NA
196
183.8k
options to execute a C# console application
Sep 23 2012 7:05 PM
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?
Reply
Answers (
1
)
Accessing a List object within the containing class-object.
C# namspace.Properties.Settings