Binding a custom object with an Asp.Net Core WebApi header
How to associate an object with a title. I use [FromHeader(Name = "Custom-Object")]
, but it seems to be only capable of linking strings and sting arrays. Do I need to write a custom binding or am I missing something? I wonder why fromheader can't bind a complex object like frombody?
+3
source to share
No one has answered this question yet
See similar questions:
or similar: