Visual Studio Code for C# Developers | .NET Conf 2022

Поділитися
Вставка
  • Опубліковано 7 січ 2025

КОМЕНТАРІ • 78

  • @kazeemquadri01
    @kazeemquadri01 2 роки тому +12

    Thank you Tim for always making learning C# fun and straightforward.

  • @quachhengtony7651
    @quachhengtony7651 Рік тому +1

    this basically covers 90% of everything I do in Visual Studio, great works!

  • @christianknodler3005
    @christianknodler3005 2 роки тому +2

    One of the best UA-cam channels I know with a lot of useful informations on VS. Thank you for the great YT channel.

    • @IAmTimCorey
      @IAmTimCorey 2 роки тому

      I appreciate the kind words.

  • @scarbus
    @scarbus 2 роки тому +3

    Nice to see you here Tim. Hard core VS user, but you have some good pints, will try to force my self to use CLS more.

  • @matijslode
    @matijslode 2 роки тому

    Thank you, Tim, for providing free and educational content in UA-cam. I've learned a lot from you starting with WPF and ending with blazor.
    Also, you can see Tim very faintly in background of VS Code throughout a video

  • @superpcstation
    @superpcstation 2 роки тому +3

    This is super useful. Thanks Tim!

  • @hpdev93
    @hpdev93 2 роки тому

    Hi Tim, wow good to see you here at dotnet conf. One thing I noted here, you set https profile but after enabling hot reload, application opened on http profile. At 22:17

    • @IAmTimCorey
      @IAmTimCorey 2 роки тому

      Yep, that seems to be a bug. I'm reaching out about it.

    • @curtiss5781
      @curtiss5781 Рік тому

      @@IAmTimCorey Any idea on this? I have found partial work arounds using extensions which watch for the run process on the machine but nothing has been seamless.

  • @wtf-did-i-just-watch-007
    @wtf-did-i-just-watch-007 2 роки тому +1

    Tim, I'm sorry if this is already answered elsewhere. While following along and attempting to add the ".NET: Generate Assets for Build and Debug," I received the error "Could not locate .NET Core project. Assets were not generated". It was only when I closed VS Code and re-opened it that VS Code prompted me I was missing files and asked if I would like to add them. I clicked Yes, and then I could proceed with your demo. The problem is, I have no idea what clicking "Yes" actually did? Would you happen to have a quick explanation? It's worth noting that I am using a fresh install of VS Code to follow along.

  • @MrTheWeh
    @MrTheWeh 2 роки тому

    Great to see you here @IAmTimCorey 😄Congrats!
    And thanks for your content.

  • @ayeshakazi2928
    @ayeshakazi2928 2 роки тому +1

    Watch in the full-screen middle of the screen.
    From 9:07 to the next 10 seconds, Can somebody notice, over the white color of the editor window I can see a grey face of a person?

    • @gahshunker
      @gahshunker 2 роки тому

      😂😂 you can't unsee it.

  • @filix2455
    @filix2455 2 роки тому +1

    450 free in depth videos on UA-cam, 10+ full in depth courses, tim corey is #1 in c#, such a shame that he is somehow still slept on

  • @victoriensukarieh3237
    @victoriensukarieh3237 Рік тому +1

    hello there tim. i wanted to ask why when i run the dotnet --info command it doenst show the .net framwork (4.) even though i have a running solution that uses this version of .net?

  • @nickfotopoulos5323
    @nickfotopoulos5323 Рік тому

    Nice to see you featured on the dotnet channel Tim!

  • @gadokeibuno5021
    @gadokeibuno5021 2 роки тому

    I'm so happy for this video

  • @ToPFeE1234
    @ToPFeE1234 2 роки тому +2

    Tim always a good explainer! Thank you

  • @fboucheros
    @fboucheros 2 роки тому

    dotnet new gitignore at 6:53 so cool!

  • @RichardThomas341
    @RichardThomas341 2 роки тому +1

    Thank you for this, it was very informative. At 22:02 , after changing "launchSettingsProfile" to "https", the next run still appears to be using http. Am I missing something.

    • @HolyRamanRajya
      @HolyRamanRajya Рік тому

      No it ran with https, but to run https locally without trust prompts(see 21:32), one needs a certificate(local TLS). You might have seen some websites who did not renew their WAN certificate for their https and the browser throws a prompt whether you would still like to visit that website. Its similar to how email addresses can be spoofed and because of that there are conventional DKIM etc to get certified as trusted entity all over the web.

  • @andreasmewald2439
    @andreasmewald2439 2 роки тому

    Would be supercool if you find such tutorial in the vscode docu

  • @davideoreglio5232
    @davideoreglio5232 Рік тому

    4:46 for who wants to start

  • @slashd
    @slashd 2 роки тому +5

    I tried VSCode for C# but the VS2022 experience is just much better. For all the other languages like PowerShell and Typescript I prefer VSCode

    • @IAmTimCorey
      @IAmTimCorey 2 роки тому +2

      VSCode isn't necessarily for everyday use, especially when you are on Windows, but knowing how to use it will improve your skills as a developer. Plus, being able to quickly jump in a project and make a tweak without loading all of Visual Studio is a nice perk.

    • @iosaroj
      @iosaroj 2 роки тому

      @@IAmTimCorey I am facing issue with swagger endpoint not launching by default when launching from vdcode. Could yo please hand on this?

  • @HuntingKingYT
    @HuntingKingYT 2 роки тому +3

    I just create projects in VS and use them in VS Code

    • @IAmTimCorey
      @IAmTimCorey 2 роки тому +1

      Hopefully now you won't have to do even that.

  • @arthurion
    @arthurion 2 роки тому

    Thanks, I have a weak laptop so VS freezes and VSCode is pretty fast.

  • @datascieneph
    @datascieneph 5 місяців тому

    how do you install templates?

  • @UmmarFarooqMahroof
    @UmmarFarooqMahroof 2 роки тому

    Is that raspberry Pi video out yet?

  • @scigama71
    @scigama71 Рік тому

    Wow :) awesome

  • @aminfarahani6773
    @aminfarahani6773 2 роки тому

    Thank You Tim , it was So Useful

  • @jamesmiths72
    @jamesmiths72 2 роки тому

    Hey glad to see you here.

  • @chongvvain
    @chongvvain Рік тому

    Thanks for the video but it does not work on Mac with .net7.0

  • @embossCoder
    @embossCoder 2 роки тому

    Thank you, Tim

  • @abobonickname5696
    @abobonickname5696 Рік тому

    no way to make a new class form CLI?

  • @BorutoUzumaki-yb1mn
    @BorutoUzumaki-yb1mn 2 роки тому

    youre better than codewithharry god bless you

  • @andersondamasceno1356
    @andersondamasceno1356 2 роки тому

    Great tips!

  • @caseyspaulding
    @caseyspaulding 2 роки тому

    Very good thanks

  • @fredericoasoares
    @fredericoasoares 2 роки тому

    Wow! Nice!

  • @justanaveragebalkan
    @justanaveragebalkan 2 роки тому +1

    I think Visual Studio code should finally start supporting blazor on Linux so we don't have to pay for Rider to have a good developer experience. :)

    • @IAmTimCorey
      @IAmTimCorey 2 роки тому

      You can use VSCode to create and run Blazor Server and Blazor WebAssembly projects on Linux. What problem are you experiencing on Linux?

    • @justanaveragebalkan
      @justanaveragebalkan 2 роки тому

      ​@@IAmTimCorey Visual Studio code runs great, the problem is that the intelisense for blazor components is not working. I also noticed that there are issues finding the code behind of razor.cs files but that's probably related to the intellisense issue. It was working great for .net 5 ever since .net 6 came along it's not working. Not sure for Windows but defiantly not working for Linux Ubuntu based systems.
      I have been using Jetbrains Rider the entire summer because no one bothers to fix it and it's a shame as Visual Studio code is great in other regards.

    • @justanaveragebalkan
      @justanaveragebalkan 2 роки тому

      @@IAmTimCorey Basically from what i troubleshooted it's an issue with omnisharp and libssl which was dropped from Linux few months ago.

  • @suleimanalhassan2132
    @suleimanalhassan2132 Рік тому

    Thank you

  • @frontforumfocus
    @frontforumfocus 2 роки тому

    yeah this solves my problem

  • @NAKIGOEORG
    @NAKIGOEORG 2 роки тому

    thank you!

  •  2 роки тому +2

    As always a demo with a very small project. Vs Code has a lots of problems working with medium to large C# projects, but that is something that is never told on the videos. It's been years since those problems had been reported but no fix is ever made. Working on Vs Code with C# is simply useless for anything meaningful

  • @jlficken
    @jlficken 2 роки тому

    This is interesting, however, I just don't have time to go through all of these extra steps when creating or testing a project.
    VS2022 is extremely cheap at $500 for a company to purchase and allows their developers to get more done in the same amount of time compared to VS Code.
    I just don't see a reason to use VS Code unless you absolutely have no other choice.

    • @chudchadanstud
      @chudchadanstud Рік тому

      markdown and documentation is better in vscode. More pluggins in vscode.

  • @Nei月牙天衝-y7u
    @Nei月牙天衝-y7u 2 роки тому

    C# Extension for vsc sucks. Creating a new small application using cli isn't a big deal. I challenge you to make use of this extension into a bigger project which hasn't been set up to vsc

  • @positronalpha
    @positronalpha 2 роки тому

    Serious audio lag in this video.

  • @mikevaleriano9557
    @mikevaleriano9557 2 роки тому +12

    Honestly, the big visual studio has been a slow, bloat filled behemoth for years, and they still insist on forcing people to install things THEY WILL NOT NEED during the installation process. This alone makes VS2022 unusable for me. VSCode is clearly the solution, for any kind of projects. Doing things from the command line is not scary.

    • @RomainQ
      @RomainQ 2 роки тому +5

      Rider is THE solution

    • @positronalpha
      @positronalpha 2 роки тому

      Rider would be great if it worked. Tried it numerous times, but there's always some deal-breaking problem that forces me to go back to VS.

    •  2 роки тому +2

      The problem with VS Code is that intellisense stops working on any medium to large project. Only works on small projects and even then it can be broken too. MS always demoes VS Code with only small template project and does not do anything meaningful in any videos.

    • @RomainQ
      @RomainQ 2 роки тому

      @@positronalpha what? Do you work on old legacy apps or something? We only have .net 7 apps at work and rider is the best IDE I've ever used. Never have any issues with it compared to VS

    • @positronalpha
      @positronalpha 2 роки тому

      @@RomainQ I work on all kinds of stuff. 16 years old massive code base, newer largeish code base, toy projects. C#, F#, JavaScript, Python. Paket-based package management. An IDE that doesn't work with the full range of possibilities offered by .NET and .NET Framework is not a great IDE for me, and with all the limitations and outright bugs that have hindered me over the many times I've given it a shot, Rider has been a continuous disappointment.

  • @Mempler
    @Mempler Рік тому

    Remove light theme

  • @obiwanjacobi
    @obiwanjacobi 2 роки тому

    Visual Studio has been so awful lately that I am seriously considering this...

  • @chudchadanstud
    @chudchadanstud Рік тому

    But MS will lose money

  • @mohanadfahmishamsan4895
    @mohanadfahmishamsan4895 2 роки тому