You are talking about destkop technologies that are necessarily tied with their desktop offering. When it comes to the backend/server side of things, Microsoft has making huge pushes to open source/extend their tools so that they can be used in other operating systems (mainly Linux.) My belief is they realize that the war for the server OS is kind of lost already, so they might as well offer tools that everyone can use on any of the many cloud platforms out there, while providing good tooling for their own PaaS solutions and make their money that way.