Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 537375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:55:14+00:00 2026-05-13T09:55:14+00:00

I’ve written a few desktop applications in .NET that provide both a front-end GUI

  • 0

I’ve written a few desktop applications in .NET that provide both a front-end GUI for normal use as well as a command-line interface for other needs (e.g. extending, scheduling, automating, advanced usage, etc). What is the best practice for naming the two executables, since they are built to the same directory? I’ve seen or done some of the following:

  • Name the GUI <X>.GUI.exe and the console <X>.exe.
  • Name the GUI <X>.exe and the console <X>.Console.exe.
  • Name the GUI <X>g.exe and the console <X>c.exe, or some other name-suffix mixture.
  • Have the code under a descriptive namespace like above but exclude the namespace on the console’s executable. Maybe make it a shorter name and all lowercase as well. This is easy to type in a shell, but the common user still sees the complex namespace for the GUI executable.
  • Use different names or namespaces altogether.

There are two distinct interfaces–one graphical, the other textual–to the same common application, but I want the filenames to be clear as to what the program is, while giving a hint (other than just in its icon) to whether it is the GUI or the console, all without using a cryptic name.

Side note: there’s a similar “problem” where you have a .NET class library and want to write a front end to use it without writing code. Here, I usually see the executable named <X>.Exe.exe where the library is just called <X>.dll (but I’m not convinced this is good practice), or it is a friendlier name, e.g. Some Tool Name.exe. But in this question, I’m more interested in what to name the executables.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T09:55:14+00:00Added an answer on May 13, 2026 at 9:55 am

    The way I see it, is that Namespaces are meaningful from a coding perspective and my users probably should not see that, escpecially for a console app, where they are typing it out.

    If I had an app where the namespace was something like….

      jarvis.scrabblehelper.gui and 
      jarvis.scrabblehelper.console
    

    then my exe would be

      ScrabbleHelper.exe 
    

    and the console version would be

      sh.exe
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have a bunch of posts stored in text files formatted in yaml/textile (from
We're building an app, our first using Rails 3, and we're having to build
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I am trying to loop through a bunch of documents I have to put
I'm making a simple page using Google Maps API 3. My first. One marker
I have some data like this: 1 2 3 4 5 9 2 6

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.