.NET周報【10月第2期 2022-10-17】( 二 )


使用Playwright對Blazor App 進行端到端測試 [Part 1]https://medium.com/younited-tech-blog/end-to-end-test-a-blazor-app-with-playwright-part-1-224e8894c0f3
介紹如何使用Playwright對Blazor App 進行端到端測試 。
List 在 C#: 實現和功能https://pvs-studio.com/en/blog/posts/csharp/0995/
.NET 的 List<T> 的實現和功能
[.NET 6] AWS SSM Parameter Store在Generic Host使用https://zenn.dev/shimat/articles/affbb2ece0ace8
了解Generic Host應用程序如何(如 ASP.NET 核心)使用 AWS 系統管理器參數存儲中的值 。
Entity Framework Core 7: 強類型ID與自動增量列一起使用https://david-masters.medium.com/entity-framework-core-7-strongly-typed-ids-together-with-auto-increment-columns-fd9715e331f3
有關在Entity Framework Core 7中對相應的自動增量列使用強類型的 ID 的文章 。
Blazor 生命周期事件: 簡化版https://betterprogramming.pub/blazor-life-cycle-events-oversimplified-4b8e1bd5fa4b
文章介紹了 Blazor 的生命周期事件 。
在Docker中開發ASP.NET核心應用程序-實時重新編譯https://tymisko.hashnode.dev/developing-aspnet-core-apps-in-docker-live-recompilation
有關在 Docker 中開發 ASP.NET Core 應用程序的文章 。
演示如何裝載本地源代碼并在容器中生成和運行它 。
[ASP.NET Core 6] 在模型綁定中使用記錄時的注意事項https://zenn.dev/shimat/articles/ef69b034cd0499
文章總結了在.NET 6中ASP.NET Core中模型綁定record類型時應注意的屬性(FromForm , JsonPropertyName等) 。
在AWS Lambda上優化.NET的經驗之談https://dev.to/lambdasharp/lessons-learned-on-optimizing-net-on-aws-lambda-2n5m
使用AWS Lambda運行.NET應用程序的優化要點總結 。
Stripe支付網關在ASP .NET Core Web API中的實現https://juldhais.net/stripe-payment-gateway-implementation-in-asp-net-core-web-api-359ad44e2b47
關于如何在ASP.NET Core Web API中使用Stripe支付網關API的總結 。
公開演講及PPTVictor Nicollet - ILPack:將程序集保存到磁盤 (Dotnetos Conference 2022) - YouTubehttps://www.youtube.com/watch?v=t_kBLD5D3_4
關于ILPack的介紹 , 這是一個用于在.NET Core及以上版本中動態存儲程序集的庫 。
Kevin Gosse - 使用NativeAOT將C#推到新的領域 (Dotnetos Conference 2022) - YouTubehttps://www.youtube.com/watch?v=eE0AbO5_XSw
介紹在.NET中用NativeAOT創建本地庫做的許多有趣的事情(如.NET分析器、LLDB擴展、.NET中的GC) 。
Krzysztof Stolarz - 通往.NET 6的道路:希望和絕望的遷移故事 (Dotnetos Conference 2022) - YouTubehttps://www.youtube.com/watch?v=ttsowlY55KM
關于一個具有高負荷實時性的服務器應用程序遷移的案例研究的介紹 。
圖書、開源庫、工具等chrisnas/Win-pprof: Windows .pprof viewerhttps://github.com/chrisnas/Win-pprof
用于查看.pprof文件的Windows應用 。

如果您必須查看.prof文件,https://t.co/LktSgqheaP可以幫助:-dotnet pprof:CLI轉儲.prof文件-win pprof:GUI導航到.prof;關注采樣、值、標簽和調用堆棧我';我共享工具I';我每天都用它來查看我們的個人資料pic.twitter.com/FPlpRFsCtn
—Christophe Nasarre(@chnasarre)2022年10月11日

.NET周報【10月第2期 2022-10-17】

文章插圖
網站、文件等 。推特
下面是分層編譯在.NET中的大致工作原理 ?,F在猜猜我為什么向調用計數存根添加了兩條額外的指令(大小回歸?。┎⒃趙eb應用程序中h獲得到這些好處? 提示:所有對B()的調用都命中同一內存位置,以減少B()調用計數器pic.twitter.com/iCIpyF8OMw
—Egor Bogatov(@EgorBo)2022年10月11日

.NET周報【10月第2期 2022-10-17】

文章插圖
結論:關于.NET分層編譯工作原理的粗略圖示,以及為什么要增加這兩個額外的調用,對Web應用程序有什么好處 。這似乎是為了減少在不同線程中執行同一方法時的緩存抖動 , 即從不同內核(或NUMA)訪問同一內存位置 。
深入研究JIT: implement tail merging by AndyAyersMS · Pull Request #77103 · dotnet/runtimehttps://github.com/dotnet/runtime/pull/77103
版權原文版權:mayuki
原文鏈接:https://github.com/mayuki/WeekRef.NET/blob/master/input/2022/2022-10-17.md
翻譯版權:InCerry
翻譯鏈接:https://github.com/InCerryGit/WeekRef.NET/blob/master/input_zh-CN/2022/2022-10-17.md

推薦閱讀