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

แชร์
ฝัง

ความคิดเห็น • 78

  • @kazeemquadri01
    @kazeemquadri01 2 ปีที่แล้ว +12

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

    • @IAmTimCorey
      @IAmTimCorey 2 ปีที่แล้ว +1

      You are welcome.

  • @christianknodler3005
    @christianknodler3005 2 ปีที่แล้ว +2

    One of the best TH-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.

  • @quachhengtony7651
    @quachhengtony7651 ปีที่แล้ว +1

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

  • @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.

  • @wtf-did-i-just-watch-007
    @wtf-did-i-just-watch-007 ปีที่แล้ว +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.

  • @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?

  • @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.

  • @matijslode
    @matijslode 2 ปีที่แล้ว

    Thank you, Tim, for providing free and educational content in TH-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

  • @filix2455
    @filix2455 2 ปีที่แล้ว +1

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

  • @superpcstation
    @superpcstation 2 ปีที่แล้ว +3

    This is super useful. Thanks Tim!

    • @IAmTimCorey
      @IAmTimCorey 2 ปีที่แล้ว

      You are welcome.

  • @nickfotopoulos5323
    @nickfotopoulos5323 ปีที่แล้ว

    Nice to see you featured on the dotnet channel 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.

  • @datascieneph
    @datascieneph 5 หลายเดือนก่อน

    how do you install templates?

  • @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.

  • @arthurion
    @arthurion 2 ปีที่แล้ว

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

  • @ToPFeE1234
    @ToPFeE1234 2 ปีที่แล้ว +2

    Tim always a good explainer! Thank you

    • @IAmTimCorey
      @IAmTimCorey 2 ปีที่แล้ว

      You are welcome.

  • @fboucheros
    @fboucheros 2 ปีที่แล้ว

    dotnet new gitignore at 6:53 so cool!

  • @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.

  • @chongvvain
    @chongvvain ปีที่แล้ว

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

  • @abobonickname5696
    @abobonickname5696 ปีที่แล้ว

    no way to make a new class form CLI?

  • @MrTheWeh
    @MrTheWeh ปีที่แล้ว

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

  • @gadokeibuno5021
    @gadokeibuno5021 2 ปีที่แล้ว

    I'm so happy for this video

  • @andreasmewald2439
    @andreasmewald2439 2 ปีที่แล้ว

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

  • @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 ปีที่แล้ว

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

  • @jamesmiths72
    @jamesmiths72 2 ปีที่แล้ว

    Hey glad to see you here.

  • @UmmarFarooqMahroof
    @UmmarFarooqMahroof ปีที่แล้ว

    Is that raspberry Pi video out yet?

  • @BorutoUzumaki-yb1mn
    @BorutoUzumaki-yb1mn ปีที่แล้ว

    youre better than codewithharry god bless you

  • @aminfarahani6773
    @aminfarahani6773 2 ปีที่แล้ว

    Thank You Tim , it was So Useful

    • @IAmTimCorey
      @IAmTimCorey 2 ปีที่แล้ว

      You are welcome.

  • @embossCoder
    @embossCoder 2 ปีที่แล้ว

    Thank you, Tim

  • @scigama71
    @scigama71 ปีที่แล้ว

    Wow :) awesome

  • @davideoreglio5232
    @davideoreglio5232 ปีที่แล้ว

    4:46 for who wants to start

  • @caseyspaulding
    @caseyspaulding 2 ปีที่แล้ว

    Very good thanks

    • @IAmTimCorey
      @IAmTimCorey 2 ปีที่แล้ว

      You are welcome.

  • @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.

  • @andersondamasceno1356
    @andersondamasceno1356 2 ปีที่แล้ว

    Great tips!

  • @fredericoasoares
    @fredericoasoares 2 ปีที่แล้ว

    Wow! Nice!

  • @suleimanalhassan2132
    @suleimanalhassan2132 ปีที่แล้ว

    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

    • @jlau04
      @jlau04 ปีที่แล้ว

      Exactly

  • @jlficken
    @jlficken ปีที่แล้ว

    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.

  • @frontforumfocus
    @frontforumfocus 2 ปีที่แล้ว

    yeah this solves my problem

  • @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

  • @NAKIGOEORG
    @NAKIGOEORG 2 ปีที่แล้ว

    thank you!

    • @IAmTimCorey
      @IAmTimCorey 2 ปีที่แล้ว

      You are welcome.

  • @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 ปีที่แล้ว