Most apps I write a console apps at heart. And they may just run pure console, or may become a service, or a web host. But always console at heart.
@Norman_Fleming
2 жыл бұрын
Thank you for continuing to evangelize for the console application. So much power that is lost when a developer starts out at a higher level without knowing the foundations it all sits upon. Supporting redirection from one into the next so you can create data flows from a command line. #nix variants thrive on the concept.
@IAmTimCorey
2 жыл бұрын
You are welcome. It is an amazing project type, for sure.
@johng5295
2 жыл бұрын
Thanks in a million my brother again, Tim! Great content. Awesome. Very well explained. I couldn't find this content--simply put anywhere else. Grade: A++ 💥
@IAmTimCorey
2 жыл бұрын
You are welcome.
@michaelschneider603
2 жыл бұрын
Programmed in BASIC on the C64, Pascal on the Apple II, and assembly language on the Amiga console during the 80s, Lisp under MSDOS and C / C++ in the Linux console during the 90s, then Java console-only for almost 20 years, and programming in Python is console-first anyways. Did I ever do any non-console programming in C# yet? Now that I'm thinking about it, with your hint that web apps are technically console apps, actually no! Video was fun to watch, even if I wasn't the intended audience. :-)
@rafaelm.2056
Жыл бұрын
Do you have any videos that describe how to implement interfaces, abstract classes, and references to other classes or projects like we use to be able to do before top level was introduced? Or do I need to rebuild my own namespaces and class declarations from scratch and carry on from there?
@andywalter7426
2 жыл бұрын
One great use case I found for console is a process I created where I have a custom nuget system where I have a text file that lists projects I want to use my custom system with. When I run the console app, it scans all of them and if there are any detected changes, then it creates a nuget package and even uploads to public nuget as well.
@IAmTimCorey
2 жыл бұрын
Thanks for sharing.
@chinedumgbedoro5362
5 ай бұрын
thank you very much, Tim, great content
@IAmTimCorey
5 ай бұрын
You are welcome.
@Skillamu
Жыл бұрын
Great video! Thanks!
@IAmTimCorey
Жыл бұрын
You're welcome!
@mandeath2971
Жыл бұрын
Thanks for the Effort
@IAmTimCorey
Жыл бұрын
You are welcome.
@sakhawathussain9696
2 жыл бұрын
Thanks for your convey .
@IAmTimCorey
2 жыл бұрын
You are welcome.
@Dazza_Doo
2 жыл бұрын
Yes the Stigma with the console app is that it was for beginners only or marauders
@IAmTimCorey
2 жыл бұрын
Good news is we can change that.
@getimad1076
2 жыл бұрын
Awesome video 👍 We love console applications 💜 Can you please make course about MSTEST and Live Unit Testing Thank you 😊
@IAmTimCorey
2 жыл бұрын
Thanks for the suggestion. Please add it to the list on the suggestion site so others can vote on it as well: suggestions.iamtimcorey.com/
@zarokoshin4090
2 жыл бұрын
Nice vid. ! There will be a newer WPF vid with native builder settings and mvvm ? :)
@IAmTimCorey
2 жыл бұрын
Thanks for the suggestion. Please add it to the list on the suggestion site so others can vote on it as well: suggestions.iamtimcorey.com/
@michaelday6987
2 жыл бұрын
If you work in the world of Insurance, Banking, Finance, etc. you will find yourself working on console apps. Especially as a junior developer. Overnight, Weekly or Monthly processing are quite often done through a console application. You will need to know how to create, use and update real world console apps. They are not just for learning. You need to understand the difference between a tutorial application and a production application.
@IAmTimCorey
2 жыл бұрын
Thanks for sharing.
@tituschristopher5568
Жыл бұрын
Wonderful
@IAmTimCorey
Жыл бұрын
Thanks!
2 жыл бұрын
May be I'm too old, but the best for learning "command line" is try to learn more about any unix like os (any linux, gnu, ....) this is working decades and lat few years Windows ecosystem reinvent the wheel :-) all small utilities in linux like sed, grep, ....... are ment to do one thing good so you can pipe more utilities and do a lot. I'm still impresed how smart is unix/linux about utilities and how easily you can use them. When Microsoft realize that clicking with mouse and windows registry is not the right way of doing things they "invented" powershell. But the beauty of Linux/Unix systems is in the long lived principles which are adopted in Windows world after a lot of blind ways of doing things.
@lokinc.3735
Жыл бұрын
I have a Console app that uses DirectoryServices to validate login and then it connects to a database to manage assets. I'm used to using HttpS with Web. How does a Console app transmit data and does it need some form of secure connection to protect data in transfer from something like wireshark?
@danielwilliams483
Жыл бұрын
Is there a good way to set the location of the console window? Is there a cross-platform way to do it in net core? Just would like it to consistently be in a certain location, rather than on top of Visual Studio.
@rachanareddy6615
2 жыл бұрын
@IamTimCorey 1. how do we get .exe file 2. What is difference between debug mode and release mode
@IAmTimCorey
2 жыл бұрын
The exe file is created when you build the project. It is in the bin folder under your project (a couple layers in). The difference between debug and release mode is that in debug mode, Visual Studio make debugging easier. For example, it holds onto variable values after they are no longer needed so that you can see them in a breakpoint even though normally they would have been destroyed. Release mode makes the code as efficient as possible.
@gloryforever8399
2 жыл бұрын
Do you have a C# course using .net 6 from beginners to advanced?
@IAmTimCorey
2 жыл бұрын
The C# Mastercourse ( www.iamtimcorey.com/courses/csharpmastercourse.html ) covers .NET 6 well, although it doesn't ONLY cover .NET 6 since it is important to know .NET from the .NET Framework through .NET 6 in the real world. I point out when things are different from one version to another.
@joeprincipato5211
2 жыл бұрын
if you are using Console apps for learning purposes, are there any drawbacks on having multiple consoles projects in a solution?
@IAmTimCorey
2 жыл бұрын
Nope. I have one solution that has 18 console apps in it.
@joeprincipato5211
2 жыл бұрын
@@IAmTimCorey thanks, I just wanted to be sure before I tried it...
@maryambibi9687
Жыл бұрын
do some projects on console application
@programmingmadeclear
2 жыл бұрын
Nice video, try Alt arrow up or down to move a line up or down without cut and paste. Best regards 👍🏼👍🏼
@IAmTimCorey
2 жыл бұрын
Yeah, I forget to do that since I don't do it that often.
@jdang67
Жыл бұрын
How do we add a new function in the ConsoleApp?
@guliveryorran
Жыл бұрын
I'm trying to discovery too, do you know the answer?
@CharlieLeeGrayII
Ай бұрын
❤ Awesome 😎 Blessings...😂 Amen and Amen.
@IAmTimCorey
Ай бұрын
Thanks!
@andywalter7426
2 жыл бұрын
I thought the most common way of doing automation is web apis and class libraries? What are cases where console is best for automation instead of class libraries and web apis? I've done lots of automation stuff with class libraries especially.
@David-rz4vc
2 жыл бұрын
I used console app everytime for integration between vendors. For example, pulling data from a database to push to the vendor. But since I need to run this nightly or twice a day I can take this console app and run it in windows task scheduler at any configured interval.
@IAmTimCorey
2 жыл бұрын
An API typically needs a caller to do work. Some automation tasks do not fit in that category. For instance, a scheduled service such as sending daily emails, building reports, backups, etc. These are all better off as a console application. Also, a console app does not require a web server to run. You can set up services and other automations on your machine that are for just your machine. You wouldn't want the overhead of a web server running for local work.
@andywalter7426
2 жыл бұрын
@@IAmTimCorey Wouldn't it be best sometimes to have a wpf app that calls the automation functions? Because on one job, I actually had a wpf app that called class libraries and reported the progress to a text box. I found that for some automated processes, its best to just call the wpf app and then see the progress. I tried console but would not show the progress when something needs to run all the time. I had windows services actually run the wpf app so if I want to know what the status of the processes running, i just run remote desktop and see the progresses.
@rachanareddy6615
2 жыл бұрын
@@IAmTimCorey even the console job needs to be called somewhere right ro execute??
@andywalter7426
2 жыл бұрын
One question is can console apps run on android devices like phones and tablets? Would be nice if it could.
@IAmTimCorey
2 жыл бұрын
Nope, desktops and the cloud.
@micro2743
2 жыл бұрын
@@IAmTimCorey A .net 5 or later console app can also run on Linux and Mac, but not mobile.
@delw1138
2 жыл бұрын
I use console apps to email custom reports from servers, automate some maintenance, etc...
@IAmTimCorey
2 жыл бұрын
Great!
@xavikun3009
2 жыл бұрын
sir please i wanna know where did u get microsoft vs debug console
@IAmTimCorey
2 жыл бұрын
I'm not sure what you mean. I'm using a standard version of Visual Studio (2022 Community Edition). If you mean the Debug or Output windows in Visual Studio, you can find them under the View menu.
@WitheredPancake
2 жыл бұрын
@@IAmTimCorey I think @xavi kun is referring to the console window in which you run the application. If you look closely at the window when your application has finished running, the title bar changes to "Microsoft Visual Studio Debug Console", as per Xavi's question. When you build and run you application Xavi, this window is simply the console window that you see your application running in.
@EugeneSkakun
2 жыл бұрын
nice
@IAmTimCorey
2 жыл бұрын
Thanks!
@psinka1292
Жыл бұрын
i love you
@IAmTimCorey
Жыл бұрын
Thanks!
@yperman1
2 жыл бұрын
Before even watch it Like and Thanks !
@IAmTimCorey
2 жыл бұрын
Thank you!
@mistywhisp
Жыл бұрын
lol i installed cisual studio code instead of visual studio 2022 so that's what I'm downloading right now lol
@IAmTimCorey
Жыл бұрын
Bummer. That will be a big install.
@mistywhisp
Жыл бұрын
@IAmTimCorey I installed it and made a game w the help of your tutorial and some guides online basically you pick some food and each piece of food is worth so many points then your score is the combined total.
@Mo_TEK
2 жыл бұрын
waiting WINUI3 video with sqlite database ???? sooon?????
@IAmTimCorey
2 жыл бұрын
Thanks for the suggestion. Please add it to the list on the suggestion site so others can vote on it as well: suggestions.iamtimcorey.com/
@micro2743
2 жыл бұрын
WinUI 3 is already on the suggestion list.
@gower1973
2 жыл бұрын
If the .net framework version of console app is the old one and deprecated why don’t they say that on the damn template! As a beginner how am I supposed to know the difference?
@IAmTimCorey
2 жыл бұрын
It isn't deprecated. It is still fully supported and will be for as long as Windows is supported. It is the older framework and no new work is being done on it, but it has not been deprecated.
@Dazza_Doo
2 жыл бұрын
Watch more videos, Tim has many about this subject. .Net6 and C#10 are the currently implantations, later this year they will release a new version.
@jamiewalker6296
Жыл бұрын
Maybe its because i am newer in c#, but i do not like top level statements. I do not like them Sam I am.
@buddysteve5543
2 жыл бұрын
This man would have had $50/mo from me if he were offering it but guess he doesn't want my monthly subscription! Weird! Oh well, plenty of other people who'll take my monthly subscription!
@IAmTimCorey
2 жыл бұрын
It isn't that I don't want to offer the monthly subscription all the time. It is that I can't really, without opening up myself to theft and abuse of the offer.
@Dazza_Doo
2 жыл бұрын
Useful Console Commands Change Text Colour: *Console.ForegroundColor = ConsoleColor.DarkGreen;* You will get a popup list if you remove .DarkGreen Change Console *Title: Console.Title = "My Cool APP ";* Get Number/Float/Decimal Input Without Breaking Your Program: Step 1: *var _result = Console.ReadLine();* Saves this in temporary _result for step 2 Step 2: *_bool = int.TryParse(_result, out Value);* Value is your result if it works, You can check the _bool and it will give you true : false
Пікірлер: 87