• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 611
  • Last Modified:

vb.net windows app vs console

Can anyone tell me the main differences pros/cons of writing a server application(just a simple tcp/ip type app) in the console vs the windows way?

I am lacking the good vs bad on console vs window all together.

Thanks
0
aumudin
Asked:
aumudin
1 Solution
 
Sreedhar VengalaSr. Consultant - Business IntelligenceCommented:
If you app expects some form for input at runtime - Window app is prefered.
else,

Console.
Console app is program with access to three basic data streams: standard input, standard output, and standard error. Console applications are light weight programs run inside the command prompt (DOS) window. They are commonly used for test applications.

Windows Forms is the name given to the graphical user interface application programming interface (API) included as a part of Microsoft's .NET Framework,
providing access to the native Microsoft Windows interface elements by wrapping the existing Windows API in managed code
0
 
aumudinAuthor Commented:
So there is no really added benefit for doing console vs windows forms as far as speed goes all my app does is receive info from tcp/ip connection and inserts it into SQL
0
 
steezaCommented:
Nope there isn't and what's more, if that is all your application does you will probably do well to write it as a windows service rather than a console application. There seems to be no reason for having a GUI so windows forms/WPF is really out of the question.

One of the benefits of a service is that it can start running automatically after booting without anyone having to log on and manually start it.

http://www.developer.com/net/csharp/article.php/2173801
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now