Console application

Use synchronous methods to control local server and local services. Synchronous methods are often appropriate for single-threaded console applications that should wait for a command to complete before continuing.