C# 9 records as strongly-typed ids - Part 2: ASP.NET Core route and query parameters

added by DotNetKicks
11/23/2020 2:09:29 PM

400 Views

Last time, I explained how easy it is to use C# 9 record types as strongly-typed ids: public record ProductId(int Value); But unfortunately, we're not quite done yet: there are a few issues to fix before our strongly-typed ids are really usable.


0 comments