As a .NET dev, I'm not worried, MS has invested really heavily into .NET, it's everywhere in their eco-system now. Even if the preferred way to build some desktop apps was HTML/JS, .NET is still going to be in use in many other places.
Even if they did ditch .NET (which I don't think they will), it would take years to do; plenty of time to move to something else ;)