你的位置: 码友网首页 / 资讯源列表 / C# 9 records as strongly-typed ids - Part 2: ASP.NET Core route and query parameters

关于[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.

原文地址: https://thomaslevesque.com/2020/11/23/csharp-9-records-as-strongly-typed-ids-part-2-aspnet-core-route-and-query-parameters/

收录时间: 2020-11-24 浏览量: 994 分类: ASP.NET Core

| 0 收藏 | 0