Targeting Linux with .NET 6/7 and WSL (Windows Subsystem for Linux) on Windows 11

Sdílet
Vložit
  • čas přidán 16. 10. 2022
  • Let's learn how to target Linux with .NET 6/7 and WSL (Windows Subsystem for Linux) on Windows 11
    NOTE: I made a mistake (moving too fast) when I talked about CR/LF. I shouldn't have added the 0x in front. LF is 10, which is 0x0A, and CR is 13 which is 0x0D. I know that, but I added the 0x which changes the meaning from decimal to hexadecimal.
  • Věda a technologie

Komentáře • 62

  • @KlasNyman
    @KlasNyman Před rokem +8

    WSL and docker on windows is really brilliant, using it every day! :)

  • @jayhu6075
    @jayhu6075 Před rokem +1

    I think this is one of the best explanation on CZcams. The way you explain it does require solid knowledge of network architecture and to make that understandable for everyone.
    That's why you earn 1 million subscribers.

  • @BogacGuven
    @BogacGuven Před rokem

    I was about to check your past videos for WSL setup and see this. ♥

  • @rugbybeef
    @rugbybeef Před rokem

    Thank you! This was the primer I needed as someone new to certain aspects of this type of development. While a programmer, I have worked primarily in rather specific statistical and database programming languages and their isolated environmenta not the more interactive software and web-based realm of "developers." This was a great overview of cross-platform, cross-filesystem, interleaving of Linux and Windows via WSL2 and how Docker bridges those realms. It really closed a number of knowledge gaps that were eluding me.

  • @ericus-scottkickoutofbedle6464

    thanks for all the good work on Hera, Hestia, Hathor, really filled with insight

  • @nickcostello2810
    @nickcostello2810 Před rokem +2

    Scott’s back! Love it!

  • @SaveTheHedgehog
    @SaveTheHedgehog Před rokem

    Phew, that last ten minutes where pretty tough to understand, but I can rewind. very nice info. Have a nice day also😘.

  • @sjorgen9122
    @sjorgen9122 Před rokem +1

    Woah I saw "6tag" on some of those image file names from around 2013. Crazy to see an old Windows Phone Instagram App hit me with a blast from the past like that, 6tag was a really great experience before the Insta api got tightened down

  • @williamliu8985
    @williamliu8985 Před rokem

    Thanks for sharing the dev env experience!

  • @bravelygeorge
    @bravelygeorge Před rokem

    Fantastic content. Really enjoyed this episode

  • @rodrigoserafim8834
    @rodrigoserafim8834 Před rokem +1

    Scott is slowly turning into Bob Ross, except with command prompts instead of landscapes.

  • @hamidmosalla1094
    @hamidmosalla1094 Před rokem +1

    Added this video to my list of unintentional ASMR

  • @idlewise
    @idlewise Před rokem +5

    Hello from Switzerland!

  • @arlvinmoyo9290
    @arlvinmoyo9290 Před rokem

    Managed to follow along! Spent some time learning how to do the actual installation of .NET on Ubuntu!

    • @GBPhilip
      @GBPhilip Před rokem

      I'm struggling with this part

  • @andy.greaves
    @andy.greaves Před 2 měsíci

    Very informative video, thanks!

  • @Serj1c
    @Serj1c Před rokem

    Scott is just great..thank you sir

  • @MaxxDelusional
    @MaxxDelusional Před rokem +3

    Great video, this seems a lot more approachable than I had originally thought.
    Is there an equivalent of vscode-server for full Visual Studio? What's the best way to open a full app, running on Linux, in Visual Studio?

    • @shanselman
      @shanselman  Před rokem +2

      VS “senior” works best with dotnet web apps. Host them on c:\ and then open them regularly, then select the WSL drop-down from debugging and VS will map automatically and install dotnet in Linux for you.

  • @lordvoldemort4447
    @lordvoldemort4447 Před rokem

    thanks for this tutorial got it easy

  • @persep2
    @persep2 Před rokem +1

    Nice video. Your computer seems to fly what specs does it have?

  • @m0norsk
    @m0norsk Před rokem

    What a pleasant experience.

  • @thegenxgamerguy6562
    @thegenxgamerguy6562 Před rokem

    Surely, this is how I work, too. And I love it. 🙂
    Just wish the wt.exe quake mode was more practical to use, could really use a "keep alive" feature and tabs, etc...
    Think "guake". wt.exe should be like this.

  • @kvloover
    @kvloover Před rokem

    wsl is one of the best things to come to windows
    Aside from docker still have to find some nice use cases though

  • @MajoBeats
    @MajoBeats Před rokem

    Hi Scott,
    Are you using Zoomit for zoom functionality?

  • @Ben_Creates
    @Ben_Creates Před rokem

    Nice

  • @sulfur32066
    @sulfur32066 Před rokem

    all those features available only on professional version of windows?

  • @dionito70
    @dionito70 Před rokem

    SLES: Shelf-Life Extension System. Cheers!!

  • @paulcantalupo-nv1490
    @paulcantalupo-nv1490 Před rokem

    I don't see the option "Default Terminal Application" in Windows 10. Am I doing something wrong? I see Default Profile and then Launch Machine on Startup

  • @MrGTFOplz
    @MrGTFOplz Před rokem

    What vs code theme are you using?

  • @lorapora
    @lorapora Před rokem +1

    How did your blood sugar increase in the course of the video? Did you take a lunch break in the middle?

    • @shanselman
      @shanselman  Před rokem +2

      it's updated every 5 min, and had just eaten an apple

  • @davidanthonyburton2253

    ty scott c u in the morning god willing ✔✔👍👍😂😂

  • @michaelwplde
    @michaelwplde Před rokem

    That's how you make your apps; now I want to see how to make cross plat UIs...

  • @prashlovessamosa
    @prashlovessamosa Před rokem +1

    Hey yo

  • @meggrobi
    @meggrobi Před rokem +1

    WSL is all well and good, but it's like seeing a dog tap dance, strangely compelling but not that useful in the scheme of things. Would you trust a critical Linux system on Windows? Do you really want to reboot critical infrastructure once a month or sooner? Hey, if you really want to run notepad on Linux, Wine is probably a better solution. P.S GIMP is available on native windows.

  • @Amazingvrr
    @Amazingvrr Před rokem

    I dоwnloaded everything is okay

  • @halldord
    @halldord Před rokem

    Hello friend

  • @SteveHazel
    @SteveHazel Před rokem

    ok but why is your ubuntu install 2 years old?

    • @shanselman
      @shanselman  Před rokem

      I liked 20.04. I can upgrade whenever. I have 18.04 also.

    • @SteveHazel
      @SteveHazel Před rokem

      Why would ya like 20.04 better than 22.04 tho? Does wsl2 not have 22.04 available yet or somethin?

    • @Teslacoil33
      @Teslacoil33 Před rokem

      22.04 is available for WSL. In fact any Linux distro is available for WSL I believe.

    • @shanselman
      @shanselman  Před rokem

      @@SteveHazel it does, but I get tired of upgrading all the time. Now you are guilting me into updating.

    • @SteveHazel
      @SteveHazel Před rokem

      @@shanselman mostly i was just curious if wsl2 was limited to older releases. iiii'm not tryna guilt ya :) i usta win32 and c++ on windows. i loved it till win8 happened. now i've -finally- said goodbye to wupdate (except for at work sigh). I'm pretty happy with kubuntu on an i7 nuc with a huge usb3 hub for all my midi devices. but i'm always curious if windows is changin it's ways.

  • @__Time__clock
    @__Time__clock Před rokem

    Hello

  • @idlewise
    @idlewise Před rokem +2

    LF is 0x0A and CR 0x0D

    • @oresteszoupanos
      @oresteszoupanos Před rokem +4

      Translation for non-programmers:
      The Line Feed (LF) character is represented by the decimal number 10 ("A" in hexadecimal),
      and the Carriage Return (CR) character by decimal 13 ("D" in hex) 😀

    • @shanselman
      @shanselman  Před rokem +4

      oops, you're right. I shouldn't have added the 0x. Thanks for the reminder. I added the mistake in the notes.

  • @amirmsj8457
    @amirmsj8457 Před rokem

    such good experience and make it easier

  • @michaelwplde
    @michaelwplde Před rokem

    SLES SUSE Linux Enterprise Server

  • @mahkhi7154
    @mahkhi7154 Před rokem

    The Problem you P1GS have got is that you've got Decades Old programs that you're Incapable of Rewriteing. How different is Godot from Quake. Decades and Very little Progress. Your Linux won't Run the vast majority of your Programs.

  • @mikephillips5551
    @mikephillips5551 Před rokem

    Getting linux from windows store !! I bet MS modified the distro's With the same spyware they put on there windows !! Think i will stick with my arch and fedora distro's and take windows of every pc i buy !!

    • @shanselman
      @shanselman  Před rokem

      Nope they are downloaded directly as Tar files from the publisher.

    • @hero3616
      @hero3616 Před rokem

      Lmaooo