I pretty much exclusively use .NET with AI for backend stuff and run it all in linux containers. It's really good. I generally try to stick to stock standard .NET with only a few popular packages where it makes sense. You don't actually need too many extra things as there's quite a lot built in. Even for CLI its ok, though it won't be the smallest binary.