2022-07-22: Windows Community Toolkit Labs, Microsoft.UI.Xaml v2.8.0, Visual Studio 2022 17.3 Preview 4

Published on Friday, 22 July 2022

トピックス

Announcing the Windows Community Toolkit Labs!

https://devblogs.microsoft.com/ifdef-windows/announcing-the-windows-community-toolkit-labs/

Windows Community Toolkit の実験的なコンポーネントを開発する「ラボ」を発表した。

Windows Community Toolkit Labs は新しいアイデアや開発中、実験段階のコンポーネントのためのプロジェクト。成熟したコンポーネントは最終的に Windows Community Toolkit に取り込まれることとなる。

記事では Lab の目的、Lab に含まれているコンポーネントの紹介、アプリケーションでのパッケージ使用方法といった部分にも触れている。

また Uno Platform もサポートされ、現在ブラウザーで Lab のサンプルアプリケーションを実行可能となっている。

Release Microsoft.UI.Xaml v2.8.0 · microsoft/microsoft-ui-xaml

https://github.com/microsoft/microsoft-ui-xaml/releases/tag/v2.8.0

Microsoft.UI.Xaml (WinUI 2) 2.8.0 がリリースされた。

このリリースでは WebView2 が利用できるようになった他、サポートバージョンの変更、いくつかの不具合修正と改善が含まれている。

Visual Studio 2022 17.3 Preview 4 - Visual Studio 2022 Preview Release Notes

https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-preview#1730-pre40--visual-studio-2022-version-173-preview-4

Visual Studio 2022 17.3 Preview 4 がリリースされた。

.NET MAUI のサービスリリースが含まれるほか、ARM64 での Windows Forms のデザイナーの修正などいくつかの不具合が修正されている。

.NET 7 Preview 5 available on App Service - Azure App Service

https://azure.github.io/AppService/2022/07/18/dotnet7_preview5.html

Azure App Service で .NET 7 Preview 5 が App Service Early Access feature にて利用可能となった。

App Service 上で .NET 7 をターゲットにしている場合、今後アップデートがリリースされると自動で更新される。これは RC と GA となるまで続く。Self-contained なアプリケーションの場合は更新されない。

Announcing the .NET 7 support for Azure functions in an isolated process in public preview

https://techcommunity.microsoft.com/t5/apps-on-azure-blog/announcing-the-net-7-support-for-azure-functions-in-an-isolated/ba-p/3574316

Azure Functions のプロセス分離モデルで .NET 7 のサポートがパブリックプレビューとなった。

Release 6.0.419 (Service Release 3) · dotnet/maui

https://github.com/dotnet/maui/releases/tag/6.0.419

.NET MAUI 6.0.419 (Service Release 3) がリリースされた。

このリリースはサービスリリースとなり、主に細かい不具合の修正が行われている。

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

【オンライン】.NET 6 移行祭り! C# Tokyo イベント - connpass

https://csharp-tokyo.connpass.com/event/254206/

.NET 6 への移行をテーマにしたコミュニティーオンラインイベントが8月26日に行われる。

.NET 7からサポートポリシーが変更になる予定 - つばろぐ

https://tsubalog.hatenablog.com/entry/2022/07/16/221307

.NET 7 で変更となるサポートポリシーについて解説している記事。

大きく Current の呼び名の変更、サポートライフサイクルの流れの整理が行われるとのこと。

Production postmortem: Out of memory on a clear sky

https://ayende.com/blog/197635-A/production-postmortem-out-of-memory-on-a-clear-sky?Key=43188033-6bfd-4682-9fc8-1bef248f2caf

Linux のシステム上に余裕があるにもかかわらずスレッド生成時に OutOfMemoryException が発生した原因を調査したという記事。

Linux にはいくつかの設定がありその上限に達していたため失敗していたとのこと。

High performance .NET: Building a Redis Clone–Analysis II

https://ayende.com/blog/197665-C/high-performance-net-building-a-redis-clone-analysis-ii?Key=be0be55d-1092-47ce-a951-950ce65243cd

