I have written several .Net Console applications over the past 6 months, and we still have many different projects in our organization. I usually stick to the same standard format / structure for my console applications. Unfortunately, many of our console applications do not work.
I studied ways to standardize the structure of these console applications. I would also like to provide the structure of the basic structure of the Console application and provide easy access to standard ways of handling things such as passing arguments, logging, etc.
Can anyone offer some suggestions for resolving these issues? I read this MSDN article on Console Applications on .Net , which offers a design template for console applications. In this example, the template template template is used to handle some of the problems listed above.
The article lists two negatives of using this approach.
- Completion with twice as many classes
- Having a lot of simple, similar classes
Can anyone suggest better or more standard ways to handle this? How about incorporating additional negatives into this approach?
source share