Last time, I wrote both a Unity game and an ASP.NET Core API server in C#, so I'll take this momentum to organize the basic ...
Unity is deprecating the old InstanceID/GetInstanceID() path in favor of EntityId, and the change is close enough that existing editor tools can already start warning in 6.4 before becoming hard ...