Redis クローンを作りながらパフォーマンスについてみていくというシリーズ。

記事ではコマンドの実行に関して、ネットワークの I/O を含む処理の負荷のかかっている部分を探っている。

Benchmarking: Slow is fast, fast is slow

https://ayende.com/blog/197857-C/benchmarking-slow-is-fast-fast-is-slow

Corax と Lucene でのインデックス速度の比較をした際に Corax のほうが遅く、Corax と Lucene 両方から呼び出される共通コードの実行時間に差が出ていたのは何故かについて。

これは RavenDB ではデータを読み出す前にページを検証する仕組みがあり、Corax が速く検証を行い、あとから Lucene が来るので Lucene はその操作をする必要がないため見かけ上速くなっていた。

正しい結果を見るにはそれぞれ別々のシナリオに分けてコールドブートで実行しようという話。

Top 50 Reasons to use Uno Platform – 2022 edition

https://platform.uno/blog/top-50-reasons-to-use-uno-platform-2022-edition/

Uno Platform を使う50の理由 (2022年版)

Building Ambie 3.0 — the best white noise app on Windows

https://kid-jenius.medium.com/building-ambie-3-0-the-best-white-noise-app-on-windows-d899fb02adf2

Ambie というホワイトノイズを流す Windows アプリの新しいバージョンを開発した際の話。

新しいデザインにする初期プランが始まり、プロトタイプ、見直し、結果といったことが書かれている。

MAUI ハンドラーのマップ変更を試したメモ

https://zenn.dev/muak/articles/8e17cabbc1ae35

.NET MAUI のコントロールのハンドラーマッピングをカスタマイズする方法を試してみるという記事。

How to Profile .NET Code Using the dotMemory Plugin in Rider | The .NET Tools Blog

https://blog.jetbrains.com/dotnet/2022/07/18/how-to-profile-net-code-using-the-dotmemory-plugin-in-rider/

Rider で dotMemory プラグインを使用して .NET アプリケーションのプロファイルを行う方法についての記事。

Add Authentication to .NET MAUI Apps with Auth0

https://auth0.com/blog/add-authentication-to-dotnet-maui-apps-with-auth0/

.NET MAUI アプリケーションに Auth0 による認証を組み込む方法についての記事。

Discord UI in .NET MAUI — Tylah Kapa

https://kapa.dev/blog/discord-ui-in-net-maui

.NET MAUI で Discord の UI のようなモックアップを作ってみるという記事。

Combining Lottie Animations with Gestures and Scrolling

https://www.cayas.de/blog/lottie-animations-gestures-and-scrolling

MAUI 上で表示した Lottie アニメーションをジェスチャーやスクロールといったインタラクションと連動させる方法についての記事。

Setting up CI for your .NET MAUI Windows app in Azure DevOps - Andreas Nesheim

https://www.andreasnesheim.no/setting-up-ci-for-your-net-maui-windows-app-in-azure-devops/

.NET MAUI の Windows アプリケーションを Azure DevOps でビルド、署名する方法についての記事。

Visual Basic の 4 つの Option について - 鷲ノ巣

https://tech.blog.aerie.jp/entry/2022/07/15/153127

Visual Basic .NET の言語で使用されている設定の4つの Option (Option Compare, Option Explicit, Option Strict, Option Infer) について解説している記事。

Exploring the new output caching middleware

https://dev.to/this-is-learning/exploring-the-new-output-caching-middleware-4no1

.NET 7 の ASP.NET Core で導入される出力キャッシュのミドルウェアについての記事。どのようにして利用できるかといったことを紹介している。

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

byme8/ZeroQL

https://github.com/byme8/ZeroQL

GraphQL のクエリー呼び出しコードを解析して事前にコードを生成することでパフォーマンスを向上させたクライアントライブラリー。

サイト、ドキュメントなど

ツイート

ZoomIt に簡易的なスクリーンレコーディング機能が実装されたという話。(ウィンドウや範囲指定などはなくズームされている画面か全画面となる)

SignalR on .NET 6 - the Complete Guide という電子書籍 (E-book) が7月末まで無料という話。