You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspnetcore/mvc/models/model-binding.md
+16-7Lines changed: 16 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -378,16 +378,18 @@ For `Dictionary` targets, model binding looks for matches to *parameter_name* or
378
378
379
379
* selectedCourses["1050"]="Chemistry"
380
380
* selectedCourses["2000"]="Economics"
381
+
382
+
::: moniker-end
381
383
382
-
::: monikerrange="> aspnetcore-5.0"
384
+
::: monikerrange=">=aspnetcore-5.0"
383
385
384
386
## Constructor binding and record types
385
387
386
-
Modelbindingrequiresthatcomplextypeshaveaparameterlessconstructor. Both `System.Text.Json` and `Newtonsoft.Json` basedinputformatterssupportdeserializationofclassesthatdonothaveaparameterlessconstructor.
388
+
Modelbindingrequiresthatcomplextypeshaveaparameterlessconstructor. Both `System.Text.Json` and `Newtonsoft.Json` basedinputformatterssupportdeserializationofclassesthatdon'thaveaparameterlessconstructor.
0 commit comments