تمت ترجمة هذا المقال تلقائيًا. للاطلاع على النسخة الأصلية، انقر هنا.
يوم Ubuntu LTS. أُطلق Ubuntu 26.04 (Resolute Raccoon) اليوم مع .NET 10.
ثبّت .NET 10 بأمرين
sudo apt update
sudo apt install dotnet-sdk-10.0
الحاويات: استبدل -noble بـ -resolute
sed -i "s/noble/resolute/g" Dockerfile
Native AOT: بدء في 3ms، ثنائي بحجم 1.4MB
apt install -y dotnet-sdk-aot-10.0 clang
dotnet publish app.cs
# ثنائي أصلي 1.4MB، بدء في 3ms
بالنسبة لأعباء العمل السحابية الأصلية حيث يهم وقت البدء الفعلي — Functions، الحاويات، serverless — هذا تغيير حقيقي في قواعد اللعبة.
تحتاج .NET 8 أو 9؟
apt install -y software-properties-common
add-apt-repository ppa:dotnet/backports
apt install -y dotnet-sdk-8.0
يتضمن المقال الكامل مزيدًا من التفاصيل.
