2023-05-27: Microsoft Build 2023, How NPOI succeeds, ILSpy 8.0

Published on Saturday, 27 May 2023

トピックス

Microsoft Build 2023

Microsoft Build 2023 での .NET 関連のセッションのレコーディング。

How NPOI succeeds

https://tonyqus.medium.com/how-npoi-succeeds-67ceb7333eb

NPOI の開発者による NPOI の開発での目標、成功、学びといったことについて。

Release ILSpy 8.0 · icsharpcode/ILSpy

https://github.com/icsharpcode/ILSpy/releases/tag/v8.0

ILSpy 8.0 がリリースされた。

C# 10 や 11 といった新しい言語の機能に対応したほか、様々な改善と修正が含まれている。

またこのリリースで .NET Framework から .NET 6 に移行し、実行には .NET 6 のランタイムが必要となる。

Bringing the power of AI to Windows 11 – unlocking a new era of productivity for customers and developers with Windows Copilot and Dev Home

https://blogs.windows.com/windowsdeveloper/2023/05/23/bringing-the-power-of-ai-to-windows-11-unlocking-a-new-era-of-productivity-for-customers-and-developers-with-windows-copilot-and-dev-home/

Microsoft Build 2023 で公開された Windows 11 に導入予定のコンシューマー向け、開発者向けアップデートの発表。

  • Windows Copilot
  • Bing Chat プラグインサポート
  • プラットフォーム横断する AI 開発の Hybrid AI ループと新しいシリコンのサポート
  • Dev Home
    • ダッシュボード
  • Dev Drive
  • 新しい WinGet による構成
  • Windows Terminal の GitHub Copilot X 連携
  • Windows の改善
    • タスクバーの改善: グループ化解除、日付の非表示、タスクの終了
    • エクスプローラーでの tar, 7-Zip, RAR, gz などのサポート
    • Windows Terminal のタブの別ウィンドウ化
  • Windows on Arm
    • Visual Studio での .NET MAUI、Linux C++ 開発サポート
    • LLVM v12, Node.js, WiX でのサポート
    • Qt, CMake, Bazel, OpenSSL, OpenBLAS, Python といったミドルウェアのサポート
    • Unity Player のサポート
    • GCC, Flutter, PyTorch, GIMP のサポートがまもなく
    • その他サポートされているアプリケーションの紹介
  • Microsoft Store のアップデート
    • Microsoft Store AI Hub
    • Microsoft Store AI 生成キーワード
    • AI 生成レビューサマリー
    • Microsoft Store Ads の地域の拡大
    • アプリのバックアップと復元

Dev Drive and Copy-on-Write for Developer Performance - Engineering@Microsoft

https://devblogs.microsoft.com/engineering-at-microsoft/dev-drive-and-copy-on-write-for-developer-performance/

Dev Drive と Copy-on-Write による開発パフォーマンスについての解説。

Dev Drive は開発者向けのファイルの取り扱い、パフォーマンスの向上を目的としたドライブ。Dev Drive はWindows 11 23H2 で導入予定となっており現在 Windows Insider Build ですでに利用可能となっている。

Dev Drive はファイルシステムとして ReFS を採用することで、Copy-on-Write といった機能の恩恵を受けることができ、記事では内部テストでの効果、CoW の解説、 NuGet パッケージの紹介や、パッケージディレクトリの移動方法といったことを説明している。

Dev Drive for Performance Improvements in Visual Studio and Dev Boxes! - Visual Studio Blog

https://devblogs.microsoft.com/visualstudio/devdrive/

Windows に導入予定の Dev Drive によって Visual Studio と Dev Box でのパフォーマンスの向上についての解説。

Dev Drive を使用することでパフォーマンスが平均25%程度向上するとのこと。

Rider 2023.2 EAP 2: Hot Reload for MAUI, Reworked Build Tool Window, Improvements for Source Generators, and More | The .NET Tools Blog

https://blog.jetbrains.com/dotnet/2023/05/22/rider-2023-2-eap-2/

Rider 2023.2 EAP 2 がリリースされた。

  • C# のアップデート
  • ビルドツールウィンドウの刷新
  • MAUI の XAML ホットリロード
  • New UI でのウィンドウの色付け
  • Source Generator の改善
  • Rider の Feature Trainer (機能の紹介)
  • 設定同期プラグイン
  • その他改善と不具合の修正

