Got told dotnet won't be around in 10 years

Just need to vent, I work on a small innovation team in a medium sized ecom, me and the other dev inherited a Python flask POC that we've continued to build upon for a while now and since I started I was told that eventually we would be allowed to rewrite parts of it in dotnet. The main language of the company is C# it should be noted.

We finally started that process during late fall, I was very excited to setup a fresh Aspire solution and get back to what I personally consider a real enterprise language with enterprise tooling. (I'm sure you can do wonderful things with Flask but plz no).

Today we had a meeting with some high level non technical people that challenged us why we are rewriting stuff to C#, they don't mind the rewriting mind you, just that it's in an ancient obscure framework like dotnet.

They talked about all the benefits of instead going to a full JS-stack with the synergy of sticking to a single language and worries that they won't be able to recruit more dotnet devs both short and long term, and despite me sharing my screen and showing the stackoverflow survey that dotnet is indeed a very popular and non controversial option we agreed to disagree and revisit the discussion soon.

So I thought I'd let you know that you're all doomed /s

Jokes aside, in their defence, I understand the main team with works in dotnet has had some problems with recruitment since they use some obscure older dotnet technologies and that's why the higher ups reacted to it despite this being completely greenfield.