.NET Framework specifically - yeah. That's on life support. .NET Core is likely to be around for a long time. I spent the last few years at my former employer working on transitioning our server-side business layer components to .NET Core so they could run in Linux containers. Someone else got to deal with the Kubernetes aspect - thank goodness.
Now I usually avoid thinking about any of that. (Oops.)