I-NET 8 ifika nophuculo lokusebenza, inkxaso kunye nokunye

Net-logo

.NET uphawu

IMicrosoft ibhengezwe, Ngeposi yebhlog, i ukukhutshwa koguqulelo olutsha lwe.NET 8, iqonga layo lomthombo ovulekileyo, elilungiselelwe abaphuhlisi abenza izicelo ezinqamlezayo (isiphequluli, ilifu, ideskithophu, izixhobo ze-IoT kunye namaqonga eselula.

Kolu guqulelo lutsha lwe-.NET 8 luzisiweyo, kuyacaca ukuba lisebe elihlelwa njenge-LTS kwaye liya kuxhaswa iminyaka emithathu, kude kube nguNovemba ka-2026.

Ngokuphathelele iindaba, icacile ukuba ukwenziwa kokusebenza okubalulekileyo kwenziwe, Kulungile, ngoku ngokuzenzekelayo, ikhowudi entsha generator yenziwe exhasa usetyenziso oluguquguqukayo olusekwe kwiprofayili yokwenziwa kwekhowudi (ukwenziwa kweprofayile eguquguqukayo ekhokelwayo).

Ukusebenzisa ikhowudi entsha yejenereyitha ibonelela ngokunyuka kokusebenza kwesicelo ukuya kuthi ga kwi-20%. Ukongezelela, inguqulo entsha yongeza inkxaso ye-AVX-512 imiyalelo, ephucula ukusebenza kwemisebenzi ehambelanayo kwidatha ye-vector. Kukhankanyiwe ukuba kwiintlobo zamandulo, ujongano olutsha luye lwaphunyezwa oluvumela ukuba idatha ihlalutywe kwaye ifomathwe ngokuthe ngqo kwifomathi ye-UTF-8 ngaphandle kokufakwa kwakhona kweekhowudi.

Olunye utshintsho olubalaseleyo kolu guqulelo lutsha lwe.NET 8 kukuba ".NET Aspire" yongezwe", oko ikukuthi yenzelwe ukuphuhlisa izicelo zomthonyama zamafu usebenzisa .NET itekhnoloji. .NET Aspire ikhankanyiwe njengokubonelela ngeqela elityebileyo lamacandelo onokuthi udinge ukwakha usetyenziso olusebenza kwindawo ezingqongileyo zamafu, kuquka izixhobo zokuqokelelwa kwe-telemetry, uqwalaselo, uvavanyo lwempilo, kunye nokunyamezela impazamo.

Ukongeza koku, kwakhona kuphawulwe ukuba Izixhobo zokwenza izicelo ezibekwe zodwa zandisiwe. Ngokungagqibekanga, imifanekiso yesikhongozeli ipapashwa ngaphandle kweDockerfile kwaye ngaphandle komsebenzisi wengcambu, kwaye umfanekiso wesikhongozeli sesiseko ucuthiwe ngokobungakanani kunye nezixhobo zeqonga zeNET kunye nomfanekiso omncinci ukhetho longezwe ekuqaleni. Izicelo eziqokelelweyo kwiifayile eziphunyeziweyo (yemveli AOT) ).

Kwi-NET 8, uphuculo lwenziwa kwiBlazor, ukusukela ngoku amaxesha okulayisha iphepha ancitshisiwe, iphucula i-scalability kunye ivumela ukusetyenziswa kwe-Blazor Server kunye ne-Blazor WebAssembly kwisicelo esifanayo ukwenza iinkqubo ezidibanisa imisebenzi yomncedisi kunye nomxhasi. I-Jiterpreter yongezwe, ixesha elitsha le-WebAssembly elikhawulezayo, elenze ukuba kube lula ukukhawulezisa ukunikezelwa kwe-interface nge-20%. Uqinisekiso, ugunyaziso kunye nezakhono zokuchonga zandisiwe.

I-MAUI yandisiwe kuphuhliso lojongano lomsebenzisi weqonga, ukubonelela ngokukwazi ukusebenzisa isiseko sekhowudi enye ukwenza ujongano lweWindows, macOS, iOS, kunye ne-Android.

I-C# 12 yongeza inkxaso yesivakalisi esilula sokudala abakhi abaphambili kuyo nayiphi na iklasi kunye nesakhiwo, kwaye yenza lula ukuyilwa kwee-arrays, i-spans kunye nezinye iintlobo zengqokelela, Ukongeza, izixhobo ngoku zinikezelwe ukuseta amaxabiso angagqibekanga kwiiparamitha zokubonisa i-lambda. Amandla onxibelelwano lwesoftware anokuthi asetyenziswe kwiinkqubo zokufunda ngomatshini zandisiwe. Ngokomzekelo, ilayibrari ye-System.Numerics iye yandisa inkxaso yeenkqubo ze-AI ezivelisayo. Imizekelo eyongeziweyo yokwenza ii-chatbots, ukuvelisa umxholo, kunye nokufikelela kwiinkonzo ze-Azure AI.

Olunye utshintsho evelele kule nguqulo intsha:

  • Inkxaso yokwakha eyongeziweyo (i-AOT yakudala).
  • Inkxaso eyongeziweyo yeXcode 15 kunye ne-Android API 34.
  • Ukuphathwa ngokulula kweengxoxo ozikhethelayo.
  • Kongezwe amandla okwenza iziteketiso zalo naluphi na uhlobo usebenzisa i-"alias" yomyalelo.
  • Imizobo ephuculweyo kunye namaqhosha, ukuphathwa okuphuculweyo kokucofa imouse kunye neminyhadala yebhodibhodi.
  • I-ASP.NET Undoqo we-Single Page Web Applications (Blazor) iphumeza inkxaso ye-token kunye ne-cookie-based ungqinisiso.
  • Ujongano lomsebenzisi omtsha woqinisekiso lucetyiwe. Ukhuseleko oluphuculweyo kuhlaselo lwe-XSRF/CSRF.
  • ISikhokelo seQumrhu sibonelela ngeentlobo ezintsha ezintsonkothileyo ezinokusetyenziswa njengezinto. Inkxaso eyongeziweyo yedatha ye-hierarchical kwi-SQL Server.
  • Umphathi wephakheji ye-NuGet wenza lula iiphakheji zophicotho-zincwadi kwiiprojekthi kwaye abonelele ngolwazi malunga nobukho bobuthathaka obaziwayo.
  • I-.NET Runtime yongeza imodi yokwakha kwangaphambili (AOT) yeWebAssembly (WASM) kunye neeplatifomu ze-Android.
  • I-WPF yongeza incoko yababini evulekileyo (i-OpenFolderDialog) kwaye yenza inkxaso ye-hardware yokukhawuleza kwi-RDP.
  • Iphuculwe kakhulu inkxaso yoyilo lwe-ARM64 kunye nomgangatho ophuculweyo wekhowudi ye-ARM.
  • Idebugger ibonelela ngomboniso wolungiso lweempazamo kunye nolweleko olulula lolungiso lweempazamo kwiintlobo eziqhele ukusetyenziswa .NET.
  • Yongeza inguqulelo ekhuselekileyo yemifanekiso esekwe kwiChiseled Ubuntu.

Okokugqibela, ukuba unomdla wokwazi ngakumbi ngayo, ungajongana neenkcukacha kwi ukulandela ikhonkco.

Kwabo banomdla kuguqulelo olutsha lwe-.NET 8 SDK kunye nexesha lokusebenza, kufuneka wazi ukuba ziyafumaneka kwi-Linux, macOS kunye neWindows.


Yiba ngowokuqala ukuphawula

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Inoxanduva lwedatha: I-AB Internet Networks 2008 SL
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.