DavidAJohn / FotoStorioMicroservices

.NET application built using a microservice architecture with Docker containers. Includes a Blazor WebAssembly e-commerce store with Stripe Elements payment integration.
23 stars 4 forks source link

Time to consider .NET 7 #4

Closed DavidAJohn closed 1 year ago

DavidAJohn commented 1 year ago

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.

DavidAJohn commented 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.

DavidAJohn commented 1 year ago

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.

DavidAJohn commented 1 year ago

All of the backend services have now been updated to .NET 7.

DavidAJohn commented 1 year ago

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.