Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a console application naming convention for Visual Studio? [closed]

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?

like image 703
Tarzan Avatar asked Mar 02 '17 21:03

Tarzan


People also ask

How do you code a console application in 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.

What is the naming convention in C#?

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.


1 Answers

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
like image 61
rory.ap Avatar answered Oct 08 '22 17:10

rory.ap