关于[C# 9 records as strongly-typed ids - Part 2: ASP.NET Core route and query parameters]的摘要:
Last time, I explained how easy it is to use C# 9 record types as strongly-typed ids. But unfortunately, we’re not quite done yet: there are a few issues to fix before our strongly-typed ids are really usable. For instance, ASP.NET Core doesn’t know how to handle them in route parameters or query string parameters. In this post, I’ll show how to address this issue.