Closed DavidAJohn closed 1 year ago
I've now updated the Discount.minAPI project to .NET 7 and it was painless:
Just updated the target framework in the .csproj file, updated the nuget packages and changed the Dockerfile to reference the .NET 7 SDK. Then it just needed a rebuild of the Docker image and it was all done.
I know you don't strictly need the Dockerfiles anymore with .NET 7, but I'll leave them in there for the time being.
All of the API Gateways and the Products Aggregator have now been updated to .NET 7 with nothing more than a minor issue with mapping the health check endpoints.
All of the backend services have now been updated to .NET 7.
All of the client apps have now been updated to .NET 7, and with that the whole solution has now been successfully updated to .NET 7.
It's probably time to start thinking about which projects would benefit from being upadted to .NET 7.
Anything involving Entity Framework should be stringly considered, given the performance gains.
Also the Discount minimal API would be a good candidate.