{"id":484,"date":"2023-10-03T02:41:54","date_gmt":"2023-10-03T09:41:54","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/dotnet-ch\/?p=484"},"modified":"2023-10-03T02:43:09","modified_gmt":"2023-10-03T09:43:09","slug":"%e5%ae%98%e5%ae%a3-net-8-rc1%e7%9a%84%e5%8f%91%e5%b8%83","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet-ch\/%e5%ae%98%e5%ae%a3-net-8-rc1%e7%9a%84%e5%8f%91%e5%b8%83\/","title":{"rendered":"\u5b98\u5ba3.NET 8 RC1\u7684\u53d1\u5e03"},"content":{"rendered":"<p><em><strong>\u672c\u7bc7\u7ffb\u8bd1\u4e8eLeslie Richardson\u7684\u6587\u7ae0 <a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/announcing-dotnet-8-rc1\/\">Announcing .NET 8 RC1<\/a><\/strong>\u3002<\/em><\/p>\n<p>.NET 8 RC1 \u73b0\u5df2\u63a8\u51fa\u3002\u8fd9\u662f\u6211\u4eec\u4e24\u4e2a\u5019\u9009\u7248\u672c\u4e2d\u7684\u7b2c\u4e00\u4e2a\u3002\u6b64\u7248\u672c\u5305\u62ec\u9002\u7528\u4e8e Android \u548c WASM \u7684\u65b0 AOT \u6a21\u5f0f\u3001System.Text.Json \u6539\u8fdb\u4ee5\u53ca\u5bf9\u5bb9\u5668\u7684 Azure Managed Identity\u652f\u6301\u3002\u5982\u679c\u60a8\u8fd8\u6ca1\u6709\u5f00\u59cb\u5b66\u4e60\u548c\u6d4b\u8bd5 .NET 8\uff0c\u90a3\u4e48\u73b0\u5728\u6b63\u662f\u597d\u65f6\u673a\u3002<\/p>\n<p>.NET Conf 2023\u7684\u65e5\u671f\u5df2\u516c\u5e03\uff01\u8bf7\u52a0\u5165\u6211\u4eec\uff0c\u4e00\u8d77\u5e86\u795d2023 \u5e74 11 \u6708 14 \u65e5\u81f3 16 \u65e5\u4e3e\u884c\u7684 .NET 8 \u53d1\u5e03\u4f1a\uff01<\/p>\n<p>\u8bf7\u4e0b\u8f7d\u9002\u7528\u4e8e Linux\u3001macOS \u548c Windows \u7684<a href=\"https:\/\/dotnet.microsoft.com\/en-us\/download\/dotnet\/8.0\">.NET 8 RC1<\/a> \u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/dotnet.microsoft.com\/en-us\/download\/dotnet\/8.0\">\u5b89\u88c5\u7a0b\u5e8f\u548c\u4e8c\u8fdb\u5236\u6587\u4ef6<\/a><\/li>\n<li><a href=\"https:\/\/hub.docker.com\/_\/microsoft-dotnet-aspnet\/\">\u5bb9\u5668\u955c\u50cf<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/tree\/main\/release-notes\/8.0\">\u53d1\u884c\u8bf4\u660e<\/a><\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/dotnet\/core\/compatibility\/8.0?toc=%2Fdotnet%2Ffundamentals%2Ftoc.json&amp;bc=%2Fdotnet%2Fbreadcrumb%2Ftoc.json\">\u91cd\u5927\u66f4\u6539<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/8.0\/known-issues.md\">\u5df2\u77e5\u7684\u95ee\u9898<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/issues\">GitHub \u95ee\u9898\u8ddf\u8e2a\u5668<\/a><\/li>\n<\/ul>\n<p>\u60a8\u8fd8\u53ef\u4ee5\u67e5\u770b\u51e0\u7bc7\u4ee4\u4eba\u5174\u594b\u7684\u5e16\u5b50\uff1a<\/p>\n<ul>\n<li><a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/asp-net-core-updates-in-dotnet-8-rc-1\/\">.NET 8 RC1 \u4e2d\u7684NET Core \u66f4\u65b0<\/a><\/li>\n<li><a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/announcing-dotnet-maui-in-dotnet-8-rc-1\/\">.NET 8 RC1 \u4e2d\u7684 .NET MAUI \u66f4\u65b0<\/a><\/li>\n<li><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-2022-17-8-preview-2-has-arrived\/\">Visual Studio 2022 17.8 Preview 2<\/a><\/li>\n<li><a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/announcing-ef8-rc1\/\">.NET 8 RC1 \u4e2d\u7684Entity Framework\u66f4\u65b0<\/a><\/li>\n<li>.NET 8 \u7684\u65b0\u589e\u529f\u80fd\u63cf\u8ff0\u4e86 <a href=\"https:\/\/learn.microsoft.com\/en-us\/dotnet\/core\/whats-new\/dotnet-8\">.NET 8 <u>\u4e2d\u7684\u6240\u6709\u65b0\u529f\u80fd<\/u>\u3002<\/a>\u5982\u679c\u60f3\u8981\u66f4\u5168\u9762\u7684\u4e86\u89e3\u8fd9\u4e2a\u5e73\u53f0\uff0c\u8bf7\u9605\u8bfb<a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/why-dotnet\/\">\u4e3a\u4ec0\u4e48\u9009\u62e9 .NET\uff1f\u3002<\/a><\/li>\n<\/ul>\n<h4><strong>System.Text.Json <\/strong><strong>\u6539\u8fdb<\/strong><\/h4>\n<h5><strong>IAsyncEnumerable <\/strong><strong>\u7684<\/strong> <span style=\"color: #ff0000;\"><strong>System.Net.Http.Json<\/strong><\/span> <strong>\u6269\u5c55<\/strong><\/h5>\n<p>https:\/\/github.com\/dotnet\/runtime\/pull\/89258<\/p>\n<p>RC1 \u4e2d\u5305\u542b\u4e86 IAsyncEnumerable \u6d41\u5f0f\u53cd\u5e8f\u5217\u5316\u6269\u5c55\u65b9\u6cd5\uff1a<\/p>\n<pre class=\"prettyprint language-default\"><code class=\"language-default\">const string RequestUri = \"https:\/\/api.contoso.com\/books\";\r\nusing var client = new HttpClient();\r\nIAsyncEnumerable&lt;Book&gt; books = client.GetFromJsonAsAsyncEnumerable&lt;Book&gt;(RequestUri);\r\n\r\nawait foreach (Book book in books)\r\n{\r\n    Console.WriteLine($\"Read book '{book.title}'\");\r\n}\r\n\r\npublic record Book(int id, string title, string author, int publishedYear);<\/code><\/pre>\n<p>\u611f\u8c22@IEvangelist\u5bf9\u6b64\uff08IAsyncEnumerable \u7684 System.Net.Http.Json \u6269\u5c55\uff09\u63d0\u4f9b\u7684\u5b9e\u73b0\u65b9\u6cd5\u3002<\/p>\n<h5><strong><span style=\"color: #ff0000;\">JsonContent.Create<\/span>\u91cd\u8f7d\u652f\u6301<span style=\"color: #ff0000;\">JsonTypeInfo<\/span><\/strong><\/h5>\n<p>https:\/\/github.com\/dotnet\/runtime\/pull\/89614<\/p>\n<p>\u73b0\u5728\u53ef\u4ee5\u4f7f\u7528\u4fee\u526a\u5b89\u5168\/\u6e90\u751f\u6210\u7684\u5408\u7ea6\u521b\u5efa <span style=\"color: #ff0000;\">JsonContent<\/span> \u5b9e\u4f8b\uff1a<\/p>\n<pre class=\"prettyprint language-default\"><code class=\"language-default\">var book = new Book(id: 42, \"Title\", \"Author\", publishedYear: 2023);\r\nHttpContent content = JsonContent.Create(book, MyContext.Default.Book);\r\n\r\npublic record Book(int id, string title, string author, int publishedYear);\r\n\r\n[JsonSerializable(typeof(Book))]\r\npublic partial class MyContext : JsonSerializerContext \r\n{ }<\/code><\/pre>\n<p>\u611f\u8c22@brantburnett \u5bf9\u6b64\uff08JsonContent.Create\u91cd\u8f7d\u63a5\u53d7JsonTypeInfo\uff09\u63d0\u4f9b\u7684\u5b9e\u73b0\u65b9\u6cd5\u3002<\/p>\n<h5><span style=\"color: #ff0000;\"><strong>JsonNode.ParseAsync <\/strong><\/span><strong>APIs<\/strong><\/h5>\n<p>https:\/\/github.com\/dotnet\/runtime\/pull\/90006<\/p>\n<p>\u6dfb\u52a0\u5bf9\u4ece\u6d41\u4e2d\u89e3\u6790<span style=\"color: #ff0000;\">JsonNode<\/span>\u5b9e\u4f8b\u7684\u652f\u6301\uff1a<\/p>\n<pre class=\"prettyprint language-default\"><code class=\"language-default\">using var stream = File.OpenRead(\"myFile.json\");\r\nJsonNode node = await JsonNode.ParseAsync(stream);<\/code><\/pre>\n<p>\u611f\u8c22@DoctorKrolic \u5bf9\u6b64\uff08JsonNode.ParseAsync APIs\uff09\u63d0\u4f9b\u7684\u5b9e\u73b0\u65b9\u6cd5\u3002<\/p>\n<h5><span style=\"color: #ff0000;\"><strong>JsonSerializerOptions.MakeReadOnly(bool populateMissingResolver)<\/strong><\/span><\/h5>\n<p>https:\/\/github.com\/dotnet\/runtime\/pull\/90013<\/p>\n<p>\u73b0\u6709\u7684\u65e0\u53c2\u6570 <span style=\"color: #ff0000;\">JsonSerializerOptions.MakeReadOnly()<\/span> \u65b9\u6cd5\u662f\u57fa\u4e8e\u4fee\u526a\u5b89\u5168\u800c\u8bbe\u8ba1\u7684\uff0c\u56e0\u6b64\u5728options\u5b9e\u4f8b\u6ca1\u6709\u914d\u7f6e\u89e3\u6790\u5668\u7684\u60c5\u51b5\u4e0b\u5c06\u629b\u51fa\u5f02\u5e38\u3002<\/p>\n<p>\u8c03\u7528\u65b0\u7684\u91cd\u8f7d<\/p>\n<pre class=\"prettyprint language-default\"><code class=\"language-default\">options.MakeReadOnly(populateMissingResolver: true);<\/code><\/pre>\n<p>\u5982\u679c\u7f3a\u5c11\u53cd\u5c04\u89e3\u6790\u5668\uff0c\u5c06\u4f7f\u7528\u9ed8\u8ba4\u53cd\u5c04\u89e3\u6790\u5668\u586b\u5145options\u5b9e\u4f8b\u3002 \u8fd9\u6a21\u62df\u4e86\u63a5\u53d7<span style=\"color: #ff0000;\"> JsonSerializerOption<\/span>s \u7684 JsonSerializer \u65b9\u6cd5\u6240\u91c7\u7528\u7684\u521d\u59cb\u5316\u903b\u8f91\u3002 \u8be5\u884c\u4e3a\u7684\u526f\u4f5c\u7528\u662f\u65b0\u91cd\u8f7d\u88ab\u6807\u8bb0\u4e3a <span style=\"color: #ff0000;\">RequiresUnreferenceCode<\/span>\/<span style=\"color: #ff0000;\">RequiresDynamicCode<\/span>\uff0c\u56e0\u6b64\u4e0d\u9002\u5408Native AOT \u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<h5><strong>Android <\/strong><strong>\u4e0a\u7684<\/strong> <span style=\"color: #ff0000;\"><strong>AndroidStripILAfterAOT<\/strong><\/span> <strong>\u6a21\u5f0f<\/strong><\/h5>\n<p>https:\/\/github.com\/xamarin\/xamarin-android\/pull\/8172<\/p>\n<p>\u6211\u4eec\u5c1d\u8bd5\u4e3a\u5f00\u7bb1\u5373\u7528\u7684 .NET \u548c .NET MAUI \u5e94\u7528\u7a0b\u5e8f\u9009\u62e9\u6700\u4f73\u7684\u9ed8\u8ba4\u914d\u7f6e\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u5728 .NET 6 \u53ca\u66f4\u9ad8\u7248\u672c\u4e2d\uff0c\u5f53\u8fd9\u4e9b\u5e94\u7528\u7a0b\u5e8f\u5728Release\u6a21\u5f0f\u4e0b\u6784\u5efa\u65f6\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528\u63d0\u524d\u9884\u7f16\u8bd1\u7684 (AOT)\u7f16\u8bd1\u6a21\u5f0f\u3002 AOT\u7f16\u8bd1\u5728\u542f\u52a8\u65f6\u95f4\u548c\u8fd0\u884c\u65f6\u6027\u80fd\u65b9\u9762\u5e26\u6765\u4e86\u66f4\u5feb\u7684\u6027\u80fd\uff0c\u4f46\u4f1a\u4ee5\u5e94\u7528\u7a0b\u5e8f\u5927\u5c0f\u589e\u52a0\u4e3a\u4ee3\u4ef7 \u3002 \u63d0\u524d\u9884\u7f16\u8bd1\u53eaAOT\u7f16\u8bd1\u5e94\u7528\u7a0b\u5e8f\u7684\u542f\u52a8\u8def\u5f84\u7684\u4e00\u90e8\u5206 \uff0c\u4ece\u800c\u7f29\u77ed\u4e86\u542f\u52a8\u65f6\u95f4\uff0c\u800c\u5e94\u7528\u7a0b\u5e8f\u5c3a\u5bf8\u53ea\u589e\u52a0\u4e86\u5f88\u5c0f\u7684\u4e00\u90e8\u5206\u3002\u65b0\u7684 AndroidStripILAfterAOT \u8bbe\u7f6e\u4f1a\u5220\u9664\u7ecf\u8fc7 AOT \u7f16\u8bd1\u7684\u672a\u4f7f\u7528\u7684 IL\uff0c\u4ece\u800c\u5c06 dotnet \u6a21\u677f\u5e94\u7528\u7a0b\u5e8f\u7684 apk \u5927\u5c0f\u81f3\u5c11\u51cf\u5c0f 0 \u2013 3.5%\u3002<\/p>\n<h5><strong>\u4f55\u65f6\u8003\u8651\u4f7f\u7528<\/strong><span style=\"color: #ff0000;\"><strong>AndroidStripILAfterAOT<\/strong><\/span><strong>\uff1a<\/strong><\/h5>\n<p>\u5982\u679c\u60a8\u66f4\u5173\u5fc3 Android \u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\uff0c\u800c\u4e0d\u662f\u5e94\u7528\u7a0b\u5e8f\u7684\u5927\u5c0f\uff0c\u90a3\u4e48 AOT \u7f16\u8bd1\u6240\u6709\u4ee3\u7801\u662f\u5b9e\u73b0\u6700\u4f73\u542f\u52a8\u548c\u8fd0\u884c\u65f6\u6027\u80fd\u7684\u597d\u65b9\u6cd5\u3002 $(AndroidStripILAfterAOT) \u8fdb\u4e00\u6b65\u5220\u9664\u4e86\u672a\u4f7f\u7528\u7684 IL\uff0c\u4f7f AOT \u7f16\u8bd1\u5e26\u6765\u7684\u5e94\u7528\u7a0b\u5e8f\u5927\u5c0f\u7684\u589e\u52a0\u66f4\u52a0\u5408\u7406\u3002 \u5220\u9664\u7684 IL \u4e5f\u5c06\u4e0d\u518d\u5b58\u5728\uff0c\u4ece\u800c\u4f7f\u5bf9\u5e94\u7528\u7a0b\u5e8f\u7684 .NET \u4ee3\u7801\u8fdb\u884c\u9006\u5411\u5de5\u7a0b\u53d8\u5f97\u66f4\u52a0\u56f0\u96be\uff08\u4f46\u5e76\u975e\u4e0d\u53ef\u80fd\uff09\u3002<\/p>\n<h5><strong>\u5982\u4f55\u4f7f\u7528<\/strong><span style=\"color: #ff0000;\"><strong>AndroidStripILAfterAOT<\/strong><\/span><strong>\uff1a<\/strong><\/h5>\n<p>\u8bf7\u4e3a\u60a8\u7684 Android \u5e94\u7528\u7a0b\u5e8f\u8bbe\u7f6e\u4ee5\u4e0b MsBuild \u5c5e\u6027\uff1a<\/p>\n<pre class=\"prettyprint language-default\"><code class=\"language-default\">&lt;PropertyGroup Condition=\" '$(Configuration)' == 'Release' \"&gt;\r\n  &lt;AndroidStripILAfterAOT&gt;true&lt;\/AndroidStripILAfterAOT&gt;\r\n&lt;\/PropertyGroup&gt;<\/code><\/pre>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5c06 <span style=\"color: #ff0000;\">AndroidStripILAfterAOT<\/span> \u8bbe\u7f6e\u4e3a true \u5c06\u8986\u76d6\u9ed8\u8ba4 AndroidEnableProfiledAot\u8bbe\u7f6e\uff0c\u4ece\u800c\u5141\u8bb8\u5220\u9664\u6240\u6709\u53ef\u4fee\u526a\u7684 AOT \u65b9\u6cd5\u3002 \u901a\u8fc7\u663e\u5f0f\u8bbe\u7f6e\uff0c\u53ef\u4ee5\u5c06\u63d0\u524d\u9884\u7f16\u8bd1 \u548c IL \u5265\u79bb\u4e00\u8d77\u4f7f\u7528\uff1a<\/p>\n<pre class=\"prettyprint language-default\"><code class=\"language-default\">&lt;PropertyGroup Condition=\" '$(Configuration)' == 'Release' \"&gt;\r\n  &lt;AndroidStripILAfterAOT&gt;true&lt;\/AndroidStripILAfterAOT&gt;\r\n  &lt;AndroidEnableProfiledAot&gt;true&lt;\/AndroidEnableProfiledAot&gt;\r\n&lt;\/PropertyGroup&gt;<\/code><\/pre>\n<p>dotnet \u00a0\u521b\u5efa\u65b0\u7684Android\u5e94\u7528\u7a0b\u5e8f\u7684 .apk \u5927\u5c0f\u7ed3\u679c\uff1a<\/p>\n<table style=\"width: 83.5111%;\">\n<tbody>\n<tr>\n<td style=\"width: 33.4944%;\" width=\"208\"><span style=\"color: #ff0000;\">$(AndroidStripILAfterAOT)<\/span><\/td>\n<td style=\"width: 33.4944%;\" width=\"208\"><span style=\"color: #ff0000;\">$(AndroidEnableProfiledAot)<\/span><\/td>\n<td style=\"width: 33.0113%;\" width=\"208\">.<span style=\"color: #ff0000;\">apk<\/span> size<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 33.4944%;\" width=\"208\">true<\/td>\n<td style=\"width: 33.4944%;\" width=\"208\">true<\/td>\n<td style=\"width: 33.0113%;\" width=\"208\">7.7MB<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 33.4944%;\" width=\"208\">false<\/td>\n<td style=\"width: 33.4944%;\" width=\"208\">true<\/td>\n<td style=\"width: 33.0113%;\" width=\"208\">7.7MB<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 33.4944%;\" width=\"208\">true<\/td>\n<td style=\"width: 33.4944%;\" width=\"208\">false<\/td>\n<td style=\"width: 33.0113%;\" width=\"208\">8.1MB<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 33.4944%;\" width=\"208\">false<\/td>\n<td style=\"width: 33.4944%;\" width=\"208\">false<\/td>\n<td style=\"width: 33.0113%;\" width=\"208\">8.4MB<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8bf7\u6ce8\u610f\uff0c$(<span style=\"color: #ff0000;\">AndroidStripILAfterAOT<\/span>)=false \u548c $(<span style=\"color: #ff0000;\">AndroidEnableProfiledAot<\/span>)=true \u662f\u9ed8\u8ba4\u7684 Release \u914d\u7f6e\u73af\u5883\uff0c\u751f\u6210\u7684apk\u5927\u5c0f\u4e3a 7.7MB\u3002<\/p>\n<h5><strong>\u9650\u5236<\/strong><\/h5>\n<p>\u5e76\u975e\u6240\u6709\u7ecf\u8fc7 AOT \u7f16\u8bd1\u7684\u65b9\u6cd5\u90fd\u53ef\u4ee5\u5220\u9664\u3002\u5728\u8fd0\u884c\u65f6\uff0c\u6709\u591a\u79cd\u573a\u666f\u9700\u8981\u6211\u4eec\u4ece AOT \u5207\u6362\u5230 JIT \u624d\u80fd\u4ea7\u751f\u6b63\u786e\u7684\u7ed3\u679c\u3002\u5c3d\u7ba1\u5982\u6b64\uff0c\u6211\u4eec\u5c06\u5728\u5373\u5c06\u53d1\u5e03\u7684 .NET 9 \u7248\u672c\u4e2d\u4e0d\u65ad\u52aa\u529b\u7f29\u5c0f\u8fd9\u4e9b\u5dee\u8ddd\u3002<\/p>\n<h5><strong>\u6700\u540e\u8bf4\u660e<\/strong><\/h5>\n<p>\u6211\u4eec\u8bda\u9080\u5927\u5bb6\u5c1d\u8bd5\u8fd9\u9879\u65b0\u529f\u80fd\uff0c\u5e76\u63d0\u4ea4\u4efb\u4f55\u53d1\u73b0\u7684\u95ee\u9898\uff0c\u4ee5\u5e2e\u52a9\u6211\u4eec\u8fdb\u4e00\u6b65\u6539\u5584\u7528\u6237\u4f53\u9a8c\u3002\u95ee\u9898\u53ef\u4ee5\u76f4\u63a5\u63d0\u4ea4\u5230<a href=\"https:\/\/github.com\/dotnet\/runtime\">dotnet\/runtime \u5b58\u50a8\u5e93<\/a>\u3002<\/p>\n<h4><strong>\u914d\u7f6e\u7ed1\u5b9a\u751f\u6210\u5668\u7684\u91cd\u5927\u66f4\u6539<\/strong><\/h4>\n<p>\u914d\u7f6e\u7ed1\u5b9a\u751f\u6210\u5668\u5df2\u5207\u6362\u4e3a\u4f7f\u7528\u7f16\u8bd1\u5668\u62e6\u622a\u5668\u9884\u89c8\u529f\u80fd\u6765\u53d1\u51fa\u7ed1\u5b9a\u903b\u8f91 \u2013<\/p>\n<p>https:\/\/github.com\/dotnet\/runtime\/pull\/90835\u3002<\/p>\n<p>\u5728\u975e Web SDK \u573a\u666f\u4e2d\uff08\u5373\u9700\u8981 <span style=\"color: #ff0000;\">Microsoft.Extensions.Configuration.Binder<\/span> \u5305\u5f15\u7528\u8fdb\u884c\u7ed1\u5b9a\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f8b\u5982\u63a7\u5236\u53f0\u5e94\u7528\u7a0b\u5e8f\uff09\uff0c\u73b0\u5728\u9700\u8981\u4ee5\u4e0b\u9644\u52a0\u7684 MSBuild \u5c5e\u6027\u6765\u542f\u7528\u751f\u6210\u5668\uff1a<\/p>\n<pre class=\"prettyprint language-default\"><code class=\"language-default\">&lt;PropertyGroup&gt;\r\n  &lt;EnableConfigurationBindingGenerator&gt;true&lt;\/EnableConfigurationBindingGenerator&gt;\r\n+ &lt;Features&gt;$(Features);InterceptorsPreview&lt;\/Features&gt;\r\n&lt;\/PropertyGroup&gt;<\/code><\/pre>\n<p>\u8fd9\u662f\u6682\u65f6\u7684\u3002\u5728 RC-2 \u4e2d\uff0c\u542f\u7528\u751f\u6210\u5668\u5c06\u6539\u56de\u4ec5\u9700\u8981\u4e00\u4e2a\u624b\u52bf\u5c31\u53ef\u4ee5\u8fdb\u884c\u5207\u6362\u3002\u7f16\u8bd1\u5668\u63a5\u6536\u5668\u529f\u80fd\u5c06\u4ee5\u53ef\u9760\u7684\u65b9\u5f0f\u9690\u5f0f\u542f\u7528\u3002<\/p>\n<pre class=\"prettyprint language-default\"><code class=\"language-default\">&lt;PropertyGroup&gt;\r\n  &lt;EnableConfigurationBindingGenerator&gt;true&lt;\/EnableConfigurationBindingGenerator&gt;\r\n- &lt;Features&gt;$(Features);InterceptorsPreview&lt;\/Features&gt;\r\n&lt;\/PropertyGroup&gt;<\/code><\/pre>\n<h4><strong>\u5bb9\u5668\u5207\u6362\u5230\u975e\u9884\u89c8\u6807\u7b7e\u6a21\u5f0f<\/strong><\/h4>\n<p>\u95ee\u9898\uff1ahttps:\/\/github.com\/dotnet\/dotnet-docker\/issues\/4772<\/p>\n<p>PR\uff1ahttps:\/\/github.com\/dotnet\/dotnet-docker\/pull\/4817<\/p>\n<p>\u4e3a\u4e86\u51c6\u5907 .NET 8 \u7684 \u6b63\u5f0f \u7248\u672c\uff0c.NET \u5bb9\u5668\u6620\u50cf\u5df2\u5207\u6362\u5230 RC 1 \u7684\u65b0\u6807\u7b7e\u6a21\u5f0f\uff0c\u5e76\u4ece\u6807\u7b7e\u540d\u79f0\u4e2d\u5220\u9664\u201cpreview\u201d\u3002<\/p>\n<p>\u5728\u4e4b\u524d\u7684 .NET 8 \u7684\u9884\u89c8\u7248\u672c\u4e2d\uff0c\u6d6e\u52a8\u6807\u7b7e\u4ee5 <span style=\"color: #ff0000;\">8.0-preview<\/span> \u548c <span style=\"color: #ff0000;\">8.0-preview-&lt;OS&gt;<\/span> \u7684\u540d\u79f0\u53d1\u5e03\u3002 \u4ece RC 1 \u7248\u672c\u5f00\u59cb\uff0c\u8fd9\u4e9b\u5c06\u4e0d\u518d\u88ab\u7ef4\u62a4\u3002 \u76f8\u53cd\uff0c\u60a8\u5e94\u8be5\u5c06\u6807\u7b7e\u5f15\u7528\u8fc1\u79fb\u5230<span style=\"color: #ff0000;\"> 8.0<\/span> \u6216 <span style=\"color: #ff0000;\">8.0-&lt;OS&gt;<\/span>\u3002 \u8fdb\u884c\u6b64\u66f4\u6539\u5c06\u5141\u8bb8\u5728 .NET 8 \u6b63\u5f0f \u7248\u672c\u4e0a\u5b9e\u73b0\u65e0\u7f1d\u8fc7\u6e21\uff0c\u56e0\u4e3a\u8fd9\u4e9b\u5c06\u6210\u4e3a\u5728 .NET 8 \u7684\u6574\u4e2a\u751f\u547d\u5468\u671f\u4e2d\u7ef4\u62a4\u7684\u6c38\u4e45\u6807\u7b7e\u3002<\/p>\n<h4><strong>\u5728\u975e<\/strong><strong> Windows <\/strong><strong>\u4e0a\u4f7f\u7528<\/strong><strong> Win32 <\/strong><strong>\u8d44\u6e90\u8de8\u5e73\u53f0\u6784\u5efa<\/strong><strong> Windows <\/strong><strong>\u5e94\u7528\u7a0b\u5e8f<\/strong><\/h4>\n<p>\u95ee\u9898\uff1ahttps:\/\/github.com\/dotnet\/runtime\/issues\/3828 PR:<\/p>\n<p>https:\/\/github.com\/dotnet\/runtime\/pull\/89303<\/p>\n<p>\u975e\u5e38\u611f\u8c22@anatawa12\u505a\u51fa\u7684\u7684\u5de8\u5927\u8d21\u732e\uff01<\/p>\n<p>\u5728\u975e Windows \u5e73\u53f0\u4e0a\u6784\u5efa\u9762\u5411 Windows \u7684\u5e94\u7528\u7a0b\u5e8f\u65f6\uff0c\u751f\u6210\u7684\u53ef\u6267\u884c\u6587\u4ef6\u73b0\u5728\u4f1a\u4f7f\u7528\u4efb\u4f55\u6307\u5b9a\u7684 Win32 \u8d44\u6e90\u8fdb\u884c\u66f4\u65b0\uff0c\u4f8b\u5982\u5e94\u7528\u7a0b\u5e8f\u56fe\u6807\u3001\u6e05\u5355\u3001\u7248\u672c\u4fe1\u606f\u3002<\/p>\n<p>\u5728\u4ee5\u524d\uff0c\u5e94\u7528\u7a0b\u5e8f\u5fc5\u987b\u5728 Windows \u4e0a\u6784\u5efa\u624d\u80fd\u62e5\u6709\u6b64\u7c7b\u8d44\u6e90\u3002\u4fee\u590d\u8de8\u5e73\u53f0\u652f\u6301\u4e00\u76f4\u662f\u4e00\u4e2a\u547c\u58f0\u5f88\u5927\u7684\u8bf7\u6c42\uff0c\u56e0\u4e3a\u5b83\u662f\u5f71\u54cd\u57fa\u7840\u8bbe\u65bd\u590d\u6742\u6027\u548c\u8d44\u6e90\u4f7f\u7528\u7684\u4e00\u4e2a\u91cd\u5927\u75db\u70b9\u3002<\/p>\n<p><strong>SDK<\/strong><strong>\uff1a<\/strong><strong>Container<\/strong><strong>\u53d1\u5e03\u73b0\u5728\u652f\u6301<\/strong> <strong>Azure Managed Identity<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/dotnet\/sdk-container-builds\/issues\/425\">\u4f7f\u7528Managed Identity\u65f6 Azure Container Registry\u8eab\u4efd\u9a8c\u8bc1\u5931\u8d25<\/a><\/li>\n<\/ul>\n<p>SDK Container\u53d1\u5e03\u529f\u80fd\u662f\u4e00\u79cd<a href=\"https:\/\/learn.microsoft.com\/en-us\/dotnet\/core\/docker\/publish-as-container?pivots=dotnet-7-0\">\u5c06 .NET \u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u5230\u5bb9\u5668\u4e2d<\/a>\u5e76\u5c06\u5176\u63a8\u9001\u5230\u5bb9\u5668\u6ce8\u518c\u8868\uff08\u4f8b\u5982 Docker Hub\u3001Azure Container Registry\u6216\u5176\u4ed6\u6d41\u884c\u6ce8\u518c\u8868\uff09\u7684\u7b80\u5355\u65b9\u6cd5\u3002 \u63a8\u9001\u5230\u8fd9\u4e9b\u8fdc\u7a0b\u6ce8\u518c\u8868\u901a\u5e38\u9700\u8981\u8eab\u4efd\u9a8c\u8bc1\uff0c\u8fd9\u901a\u5e38\u7531 docker login \u547d\u4ee4\u5904\u7406\u3002\u6709\u4e9b\u6ce8\u518c\u8868\uff08\u4f8b\u5982 Azure Container Registry\uff09\u4e0d\u4f7f\u7528\u6807\u51c6\u7528\u6237\u540d\/\u5bc6\u7801\u8bbe\u7f6e\uff0c\u800c\u662f\u4f9d\u8d56\u4e8e OAuth \u4ee4\u724c\u4ea4\u6362\u3002 SDK Container\u53d1\u5e03\u5de5\u5177\u4e0d\u77e5\u9053\u5982\u4f55\u5904\u7406\u6b64\u4ee4\u724c\u4ea4\u6362\uff0c\u6240\u4ee5\u5728 Azure Container Registry\u4e0a\u4f7f\u7528Managed Identity\uff08\u6216\u4f7f\u7528\u4efb\u4f55\u5176\u4ed6\u4f7f\u7528\u8eab\u4efd\u4ee4\u724c\u4ea4\u6362\u7684\u6ce8\u518c\u8868\uff09\u7684\u7528\u6237\u5728\u63a8\u9001\u5176\u5bb9\u5668\u65f6\u4f1a\u9047\u5230\u8eab\u4efd\u9a8c\u8bc1\u9519\u8bef\u3002 \u5728 .NET 8.0.100 RC1 \u4e2d\uff0c\u6211\u4eec\u5f88\u9ad8\u5174\u5730\u5ba3\u5e03\uff0c\u6211\u4eec\u73b0\u5728\u652f\u6301 OAuth \u4ee4\u724c\u4ea4\u6362\u8eab\u4efd\u9a8c\u8bc1\u65b9\u6cd5\uff0c\u56e0\u6b64 ACR \u548c\u4f7f\u7528\u5b83\u7684\u6240\u6709\u5176\u4ed6\u6ce8\u518c\u8868\u73b0\u5728\u90fd\u53ef\u4ee5\u6b63\u5e38\u5de5\u4f5c\u3002 \u5178\u578b\u7684\u53d1\u5e03\u6d41\u7a0b\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<pre class=\"prettyprint language-default\"><code class=\"language-default\">&gt; az acr login -n &lt;your registry name&gt;\r\n&gt; dotnet publish -r linux-x64 -p PublishProfile=DefaultContainer<\/code><\/pre>\n<p>\u6ca1\u6709\u6bd4\u8fd9\u66f4\u7b80\u5355\u7684\u4e86\uff01\u60a8\u53ef\u4ee5\u5728\u6211\u4eec\u7684<a href=\"https:\/\/github.com\/dotnet\/sdk-container-builds\/blob\/main\/docs\/RegistryAuthentication.md\">\u6587\u6863<\/a>\u4e2d\u4e86\u89e3\u6709\u5173\u6ce8\u518c\u8868\u8eab\u4efd\u9a8c\u8bc1\u7684\u66f4\u591a\u4fe1\u606f\uff0c\u5e76\u4e14\u8fd8\u53ef\u4ee5\u4e86\u89e3<a href=\"https:\/\/github.com\/dotnet\/sdk-container-builds\/blob\/main\/docs\/GettingStarted.md\">\u5982\u4f55\u5f00\u59cb\u5bb9\u5668\u5316\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f<\/a>\u3002<\/p>\n<h4><strong>WASM <\/strong><strong>\u4e0a\u7684<\/strong> <span style=\"color: #ff0000;\"><strong>WasmStripILAfterAOT<\/strong><\/span> <strong>\u6a21\u5f0f<\/strong><\/h4>\n<p>https:\/\/github.com\/dotnet\/runtime\/pull\/88926<\/p>\n<p>Blazor WebAssembly \u548c WASM Browser\u652f\u6301\u63d0\u524d (AOT) \u7f16\u8bd1\uff0c\u60a8\u53ef\u4ee5\u5c06 .NET \u4ee3\u7801\u76f4\u63a5\u7f16\u8bd1\u5230 WebAssembly \u4e2d\u3002AOT \u7f16\u8bd1\u4ee5\u66f4\u5927\u7684\u5e94\u7528\u7a0b\u5e8f\u4f53\u79ef\u4e3a\u4ee3\u4ef7\uff0c\u63d0\u9ad8\u4e86\u8fd0\u884c\u65f6\u6027\u80fd\u3002\u6839\u636e\u6211\u4eec\u5728\u4e0a\u8ff0 github \u95ee\u9898\u4e2d\u63d0\u5230\u7684\u6d4b\u8bd5\uff0c\u8fd9\u79cd\u65b0\u7684\u5265\u79bb\u6a21\u5f0f\u5c06 _framework \u6587\u4ef6\u5939\u7684\u5927\u5c0f\u51cf\u5c11\u4e86 1.7% \u2013 4.2%\u3002<\/p>\n<h5><strong>\u4f55\u65f6\u8003\u8651\u4f7f\u7528<\/strong><span style=\"color: #ff0000;\"><strong>WasmStripILAfterAOT<\/strong><\/span><strong>\uff1a<\/strong><\/h5>\n<p>\u6bcf\u5f53\u60a8\u542f\u7528 AOT \u7f16\u8bd1\u65f6\uff0c\u6b64\u529f\u80fd\u90fd\u662f\u7406\u60f3\u7684\u9009\u62e9\uff0c\u56e0\u6b64\u8bf7\u5728\u8f83\u5c0f\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5c1d\u8bd5\u4e00\u4e0b\uff01<\/p>\n<h5><strong>\u5982\u4f55\u4f7f\u7528<\/strong><span style=\"color: #ff0000;\"><strong>WasmStripILAfterAOT<\/strong><\/span><strong>:<\/strong><\/h5>\n<p>\u8bf7\u4e3a\u60a8\u7684Blazor WebAssembly\u6216WASM Browser\u5e94\u7528\u7a0b\u5e8f\u8bbe\u7f6e\u4ee5\u4e0bMsBuild\u5c5e\u6027\uff1a<\/p>\n<pre class=\"prettyprint language-default\"><code class=\"language-default\">&lt;PropertyGroup&gt;\r\n  &lt;RunAOTCompilation&gt;true&lt;\/RunAOTCompilation&gt;\r\n  &lt;WasmStripILAfterAOT&gt;true&lt;\/WasmStripILAfterAOT&gt;\r\n&lt;\/PropertyGroup&gt;<\/code><\/pre>\n<p>\u5b83\u5c06\u5220\u9664\u5927\u591a\u6570\u5df2\u7f16\u8bd1\u65b9\u6cd5\u7684 IL \u4ee3\u7801\uff0c\u5305\u62ec\u5e93\u4e2d\u7684\u65b9\u6cd5\u548c\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u4eba\u5458\u7f16\u5199\u7684\u65b9\u6cd5\u3002<\/p>\n<h5><strong>\u9650\u5236<\/strong><\/h5>\n<p>\u5e76\u975e\u6240\u6709\u7f16\u8bd1\u65b9\u6cd5\u90fd\u662f\u53ef\u4fee\u526a\u7684\u3002\u5728\u8fd0\u884c\u65f6\uff0c\u6709\u5f88\u591a\u573a\u666f\u6211\u4eec\u5fc5\u987b\u4ece AOT \u5207\u6362\u5230\u89e3\u91ca\u5668\u624d\u80fd\u4ea7\u751f\u6b63\u786e\u7684\u7ed3\u679c\u3002\u5c3d\u7ba1\u5982\u6b64\uff0c\u6211\u4eec\u5c06\u4f1a\u7ee7\u7eed\u52aa\u529b\u5728\u5373\u5c06\u53d1\u5e03\u7684 .NET9 \u7248\u672c\u4e2d\u7f29\u5c0f\u8fd9\u4e2a\u5dee\u8ddd\u3002<\/p>\n<h5><strong>\u6700\u540e\u8bf4\u660e<\/strong><\/h5>\n<p>\u6211\u4eec\u8bda\u9080\u5927\u5bb6\u5c1d\u8bd5\u8fd9\u9879\u65b0\u529f\u80fd\uff0c\u5e76\u63d0\u4ea4\u4efb\u4f55\u53d1\u73b0\u7684\u95ee\u9898\uff0c\u4ee5\u5e2e\u52a9\u6211\u4eec\u8fdb\u4e00\u6b65\u6539\u5584\u7528\u6237\u4f53\u9a8c\u3002\u95ee\u9898\u53ef\u4ee5\u76f4\u63a5\u63d0\u4ea4\u5230<a href=\"https:\/\/github.com\/dotnet\/runtime\">dotnet\/runtime \u5b58\u50a8\u5e93<\/a>\u3002<\/p>\n<h4><strong>RDP <\/strong><strong>\u4e2d\u7684<\/strong><strong> WPF <\/strong><strong>\u786c\u4ef6\u52a0\u901f<\/strong><\/h4>\n<p>https:\/\/github.com\/dotnet\/wpf\/pull\/7684<\/p>\n<p>\u5728\u8fc7\u53bb\uff0c\u6240\u6709\u8fdc\u7a0b\u8bbf\u95ee\u7684WPF\u5e94\u7528\u7a0b\u5e8f\u90fd\u5fc5\u987b\u4f7f\u7528\u8f6f\u4ef6\u6e32\u67d3\uff0c\u5373\u4f7f\u7cfb\u7edf\u5177\u6709\u786c\u4ef6\u6e32\u67d3\u529f\u80fd\u3002\u6211\u4eec\u6dfb\u52a0\u4e86\u4e00\u4e2a\u65b0\u9009\u9879\uff0c\u5141\u8bb8\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u4eba\u5458\u80fd\u591f\u5229\u7528 AppContext \u5f00\u5173\u9009\u62e9\u52a0\u5165 RDP \u786c\u4ef6\u52a0\u901f\u3002<\/p>\n<p>\u786c\u4ef6\u52a0\u901f\u662f\u6307\u4f7f\u7528\u8ba1\u7b97\u673a\u7684\u56fe\u5f62\u5904\u7406\u5355\u5143\uff08GPU\uff09\u6765\u52a0\u901f\u5e94\u7528\u7a0b\u5e8f\u4e2d\u56fe\u5f62\u548c\u89c6\u89c9\u6548\u679c\u7684\u6e32\u67d3\u3002\u8fd9\u53ef\u4ee5\u63d0\u9ad8\u6027\u80fd\u5e76\u63d0\u4f9b\u66f4\u65e0\u7f1d\u3001\u54cd\u5e94\u66f4\u5feb\u7684\u56fe\u5f62\u3002\u76f8\u6bd4\u4e4b\u4e0b\uff0c\u8f6f\u4ef6\u6e32\u67d3\u4ec5\u4f9d\u9760\u8ba1\u7b97\u673a\u7684\u4e2d\u592e\u5904\u7406\u5355\u5143 (CPU) \u6765\u6e32\u67d3\u56fe\u5f62\uff0c\u901f\u5ea6\u8f83\u6162\u4e14\u6548\u7387\u8f83\u4f4e\u3002<\/p>\n<h5><strong>\u5982\u4f55\u5728<\/strong><strong> RDP <\/strong><strong>\u4e2d\u4e3a<\/strong><strong> WPF <\/strong><strong>\u5e94\u7528\u7a0b\u5e8f\u542f\u7528\u786c\u4ef6\u52a0\u901f\uff1f<\/strong><\/h5>\n<p>\u6211\u4eec\u63d0\u4f9b\u5728 RDP \u4e2d\u542f\u7528\u786c\u4ef6\u52a0\u901f\u7684\u4e24\u79cd\u65b9\u6cd5\uff1a<\/p>\n<ol>\n<li>\u901a\u8fc7\u5728*.csproj\u6587\u4ef6\u4e2d\u6dfb\u52a0<span style=\"color: #ff0000;\">RuntimeHostConfigurationOption<\/span>\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/li>\n<\/ol>\n<pre class=\"prettyprint language-default\"><code class=\"language-default\">&lt;ItemGroup&gt;\r\n      &lt;RuntimeHostConfigurationOption Include=\"Switch.System.Windows.Media.EnableHardwareAccelerationInRdp\" Value=\"true\" \/&gt;\r\n&lt;\/ItemGroup&gt;<\/code><\/pre>\n<ol start=\"2\">\n<li>\u901a\u8fc7\u5728<span style=\"color: #ff0000;\">*.runtimeconfig.json<\/span>\u6587\u4ef6\u4e2d\u6dfb\u52a0<span style=\"color: #ff0000;\">configProperty<\/span>\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/li>\n<\/ol>\n<p>&#8220;configProperties&#8221;: {\u00a0\u00a0\u00a0\u00a0\u00a0 &#8220;Switch.System.Windows.Media.EnableHardwareAccelerationInRdp&#8221;: true\u00a0\u00a0\u00a0 }<\/p>\n<h5><strong>\u6700\u540e\u8bf4\u660e<\/strong><\/h5>\n<p>\u6211\u4eec\u8bda\u9080\u5927\u5bb6\u5c1d\u8bd5\u8fd9\u9879\u65b0\u529f\u80fd\uff0c\u5e76\u63d0\u4ea4\u53d1\u73b0\u7684\u4efb\u4f55\u95ee\u9898\uff0c\u4ee5\u5e2e\u52a9\u6211\u4eec\u8fdb\u4e00\u6b65\u6539\u5584\u7528\u6237\u4f53\u9a8c\u3002\u95ee\u9898\u53ef\u4ee5\u76f4\u63a5\u63d0\u4ea4\u5230<a href=\"https:\/\/github.com\/dotnet\/wpf\">dotnet\/wpf \u5b58\u50a8\u5e93<\/a>\u3002<\/p>\n<h4><strong>\u793e\u533a\u8d21\u732e\u8005<\/strong><\/h4>\n<p>\u672c\u6708\u7684\u793e\u533a\u8d21\u732e\u8005\u662f Jakub Majocha\u3002\u4ee5\u4e0b\u662f\u4ed6\u81ea\u5df1\u7684\u8bdd\uff1a<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/dotnet-ch\/wp-content\/uploads\/sites\/75\/2023\/10\/community-spotlight.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-485\" src=\"https:\/\/devblogs.microsoft.com\/dotnet-ch\/wp-content\/uploads\/sites\/75\/2023\/10\/community-spotlight.png\" alt=\"Image community spotlight\" width=\"284\" height=\"284\" srcset=\"https:\/\/devblogs.microsoft.com\/dotnet-ch\/wp-content\/uploads\/sites\/75\/2023\/10\/community-spotlight.png 284w, https:\/\/devblogs.microsoft.com\/dotnet-ch\/wp-content\/uploads\/sites\/75\/2023\/10\/community-spotlight-150x150.png 150w, https:\/\/devblogs.microsoft.com\/dotnet-ch\/wp-content\/uploads\/sites\/75\/2023\/10\/community-spotlight-24x24.png 24w, https:\/\/devblogs.microsoft.com\/dotnet-ch\/wp-content\/uploads\/sites\/75\/2023\/10\/community-spotlight-48x48.png 48w, https:\/\/devblogs.microsoft.com\/dotnet-ch\/wp-content\/uploads\/sites\/75\/2023\/10\/community-spotlight-96x96.png 96w\" sizes=\"(max-width: 284px) 100vw, 284px\" \/><\/a><\/p>\n<p>\u6211\u662fJakub Majocha\u3002\u6211\u4f4f\u5728\u6ce2\u5170\u514b\u62c9\u79d1\u592b\uff0c\u5728\u90a3\u91cc\u6211\u4ece\u4e8b\u4e0e\u8f6f\u4ef6\u65e0\u5173\u7684\u5de5\u4f5c\u3002\u6211\u5bf9\u8ba1\u7b97\u673a\u7f16\u7a0b\u6709\u7740\u6301\u4e45\u7684\u5174\u8da3\uff0c\u4f46\u6211\u7684\u7ecf\u9a8c\u4ec5\u9650\u4e8e\u5c0f\u578b\u4e00\u6b21\u6027\u811a\u672c\u3001\u4e00\u4e9b\u4f9b\u5185\u90e8\u4f7f\u7528\u548c\u89e3\u51b3\u7f16\u7a0b\u96be\u9898\u7684\u5de5\u5177\uff0c\u4f8b\u5982 Advent Of Code\u3002\u6211\u559c\u6b22\u6446\u5f04\u4ee3\u7801\uff0c\u5e76\u4e14\u6211\u53d1\u73b0 F# \u975e\u5e38\u9002\u5408\u8fd9\u6837\u505a\u3002<\/p>\n<p>\u4e8b\u5b9e\u4e0a\uff0c\u6211\u53ef\u4ee5\u52a0\u5165\u5e76\u4e3a F# \u505a\u51fa\u8d21\u732e\uff0c\u8fd9\u8868\u660e\u793e\u533a\u662f\u591a\u4e48\u5305\u5bb9\u3002\u8fd9\u4e5f\u5f52\u529f\u4e8e\u8bed\u8a00\u672c\u8eab\u3002F# \u51ed\u501f\u5176\u7c7b\u578b\u63a8\u65ad\u3001\u7b80\u6d01\u7684\u8bed\u6cd5\u548c\u7b80\u5355\u7684\u4eea\u5f0f\uff0c\u5141\u8bb8\u5feb\u901f\u5b9e\u9a8c\u3001\u91cd\u6784\u548c\u5c1d\u8bd5\u3002\u5bf9\u6211\u6765\u8bf4\u8fd9\u53ea\u662f\u6709\u8da3\u548c\u653e\u677e\u7684\u4e8b\u60c5\u3002<\/p>\n<h4><strong>\u603b\u7ed3<\/strong><\/h4>\n<p>\u968f\u7740 11 \u6708\u4efd\u6700\u7ec8\u7248\u672c\u7684\u4e34\u8fd1\uff0c\u6211\u4eec\u7684\u56e2\u961f\u5df2\u7ecf\u8f6c\u5411\u8d28\u91cf\u548c\u5b8c\u5584\u5de5\u4f5c\u3002\u73b0\u5728\u662f\u62a5\u544a\u60a8\u5728 RC1 \u548c\u65e9\u671f\u7248\u672c\u4e2d\u53d1\u73b0\u7684\u4efb\u4f55\u95ee\u9898\u7684\u597d\u65f6\u673a\u3002\u6211\u4eec\u4e5f\u5f88\u60f3\u542c\u542c\u60a8\u5bf9\u4f7f\u7528\u8fd9\u4e9b\u529f\u80fd\u7684\u53cd\u9988\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u7bc7\u7ffb\u8bd1\u4e8eLeslie Richardson\u7684\u6587\u7ae0 Announcing .NET 8 RC1\u3002 .NET 8 RC1 \u73b0\u5df2\u63a8\u51fa\u3002\u8fd9\u662f\u6211\u4eec\u4e24\u4e2a\u5019\u9009\u7248\u672c\u4e2d\u7684\u7b2c\u4e00\u4e2a\u3002\u6b64\u7248\u672c\u5305\u62ec\u9002\u7528\u4e8e Android \u548c WASM \u7684\u65b0 AOT \u6a21\u5f0f\u3001System.Text.Json \u6539\u8fdb\u4ee5\u53ca\u5bf9\u5bb9\u5668\u7684 Azure Managed Identity\u652f\u6301\u3002\u5982\u679c\u60a8\u8fd8\u6ca1\u6709\u5f00\u59cb\u5b66\u4e60\u548c\u6d4b\u8bd5 .NET 8\uff0c\u90a3\u4e48\u73b0\u5728\u6b63\u662f\u597d\u65f6\u673a\u3002 .NET Conf 2023\u7684\u65e5\u671f\u5df2\u516c\u5e03\uff01\u8bf7\u52a0\u5165\u6211\u4eec\uff0c\u4e00\u8d77\u5e86\u795d2023 \u5e74 11 \u6708 14 \u65e5\u81f3 16 \u65e5\u4e3e\u884c\u7684 .NET 8 \u53d1\u5e03\u4f1a\uff01 \u8bf7\u4e0b\u8f7d\u9002\u7528\u4e8e Linux\u3001macOS \u548c Windows \u7684.NET 8 RC1 \u3002 \u5b89\u88c5\u7a0b\u5e8f\u548c\u4e8c\u8fdb\u5236\u6587\u4ef6 \u5bb9\u5668\u955c\u50cf \u53d1\u884c\u8bf4\u660e \u91cd\u5927\u66f4\u6539 \u5df2\u77e5\u7684\u95ee\u9898 GitHub \u95ee\u9898\u8ddf\u8e2a\u5668 \u60a8\u8fd8\u53ef\u4ee5\u67e5\u770b\u51e0\u7bc7\u4ee4\u4eba\u5174\u594b\u7684\u5e16\u5b50\uff1a .NET 8 RC1 \u4e2d\u7684NET [&hellip;]<\/p>\n","protected":false},"author":99475,"featured_media":488,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[2,23],"class_list":["post-484","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dotnet-ch","tag-net","tag-net-core"],"acf":[],"blog_post_summary":"<p>\u672c\u7bc7\u7ffb\u8bd1\u4e8eLeslie Richardson\u7684\u6587\u7ae0 Announcing .NET 8 RC1\u3002 .NET 8 RC1 \u73b0\u5df2\u63a8\u51fa\u3002\u8fd9\u662f\u6211\u4eec\u4e24\u4e2a\u5019\u9009\u7248\u672c\u4e2d\u7684\u7b2c\u4e00\u4e2a\u3002\u6b64\u7248\u672c\u5305\u62ec\u9002\u7528\u4e8e Android \u548c WASM \u7684\u65b0 AOT \u6a21\u5f0f\u3001System.Text.Json \u6539\u8fdb\u4ee5\u53ca\u5bf9\u5bb9\u5668\u7684 Azure Managed Identity\u652f\u6301\u3002\u5982\u679c\u60a8\u8fd8\u6ca1\u6709\u5f00\u59cb\u5b66\u4e60\u548c\u6d4b\u8bd5 .NET 8\uff0c\u90a3\u4e48\u73b0\u5728\u6b63\u662f\u597d\u65f6\u673a\u3002 .NET Conf 2023\u7684\u65e5\u671f\u5df2\u516c\u5e03\uff01\u8bf7\u52a0\u5165\u6211\u4eec\uff0c\u4e00\u8d77\u5e86\u795d2023 \u5e74 11 \u6708 14 \u65e5\u81f3 16 \u65e5\u4e3e\u884c\u7684 .NET 8 \u53d1\u5e03\u4f1a\uff01 \u8bf7\u4e0b\u8f7d\u9002\u7528\u4e8e Linux\u3001macOS \u548c Windows \u7684.NET 8 RC1 \u3002 \u5b89\u88c5\u7a0b\u5e8f\u548c\u4e8c\u8fdb\u5236\u6587\u4ef6 \u5bb9\u5668\u955c\u50cf \u53d1\u884c\u8bf4\u660e \u91cd\u5927\u66f4\u6539 \u5df2\u77e5\u7684\u95ee\u9898 GitHub \u95ee\u9898\u8ddf\u8e2a\u5668 \u60a8\u8fd8\u53ef\u4ee5\u67e5\u770b\u51e0\u7bc7\u4ee4\u4eba\u5174\u594b\u7684\u5e16\u5b50\uff1a .NET 8 RC1 \u4e2d\u7684NET [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet-ch\/wp-json\/wp\/v2\/posts\/484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet-ch\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet-ch\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet-ch\/wp-json\/wp\/v2\/users\/99475"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet-ch\/wp-json\/wp\/v2\/comments?post=484"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet-ch\/wp-json\/wp\/v2\/posts\/484\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet-ch\/wp-json\/wp\/v2\/media\/488"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet-ch\/wp-json\/wp\/v2\/media?parent=484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet-ch\/wp-json\/wp\/v2\/categories?post=484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet-ch\/wp-json\/wp\/v2\/tags?post=484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}