When I develop Visual Studio solutions I like to use naming conventions for the projects based on the project type.
For example: MyProject.UI.Windows, MyProject.UI.Mobile, MyProject.Library
I am wondering what to call console applications. I'm thinking about "MyProject.CommandLine" but it seems a bit wordy. What is a console application naming convention for Visual Studio?
Create Console ApplicationOpen a project -> Open Visual Studio Code. Terminal > New Terminal from the sub menu. The dotnet command creates a new application of type console for you. The -o parameter creates a directory named ConsoleApplicationDemo where your app is stored and populates it with the required files.
When naming an interface , use pascal casing in addition to prefixing the name with an I . This clearly indicates to consumers that it's an interface . When naming public members of types, such as fields, properties, events, methods, and local functions, use pascal casing.
It really depends on what the command line app does, not just the fact that it is a command line app. Here's a list I came up with when I was grappling with this same question:
- Daemon
- Client
- Agent
- Service
- Utility/Util
- Host
- Application/App
- Library
- Runner/Launcher
- Helper
- Config
- Console
- Handler
- Converter
- Manager
- Controller
- Generator
- Editor
- Viewer
- Logger
- Proxy
- Program
- Script/Scriptable
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With