A converter changes a value from one type to another. During Razor Pages model binding, request values arrive as strings, and the model binder converts them to primitive .NET types or custom types supported by TryParse or TypeConverter. section 16.2.1
Binding a number
A handler can accept an integer parameter such as number, then calculate number * number. The incoming route value is textual, but model binding converts it to int before the handler runs. section 16.2.1



