Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Created Unassigned: WebApi model binding fails when Property inherits from Dictionary [1087]

$
0
0
When I submit the webpage data to the ApiController the binding will not bind the MyDictionary<string, string> ExtraData property. If I change the property to Dictionary<string, string> ExtraData property then Api controller will bind correctly. However this is not an option because the MyDictionary class has additional functionality that I need. I have four buttons on the webpage for submitting data to the apicontroller. The red button fails to load the MyDictionary ExtraData property. The 3 green buttons load MyDictionary and Dictionary property ok.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>