@Rod Falanga
Can a Windows 4.5.2 app understand the JSON sent to it from a .NET 5 WebAPI? I know that JSON is JSON,
Yes you can send data from the .NET Core 5 WebAPI as long as you are not sending EF Core 5 model objects, which should be left at the WebAPI and not sent.
You would map the EF model object over to a DTO and send the DTO. DTO travels between layers, tiers and client/service and not the EF model object.
https://en.wikipedia.org/wiki/Data_transfer_object#:~:text=In%20the%20field%20of%20programming,that%20carries%20data%20between%20processes.&text=In%20other%20words%2C%20DTOs%20are,transferring%20data%20over%20the%20wire.
https://learn.microsoft.com/en-us/aspnet/web-api/overview/data/using-web-api-with-entity-framework/part-5
https://www.codeproject.com/Articles/1050468/Data-Transfer-Object-Design-Pattern-in-Csharp
The WebAPI client using HTTPClient is not in direct contact with the WebAPI service so the client-side program should not care what the WebAPI is using.
You have two choices with using the DTO pattern and how it is used by the WebAPI client and WebAPI service.
1) Make a .NET Standard classlib project and keep the DTO(s) there that is sharable by the client-side project using .NET Framework 4 and by the WebAPI project using .NET 5.
2) You make the DTO(s) in the 4.5 project and make the DTO(s) in the .NET 5 project with each being standalone in their respective projects.
Either why should work.
example usage of the DTO pattern with WebAPI client-side the MVC project and ServiceLayer projects doing CRUD with the DAL sitting behind the WebAPI that is using EF. The DTO(s) are kept in the Entities classlib project.
https://github.com/darnold924/PublishingCompany
HTH