トピックス
.NET Lambda Annotations Framework is now generally available | Amazon Web Services
https://aws.amazon.com/jp/blogs/developer/net-lambda-annotations-framework/
.NET Lambda Annotations Framework が一般提供開始となった。
.NET Lambda Annotations Framework は Source Generator をベースとした属性を設定することで AWS Lambda の関数を実装できるようにする仕組み。
Announcing the Appwrite .NET SDK (Beta) 🚀 · appwrite/appwrite · Discussion #5820
https://github.com/appwrite/appwrite/discussions/5820
Appwrite (セルフホスト可能な BaaS) の .NET SDK が Beta リリースされた。
NATS .NET Client v2 Alpha Released with Core NATS Support
https://nats.io/blog/nats-dotnet-v2-alpha-release/
NATS の .NET 向けクライアント v2 のアルファー版がリリースされた。
新しいバージョンは AlterNats をベースとしたものでモダンな .NET 機能を使用したハイパフォーマンスなライブラリーを目指すものとなっている。現バージョンでは Core NATS のサポートだけとなっているが、将来的には JetStream のサポートなども予定している。
The ReSharper and Rider 2023.1.4 Bug-fix Release Is Here! | The .NET Tools Blog
https://blog.jetbrains.com/dotnet/2023/07/18/rsrp-rd-2023-1-4-bugfix/
ReSharper と Rider 2023.1.4 がリリースされた。
このリリースではいくつかの不具合が修正されている。
Rider 2023.2 EAP 10 Is Out! | The .NET Tools Blog
https://blog.jetbrains.com/dotnet/2023/07/21/rider-2023-2-eap-10/
Rider 2023.2 EAP 10 がリリースされた。
このリリースでは AI アシスタントのプラグインへの分離、Unreal 向けのライブコーディングとホットリロードのサポートが追加された。
ReSharper 2023.2 EAP 10 Is Here! | The .NET Tools Blog
https://blog.jetbrains.com/dotnet/2023/07/21/resharper-2023-2-eap-10/
ReSharper 2023.2 EAP 10 がリリースされた。
このリリースでは AI アシスタントがアンバンドルされ、dotUltimate の別製品としてインストールする形となった。
アーティクル、スライドなど
Introducing a powerful new Extension Manager - Visual Studio Blog
https://devblogs.microsoft.com/visualstudio/introducing-a-powerful-new-extension-manager/
Visual Studio 17.7 Preview 3 の新しい拡張マネージャーの紹介。
Reverse Engineering Existing Databases with Entity Framework Core | The .NET Tools Blog
Entity Framework Core で既存のデータベースから定義を作る(スキャフォールディング)方法について。
Azure OpenAI に Function calling が来たので .NET SDK で動作確認してみた
https://zenn.dev/microsoft/articles/dotnet-sdk-openai-functioncalling
Azure.AI.OpenAI で Azure OpenAI Service の Function calling を試してみたことについて。
Response Compression in ASP.NET
https://dev.to/fabriziobagala/response-compression-in-aspnet-8ba
ASP.NET Core のレスポンス圧縮について。
有効化の設定方法のほか、カスタムな圧縮プロバイダーの実装についてなどについても触れている。
Semantic Kernel を使ってアプリ内に AI を組み込んでみた
https://zenn.dev/microsoft/articles/semantic-kernel-17
Web アプリケーションに Semantic Kernel を使用して AI を組み込むことについて。
.NET 8 Preview 6の新しいBlazorWebAppテンプレート
https://zenn.dev/tomokusaba/articles/0eb9cdbb616d10
.NET 8 Preview 6 での新しい Blazor Web アプリケーションのテンプレートの紹介。
EditorConfig, Code Style, and Configuring Code Inspections | The .NET Tools Blog
EditorConfig による Rider と ReSharper でのコードスタイルやコードインスペクションの紹介。
10x Performance with SIMD Vectorized Code in C#/.NET | xoofx
https://xoofx.com/blog/2023/07/09/10x-performance-with-simd-in-csharp-dotnet/
SIMD でパフォーマンスを最適化して10倍の速度を出す方法についての解説。
汎用 SIMD バージョンと CPU 固有の SIMD での最適化など。
Exploring the new minimal API source generator: Exploring the .NET 8 preview - Part 4
.NET 8 プレビューでの ASP.NET Core Minimal API での Source Generator 対応とその仕組みについての解説。
Too many tabs open? No problem! - Visual Studio Blog
https://devblogs.microsoft.com/visualstudio/too-many-tabs-open-no-problem/
Visual Studio で多くのタブを表示した際にスクロールできるようにする試みについて。
現在拡張機能として提供され、フィードバックを受け付けている。
-Scroll Tabs - Visual Studio Marketplace
(C#) ジェネリック型制約違いのオーバーロード - ネコのために鐘は鳴る
https://ikorin2.hatenablog.jp/entry/2023/07/18/145555
ジェネリック制約が異なるオーバーロードのメソッドを作るテクニックについて。
Controlling My AC Unit With nanoFramework
https://dev.to/mrcsharp/controlling-my-ac-unit-with-nanoframework-1a5k
nanoFramework と ESP32 でエアコンをコントロールする試み。
明日から使える ASP.NET Core ロギング術!
https://speakerdeck.com/nenonaninu/ming-ri-karashi-eru-asp-dot-net-core-rogingushu
ASP.NET Core のロギングについての解説。リクエストのトレースといったことについても紹介している。
ライブラリ、リポジトリ、ツールなど
microsoft/semantic-memory: Index and query any data using LLM and natural language.
https://github.com/microsoft/semantic-memory
Semantic Kernel と連携するカスタムデータパイプラインによるインデックスの作成とクエリーを行うライブラリー。
riok/mapperly: A .NET source generator for generating object mappings. No runtime reflection.
https://github.com/riok/mapperly
Source Generator ベースのオブジェクトのマッピング (データの移し替え) を行うライブラリー。
サイト、ドキュメントなど
ツイート
異なるプラットフォーム、OS 向けの NativeAOT を行えるようにする NuGet パッケージ。
PublishAotCross: NuGet package to help you cross-compile .NET Native AOT apps to different OSes/architectures. Works on .NET 8 Preview 6+ https://t.co/t7dya09n89
— Michal Strehovský (@MStrehovsky) July 18, 2023
Avalonia XPF (クロスプラットフォーム WPF 製品) の Private Preview の応募が開始。
Thrilled to announce we've rolled out the first trials of Avalonia XPF!
— Avalonia UI (@AvaloniaUI) July 18, 2023
Ready to take your WPF app to new platforms? Join the journey and apply for a trial today.
👉 https://t.co/B8Q6ELEe35 pic.twitter.com/qy6d3ki9u5
Visual Studio には固有のクリップボード履歴があるという話。
Did you know Visual Studio has it's own clipboard history (keyboard buffer ring) where you can get values you copied before in your code? All you gotta do is to hit CTRL + SHIFT + V#visualstudio #productivity pic.twitter.com/KU2gvvfux4
— Hassan Habib (@HassanRezkHabib) July 17, 2023
Deep Dive
Tentative C# 12 feature list · dotnet/roslyn · Discussion #69074
https://github.com/dotnet/roslyn/discussions/69074
現時点での暫定的な C# 12 の機能リスト。