Visual Studio 2022 version 17.6.2 - Visual Studio 2022 Release Notes

https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes#17.6.2

Visual Studio 2022 version 17.6.2 がリリースされた。

このバージョンではいくつかの不具合が修正されている。

Release v1.4-experimental1 · microsoft/WindowsAppSDK

https://github.com/microsoft/WindowsAppSDK/releases/tag/v1.4-exp1

Windows App SDK v1.4-experimental1 がリリースされた。

このバージョンではいくつかの不具合の修正と試験的な API の追加や変更が含まれている。

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

The API Verifier: A New Era for ReSharper Plugins | The .NET Tools Blog

https://blog.jetbrains.com/dotnet/2023/05/26/the-api-verifier/

ReSharper に組み込まれた、インストール時にプラグインの API を検証して互換性を確認する仕組みについて。

【C#】C# の async/await は実際にどうやって動いているか。 - ねののお庭。

https://blog.neno.dev/entry/2023/05/27/152855

C# での async/await が実際にどのように展開され、実行されているのかを詳しく解説している。

Introducing Auth0 Templates for .NET

https://auth0.com/blog/introducing-auth0-templates-for-dotnet/

.NET 向けの Auth0 を使用したテンプレートがリリースされた。

ASP.NET Core と Blazor で Auth0 を利用するテンプレートが提供されている。

Turbocharge your Visual Studio experience with Microsoft Dev Box - Visual Studio Blog

https://devblogs.microsoft.com/visualstudio/turbocharge-your-visual-studio-experience-with-microsoft-dev-box/

Dev Box での Visual Studio の体験の向上について。

Dev Box にサインインしたアカウントでの Visual Studio の自動サインインや Git Credentials Manager の改善予定、Azure Marketplace Image の改善など。

Making authenticated cross-origin requests with ASP.NET Core Identity

https://andrewlock.net/making-authenticated-cross-origin-requests-with-aspnetcore-identity/

ASP.NET Core Identity を使用して、クロスオリジンな認証リクエストを可能にする実装について。

Good (Blazor) Components are... ?

https://jonhilton.net/good-blazor-components/

良い Blazor コンポーネントを作ることについて。

可能な限り小さくする、再利用できるようにする、ビジネスロジックを別コンポーネントにするといったことを紹介している。

Visual Studio Code snippet to make URLs relative

https://blog.ploeh.dk/2023/05/23/visual-studio-code-snippet-to-make-urls-relative/

Visual Studio Code のスニペットを使用して範囲選択した URL を相対パスに書き換える方法の紹介。

How to improve memory allocation when creating HttpContent

https://hashnode.devindran.com/how-to-improve-memory-allocation-when-creating-httpcontent

HttpContent を作る際のメモリーアロケーションを削減するための方法を紹介。

記事では CommunityToolkit.HighPerformance の ArrayPoolBufferWriter と ReadOnlyMemoryContent を使用した方法、RecyclableMemoryStream を使用した方法を紹介している。

Refactor your .NET HTTP Clients to Typed HTTP Clients

https://timdeschryver.dev/blog/refactor-your-net-http-clients-to-typed-http-clients#refactor-to-ihttpclientfactory

HttpClient を使用した HTTP クライアントをリファクタリングして型のあるクライアントを作っていくことについて。

.NET の 3 日間 ~3 コミュニティ合同イベント~

Fukuoka.NET(ふくてん)、.NETラボ、C# Tokyo の3コミュニティーの合同の .NET イベント。

The Journey to Secure the Software Supply Chain at Microsoft - Engineering@Microsoft

https://devblogs.microsoft.com/engineering-at-microsoft/the-journey-to-secure-the-software-supply-chain-at-microsoft/

Microsoft におけるソフトウェアサプライチェーンのセキュリティの取り組みについての紹介。

Queryable PostgreSQL arrays in EF Core 8.0

https://www.roji.org/queryable-pg-arrays-in-ef8

Entity Framework Core 8.0 で導入されるクエリー可能なコレクションプリミティブの PostgreSQL でのサポートについての解説。

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

ツイート

空の System.Linq クラスを含むコードを含めておくことで LINQ 禁止にするというテクニックがあったという話。

.NET 8 では Microsoft.Extensions に Resilience、Compliance、Telemetry が追加されるという話。