https://learn.microsoft.com/en-us/windows/wsl/faq
The FAQ is a little out of date but the information is still valid:
"This is primarily a tool for developers, especially web developers, those
working on open source projects, or deploying to Linux server
environments. WSL is for anyone who likes using Bash, common Linux tools
(sed, awk, etc.) and Linux-first frameworks (Ruby, Python, etc.) but also
enjoys using Windows productivity tools"
I don't know about sed and awk. As I described in another post, some tasks
go a lot smoother on Linux. The Open Source Geospatial Foundation is very
much FOSS oriented so the tools tend to be Linux-first, and in some cases
Linux only.
Microsoft has other fish to fry besides Windows desktop.
https://www.zdnet.com/article/microsoft-cloud-revenue-at-23-4-billion-in-
q3-up-32-percent/
I haven't priced Azure but it follows the same pattern as AWS, with Linux
instances being considerably less expensive than Windows because you're
not paying for the license. Selling cloud services produces more revenue
than OS licenses so MS is fine with that.
When you're looking at SaaS or some other cloud based technology the first
question is "What's this going to cost?" The answer makes Linux very
attractive.
So, back at WSL. Developers can package everything in Docker and deploy it
to the web. It's going to be Linux in many cases and they could be working
on a bare metal Linux box. But if you make it really easy for them to work
in WSL, you get to sell a Windows 10/11 license, probably Office 365,
Outlook and so forth while keeping them in the Windows world more or less.
The same goes for VS Code and dotnet 6/7. Both work fine on Linux and I
use them on a straight Linux box. Note also that the price is right --
free. MS is playing a long game. Linux isn't going to capture the home
desktop market share in this century, but it certainly isn't going away
when it comes to enterprise level servers. You can either play along and
get some revenue along the way or lose out entirely.