.NET & C# · Web API
How would you answer an interview scenario involving API versioning and backward compatibility in Web API?
If I need to rename a widely used response field, I would avoid replacing it in place. I would first add the new field while keeping the old field, update documentation and clients, measure remaining usage of the old field, publish a deprecation timeline, and remove it only in a planned breaking version. I prefer additive compatible changes and introduce a new API version only when the contract truly cannot remain backward compatible.