How to Program C# in Visual Studio Code [2023]

preview_player
Показать описание
Developing C# in Visual Studio Code is simple, doesn't cost anything, and offers a great cross-platform developer experience.

00:00 Introduction
00:21 Installing the C# Dev Kit
00:56 Creating a Console App
03:40 Creating a Blazor Server App
04:39 Conclusion

🔥 C#/.NET Bootcamp: The Fundamentals & more (Code FRIENDS10 for 10% OFF)*

📌 .NET Developer Roadmap

📌 YouTube Playlists:

✅ SUBSCRIBE FOR MORE VIDEOS

🚀 CONNECT & SUPPORT

CREDITS

* Affiliate Link: I earn a small commission at no additional cost
Рекомендации по теме
Комментарии
Автор

What is your preferred way of programming C#? How do you like the C# Dev Kit extension? 😎

ClaudioBernasconi
Автор

I took your ZTM C# course and loved it! I didn't know you had a YouTube channel, it's so awesome to discover you're also a content creator. Instant sub!

charlesssgraham
Автор

It is ridiculous how complicated c# is compared to python. In python I can just go and run and test everything within seconds.

Nasengold
Автор

I really appreciate you, I was scratching my head not knowing what to do, thankfully I landed on your video and I love how straight to the point this video is and I also want to thank you for guiding me because now finally I was able to run my first c# code. Thanks a bunch my guy! <3

allstartvk
Автор

i battled for MONTHS against my macbook bc it didn't let me code on visual code. had to use my old windows until it died on me (rip). all hope was lost and i thought i had to buy another computer until i stumbled across your video and solved my problem in 30 minutes!! THANK YOU SO MUCH!!

luciaalonzo
Автор

As far as I know the C# Dev Kit extension has a license similar to VS 2022 Community. Free for individual developers or small companies. Thanks for the content!

fredimachadonet
Автор

what's the name of the extention that custumize the file icons

podcastsonfire
Автор

Thank you For your Tutorial Installing C# & Run It In Terminal In Vs Code, Thank's Buddy!

VikiNashoba
Автор

Hi Claudio, why does vscode do a restore of csproj file each time when I do a dotnet run on a console app? I did not have that before. On your example I see it did not happen, it just gave the result right away.

orhandeniz
Автор

This is a great lesson and answered many of my questions and addressed y issues. Well done !!

xarzu
Автор

Hi, thanks for your video. I have added the C# extension to my Visual Studio Code, but the welcome page pop-up is not appearing. How can I connect my Microsoft account here?

yannansun
Автор

I don't have the Index.razor when making the BlazorApp1. Do you know why is that?
The icons next to them are also just the common lines. (same as .sln file) + i didn't get _Host.cshtml file
Do I need to install or add an extension for them to show?

panda
Автор

Hello!
After 10 videos and still not getting my vscode to work your video helped me out great!
Thanks for an awsome video man! I just have one question, when you are typeing in the console at 4:05 you are getting the .\Blazorapp1\ there in like 1 tap, how do you do that ?
Have a nice day! cheers

WetPrime
Автор

Hi! I want to asked that why when i using commend line in VSC: ""dotnet new console --framework net8.0 --use-program-main" to run a console application, I get these code by default:
namespace OOP;

class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
}
}

Instead of these code in VS:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace OOP
{
public class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
}
}
}
SO I don't know which code is right ? And how to create a console application project in VSC with the default code like in VS. Thank you

trongtue
Автор

ConsoleApp1 doesn't show on debug

ayaya
Автор

Hi, I tried to make a web api project, but it created a minimal API project, would you know why? Is this something they will change in the future? as well as being able to choose the framework net6 or 7, for example

guillermomazzari
Автор

This was really helpful at the right time!

SrimathiJayaraman
Автор

Is there any way to automatically compile/run when you press the run button?

Anonymous-qbys
Автор

I cannot create a dot net terminal it says that it is not recognised as the name of a cmdlet function help

chomulol
Автор

Thank you for the video!!! So helpful!

honeycomb
welcome to shbcf.ru