Closed mathieu-benoit closed 1 year ago
Let's update this app to .NET 8 - not GA yet, just graduated to Preview 7: https://devblogs.microsoft.com/dotnet/announcing-dotnet-8-preview-7/.
Couple of notes in addition to that:
CreateEmptyBuilder
CreateSlimBuilder
AOT
Not yet, final image from 31.7MB --> 101MB... not compatible with CreateEmptyBuilder nor AOT yet... let's wait a little bit more...
RC1 just released:
Let's update this app to .NET 8 - not GA yet, just graduated to Preview 7: https://devblogs.microsoft.com/dotnet/announcing-dotnet-8-preview-7/.
Couple of notes in addition to that:
CreateEmptyBuilder
- https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-8-preview-7/#webapplication-createemptybuilder -->CreateSlimBuilder
instead: https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.builder.webapplication.createslimbuilder + https://andrewlock.net/exploring-the-dotnet-8-preview-comparing-createbuilder-to-the-new-createslimbuilder-method/AOT
- https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot --> not yet, issue with linux-alpine --> https://andrewlock.net/exploring-the-dotnet-8-preview-the-minimal-api-aot-template/