2025-02-20: Chroma DB C# SDK

Published on Thursday, 20 February 2025

トピックス

Announcing Chroma DB C# SDK - .NET Blog

https://devblogs.microsoft.com/dotnet/announcing-chroma-db-csharp-sdk/

AI 向けのデータベースである Chroma のクライアント SDK がリリースされた (コミュニティーベース)。

リリース

アーティクル、スライドなど

Fluent UI Blazorのデータグリッドでデータの追加・削除・編集、まとめて操作を行う

https://qiita.com/spc_rtakei/items/a14e0cc13fa9c1dfddd1

Fluent UI Blazor の DataGrid で複数のデータを追加、削除、編集を行えるようにする方法について。

Introducing Code Referencing for GitHub Copilot Completions in Visual Studio - Visual Studio Blog

https://devblogs.microsoft.com/visualstudio/introducing-code-referencing-for-github-copilot-completions-in-visual-studio/

Visual Studio の GitHub Copilot で公開されているコードの参照に関する挙動についての説明と設定方法の紹介。

HttpClient でレジューム(再開)ダウンロード

https://zenn.dev/shinta0806/articles/resume-download

HttpClient で範囲リクエストによって、途中からダウンロードする方法について。

Azure.AI.OpenAI のクラスのモックを作りたい

https://zenn.dev/microsoft/articles/openai-dotnet-mock

Azure.AI.OpenAI の ChatClient などのクラスのモックを作る方法について。

Fluent UI Blazorを用いてExcelのようなフィルタリング機能・ソート機能を持つデータグリッドを作成する

https://qiita.com/spc_rtakei/items/62526d2ffe44d3b5165a

Fluent UI Blazor の DataGrid でフィルタリングやソート機能を実装する方法について。

C#定石 - レジストリ操作

https://qiita.com/chai0917/items/495ad9d7e0171fc59b4f

VisualStudio.Extensibility: Tagger support and updates to settings - Visual Studio Blog

https://devblogs.microsoft.com/visualstudio/visualstudio-extensibility-tagger-support-and-updates-to-settings/

Visual Studio 17.13 の VisualStudio.Extensibility の新機能について。

記事では tagger (テキストデコレーションを行うためのマーカー) サポートと設定 API による設定値の変更の監視について説明している。

Setting application environment variables in IIS without restarts

https://andrewlock.net/setting-environment-variables-in-iis-and-avoiding-app-pool-restarts/

IIS で稼働するアプリケーションの環境変数を設定する方法について。

記事では環境変数を設定する様々な方法の解説や、設定変更時にアプリケーションプールの再起動を避ける方法などについて触れている。

保護されたローカルストレージを使う (Blazor Server)

https://zenn.dev/tetr4lab/articles/abff9239c12028

Blazor でブラウザーのローカルストレージにデータを永続化する方法について。

Share authentication cookies between ASP.NET 4.x and ASP.NET Core

https://dev.to/roicp/share-authentication-cookies-between-aspnet-4x-and-aspnet-core-47gj

ASP.NET と ASP.NET Core のアプリケーション間で認証 Cookie を共有する方法について。

MemoryPack をもっと効率よく使う ~ IBufferWriter ・ ReadOnlySequence とは - 屋根裏工房改

https://andantesoft.hatenablog.com/entry/2025/02/14/183450

IBufferWriter についての解説とそれを実装の仕方、より効率的な実装方法について。

.NET 9からDebug.Assertが、アサーションの条件をデフォルトで表示してくれるようになった

https://qiita.com/RyotaMurohoshi/items/23515559598aa0fda7a1

.NET 9 の Debug.Assert でアサーションに失敗した際のメッセージに条件式を含めるようになったことと、その実装方法についての解説。

ASP.NET Core 2.3 で Razor Class Library を使う

https://zenn.dev/masakura/articles/a5dd568a30a265

ASP.NET Core 2.3 で Razor Class Library プロジェクトを使用する場合に発生する問題とその対処方法について。

Say Goodbye to WebDriver: Modern Alternatives for Browser Automation – Part 1

https://dev.to/serhii_korol_ab7776c50dba/say-goodbye-to-webdriver-modern-alternatives-for-browser-automation-part-1-4nna

WebDriver の代わりにChrome DevTools Protocol で Chrome をコントロールする方法について。

【C#】Incremental Source Generator入門

https://yn01.dev/blog/introduction-to-incremental-source-generator/

C# の Incremental Source Generator についての入門記事。

記事ではコードの生成方法をはじめ、エラーの生成や組み込みの IncrementalValuesProvider の使い方などについて解説している。

ライブラリ、リポジトリ、ツールなど

AntonBergaker/InterpolatedParser: Interpolated Strings but in reverse! A very cursed C# parser library.

https://github.com/AntonBergaker/InterpolatedParser

Interplated String をフォーマットとみなして文字列をパースするライブラリー。

hlaueriksson/GEmojiSharp: :octocat: GitHub Emoji for C#, ASP.NET Core and Blazor, dotnet tool for the terminal and PowerToys Run plugin

https://github.com/hlaueriksson/GEmojiSharp

GitHub スタイルの絵文字記法を処理するためのライブラリー