|
| 1 | +--- |
| 2 | +Title: "2024-10-11: .NET 9 Release Candidate 2, .NET 6.0.35 & 8.0.10, Microsoft.Extensions.AI Preview" |
| 3 | +Published: 2024/10/11 00:00 |
| 4 | +DestinationPath: 2024/10/11/updates.html |
| 5 | +--- |
| 6 | +<!-- |
| 7 | +# yyyy-MM-dd |
| 8 | +## 主なトピックス |
| 9 | +## ヘッドライン |
| 10 | +## アーティクル、スライドなど |
| 11 | +## ライブラリ、リポジトリ、ツールなど |
| 12 | +## サイト、ドキュメントなど |
| 13 | +### ツイート |
| 14 | +## Deep Dive |
| 15 | +--> |
| 16 | + |
| 17 | +## トピックス |
| 18 | + |
| 19 | +### .NET 9 Release Candidate 2 is now available! - .NET Blog |
| 20 | +https://devblogs.microsoft.com/dotnet/dotnet-9-rc-2/ |
| 21 | + |
| 22 | +.NET 9 Release Candidate 2 がリリースされた。 |
| 23 | + |
| 24 | +このリリースでは正式リリースに向けたバグ修正を中心とした品質の向上が行われている。 |
| 25 | + |
| 26 | +### .NET and .NET Framework October 2024 servicing releases updates - .NET Blog |
| 27 | +https://devblogs.microsoft.com/dotnet/dotnet-and-dotnet-framework-october-2024-servicing-updates/ |
| 28 | + |
| 29 | +2024年10月の .NET および .NET Framework のアップデート。.NET 6.0.35, .8.0.10, .NET Framework がリリースされている。 |
| 30 | + |
| 31 | +このリリースではいくつかの不具合の修正や改善とセキュリティー修正が含まれている。 |
| 32 | + |
| 33 | +- [CVE-2024-38229](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-38229): リモートコード実行の脆弱性 (.NET 8, 9) |
| 34 | + - [Microsoft Security Advisory CVE-2024-38229 | .NET Remote Code Execution Vulnerability · Issue #326 · dotnet/announcements](https://github.com/dotnet/announcements/issues/326) |
| 35 | + - ASP.NET の HTTP/3 処理における Use-After-Free |
| 36 | +- [CVE-2024-43483](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-43483): サービス拒否の脆弱性 (.NET 6, 8, 9, .NET Framework) |
| 37 | + - [Microsoft Security Advisory CVE-2024-43483 | .NET Denial of Service Vulnerability · Issue #327 · dotnet/announcements](https://github.com/dotnet/announcements/issues/327) |
| 38 | + - System.Security.Cryptography.Cose、System.IO.Packaging、System.Runtime.Caching のハッシュフラッディング |
| 39 | +- [CVE-2024-43484](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-43484): サービス拒否の脆弱性 (.NET 6, 8, 9, .NET Framework) |
| 40 | + - [Microsoft Security Advisory CVE-2024-43484 | .NET Denial of Service Vulnerability · Issue #328 · dotnet/announcements](https://github.com/dotnet/announcements/issues/328) |
| 41 | + - System.IO.Packaging への信頼されない入力による複雑な処理でのサービス拒否 |
| 42 | +- [CVE-2024-43485](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-43485): サービス拒否の脆弱性 (.NET 6, 8, 9) |
| 43 | + - [Microsoft Security Advisory CVE-2024-43485 | .NET Denial of Service Vulnerability · Issue #329 · dotnet/announcements](https://github.com/dotnet/announcements/issues/329) |
| 44 | + - System.Text.Json の `[ExtensionData]` プロパティの信頼されない入力のデシリアライズによるサービス拒否 |
| 45 | + |
| 46 | +### Introducing Microsoft.Extensions.AI Preview - Unified AI Building Blocks for .NET - .NET Blog |
| 47 | +https://devblogs.microsoft.com/dotnet/introducing-microsoft-extensions-ai-preview/ |
| 48 | + |
| 49 | +Microsoft.Extensions.AI がプレビューリリースされた。 |
| 50 | + |
| 51 | +Microsoft.Extensions.AI は SLM/LLM、Embedding といった AI サービスの抽象化レイヤーとなるものとのこと。プレビューリリースでは OpenAI、Azure AI Inference、Ollama への参照実装が含まれる。記事ではライブラリーのインストールや使用方法についても解説している。 |
| 52 | + |
| 53 | +### Engineering the Scalable Vector Extension in .NET - .NET Blog |
| 54 | +https://devblogs.microsoft.com/dotnet/engineering-sve-in-dotnet/#4.-beyond-code-generation |
| 55 | + |
| 56 | +.NET 9 で実験的に追加された Arm64 における SVE (Scalable Vector Extension) のサポートについて。 |
| 57 | + |
| 58 | +記事では API の紹介や実際のコード生成、API 実装時のテストについて、Native AOT でのサポート状況、制限事項といった点について解説している。 |
| 59 | + |
| 60 | +### Release Windows App SDK 1.5.7 (1.5.241001000) · microsoft/WindowsAppSDK |
| 61 | +https://github.com/microsoft/WindowsAppSDK/releases/tag/v1.5.7 |
| 62 | + |
| 63 | +Windows App SDK 1.5.7 がリリースされた。 |
| 64 | + |
| 65 | +このリリースではいくつかの不具合の修正が含まれている。 |
| 66 | + |
| 67 | +## アーティクル、スライドなど |
| 68 | +### Easier localization with the new resource (.resx) manager - Visual Studio Blog |
| 69 | +https://devblogs.microsoft.com/visualstudio/easier-localization-with-the-new-resource-resx-manager/ |
| 70 | + |
| 71 | +Visual Studio の新しくなったリソースエクスプローラーの紹介。 |
| 72 | + |
| 73 | +記事では複数のファイルの読み込みや検索とフィルタリング、翻訳のコメント、テキスト中のプレースホルダーのチェック、アクセシビリティーと設定といった点について解説している。 |
| 74 | + |
| 75 | +### The Draco Blog - Happy second birthday Draco compiler! |
| 76 | +https://draco-lang.org/blog/birthday02 |
| 77 | + |
| 78 | +独自の .NET 向けプログラミング言語 Draco のコンパイラーの開発2周年の振り返り。 |
| 79 | + |
| 80 | +### Cancellation, Part 6: Linking |
| 81 | +https://blog.stephencleary.com/2024/10/cancellation-6-linking.html |
| 82 | + |
| 83 | +CreateLinkedTokenSource による複数の CancellationToken をリンクした CancellationTokenSource の作り方と使い方、落とし穴についての解説。 |
| 84 | + |
| 85 | +### SIMD並列化ライブラリSmartVectorDotNet開発の知見まとめ(4) C#と.Netの最適化 |
| 86 | +https://zenn.dev/aka_nse/articles/e8a72ba241ac5b |
| 87 | + |
| 88 | +SmartVectorDotNet ライブラリーを実装する上で利用された最適化手法についての解説。 |
| 89 | + |
| 90 | +記事ではジェネリクスの実行時最適化について解説している。 |
| 91 | + |
| 92 | +### C#/.NET - nuget.org につながらない環境でもビルドできるようにする方法 |
| 93 | +https://zenn.dev/j_sakamoto/articles/97f183b180ebed |
| 94 | + |
| 95 | +インターネットに接続されていないような nuget.org に到達できない環境で NuGet パッケージをインストールする方法について。 |
| 96 | + |
| 97 | +記事ではキャッシュからのインストールやローカルパッケージソースを使用した方法などについて解説している。 |
| 98 | + |
| 99 | +### [C#] リフレクションでなるべく高速にクラスメンバを取得 - Qiita |
| 100 | +https://qiita.com/radian-jp/items/97a1eaf3cec02d722fd4 |
| 101 | + |
| 102 | +リフレクションによるプロパティーやフィールドの値の読み出しの速度の比較について。 |
| 103 | + |
| 104 | +記事では .NET Framework 4.8.1 と .NET 8 での計測を行っている。 |
| 105 | + |
| 106 | +### C#でDPAPIを使用して機密データを安全に暗号化する方法 |
| 107 | +https://zenn.dev/nuits_jp/articles/2024-10-05-encrypt-sensitive-data-csharp-dpapi |
| 108 | + |
| 109 | +Windows の DPAPI を使用してデータを暗号化する方法について。 |
| 110 | + |
| 111 | +### Octokit.NETを利用し、デバイスフロー認証を使用して、任意のリポジトリに直接ファイルを追加する |
| 112 | +https://zenn.dev/nuits_jp/articles/2024-10-05-octokit-device-flow-auth |
| 113 | + |
| 114 | +Octokit を使用してデバイスフローによる認証を行ったうえでリポジトリにファイルを追加する手順について。 |
| 115 | + |
| 116 | +### Support for SLNX Solution Files | The .NET Tools Blog |
| 117 | +https://blog.jetbrains.com/dotnet/2024/10/04/support-for-slnx-solution-files/ |
| 118 | + |
| 119 | +Rider 2024.3 EAP で新しいソリューション形式の .slnx (プレビュー) がサポートされたことについて。 |
| 120 | + |
| 121 | +記事では .slnx での保存方法や制限事項について説明している。 |
| 122 | + |
| 123 | +### New Function Calling Available in .NET for Semantic Kernel | Semantic Kernel |
| 124 | +https://devblogs.microsoft.com/semantic-kernel/new-function-calling-model-available-in-net-for-semantic-kernel/ |
| 125 | + |
| 126 | +Semantic Kernel v1.20 で対応された新しい function calling についての紹介。 |
| 127 | + |
| 128 | +### Authentication on .NET: OpenID Connect, BFF, SPA - DZone |
| 129 | +https://dzone.com/articles/modern-authentication-on-dotnet |
| 130 | + |
| 131 | +BFF パターンを用いた OpenID Connect によるシングルページアプリケーションでの認証の実装について。 |
| 132 | + |
| 133 | +### Building a Real-Time Stock Price Tracker with .NET 8 GraphQL and React: Market Pulse |
| 134 | +https://www.codeproject.com/Articles/5387952/Building-a-Real-Time-Stock-Price-Tracker-with-NET |
| 135 | + |
| 136 | +ASP.NET Core サーバーと React によるフロントエンドを GraphQL で接続してリアルタイムに株価を表示するアプリケーションを実装例の解説。 |
| 137 | + |
| 138 | +### 【C#】record (class)・record struct・readonly record structがどういう実装になるのかSharpLabでデコンパイルして覗いてみる - はなちるのマイノート |
| 139 | +https://www.hanachiru-blog.com/entry/2024/09/30/120000 |
| 140 | + |
| 141 | +レコード型、値型レコード型、読み取り専用の値型レコード型がどのような実装となっているか SharpLab でデコンパイルした結果を確認している。 |
| 142 | + |
| 143 | +### SponsorLink v2: A New Hope |
| 144 | +https://www.cazzulino.com/sponsorlink2.html |
| 145 | + |
| 146 | +## ライブラリ、リポジトリ、ツールなど |
| 147 | +### altmann/FluentResults: A generalised Result object implementation for .NET/C# |
| 148 | +https://github.com/altmann/FluentResults |
| 149 | + |
| 150 | +成功/失敗を型で表す Result パターンを実装するためのライブラリー。 |
| 151 | + |
| 152 | +- [C#向けResultパターンライブラリ「FluentResult」Readme抄訳 - Qiita](https://qiita.com/sy_delphoxy/items/29d56623f198b0f0aafc) |
| 153 | + |
| 154 | +## サイト、ドキュメントなど |
| 155 | +### ツイート |
| 156 | + |
| 157 | +Visual Studio のコードエディターから GitHub または Azure DevOps のコードへのリンク (URL) をコピーできるようになるという話。 |
| 158 | + |
| 159 | +<!-- https://x.com/mkristensen/status/1844419458787619211?s=12 --> |
| 160 | +<blockquote class="twitter-tweet"><p lang="en" dir="ltr">You can get a GitHub or Azure DevOps link to a specific line of code to make it easy to share with your colleagues.<br><br>Coming soon to Visual Studio... <a href="https://t.co/mlh6v451Ap">pic.twitter.com/mlh6v451Ap</a></p>— Mads Kristensen (@mkristensen) <a href="https://twitter.com/mkristensen/status/1844419458787619211?ref_src=twsrc%5Etfw">October 10, 2024</a></blockquote> |
| 161 | +<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> |
| 162 | + |
| 163 | +IEnumerable ビジュアライザーで IntelliSense が使用できるようになるという話。 |
| 164 | + |
| 165 | +<!-- https://x.com/mkristensen/status/1844068358846808264?s=12 --> |
| 166 | +<blockquote class="twitter-tweet"><p lang="en" dir="ltr">The IEnumerable Visualizer has been enhanced with IntelliSense, providing real-time code suggestions and autocompletion, which makes writing LINQ expressions faster and more accurate. <br><br>Coming soon to Visual Studio... <a href="https://t.co/GAY456D6UG">pic.twitter.com/GAY456D6UG</a></p>— Mads Kristensen (@mkristensen) <a href="https://twitter.com/mkristensen/status/1844068358846808264?ref_src=twsrc%5Etfw">October 9, 2024</a></blockquote> |
| 167 | +<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> |
| 168 | + |
| 169 | + |
0 commit comments