Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Windows Subsystem for Linux .NET Oxford Dec 2018

356 views

Published on

Lightning talk on Windows Subsystem for Linux at .NET Oxford December 2018

Published in: Software
  • Be the first to comment

  • Be the first to like this

Windows Subsystem for Linux .NET Oxford Dec 2018

  1. 1. WSL: Linux on Windows? Don't be BASHful! @stuartleeks Web and Cloud geek @ Microsoft
  2. 2. Ready, set, go…
  3. 3. WSL Windows Subsystem for Linux “bash on Windows”
  4. 4. Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux https://docs.microsoft.com/en-us/windows/wsl/install-win10 Installing
  5. 5. Bish bash bosh..
  6. 6. WAT??? • “The Windows Subsystem for Linux lets developers run GNU/Linux environment -- including most command-line tools, utilities, and applications -- directly on Windows, unmodified, without the overhead of a virtual machine.” https://docs.microsoft.com/en-us/windows/wsl/about Attribution: Douglas Santos and Ryan Kaldari https://commons.wikimedia.org/wiki/File:Magic_Wand_Icon_229981_Color_Flipped.svg
  7. 7. NOT… • … Cygwin • Runs unmodified ELF binaries • … for running docker engine etc • But great for docker client! • … for running redis in production • But great for dev! • … high I/O perf • Be aware • … for GUI applications • But CLIs are great 
  8. 8. Why? • Great tool • Fun!
  9. 9. File system interop
  10. 10. Windows --> Linux
  11. 11. Windows --> Linux
  12. 12. Windows <--> Linux
  13. 13. WSL and environment variables https://blogs.msdn.microsoft.com/commandline/2017/12/22/share-environment-vars-between-wsl-and-windows/
  14. 14. https://www.flickr.com/photos/relatedfluidpower/34106110871/
  15. 15. https://twitter.com/mistydemeo/status/1065326274405556224?s=09
  16. 16. Links • Install: https://docs.microsoft.com/en-us/windows/wsl/install-win10 • Docs: https://docs.microsoft.com/windows/wsl/ • Blogs: • https://blogs.msdn.microsoft.com/wsl/ • https://blogs.msdn.microsoft.com/commandline/ (Environment variable mapping: https://blogs.msdn.microsoft.com/commandline/2017/12/22/share- environment-vars-between-wsl-and-windows/ )
  17. 17. https://www.flickr.com/photos/hitchster/5504806327/

×