Quantcast
Channel: Web API
Viewing all articles
Browse latest Browse all 4850

Web api model binding. Can you access request stream or body of request in model binder ?

$
0
0
Hi,
I am new to web api and was exploring ModelBinding. I have simple query:
Should you read read body I.e. request content in bindmodel method of custom binder? Or U should consider implementing formatter for getting request body ? Which is appropriate?

Viewing all articles
Browse latest Browse all 4850

Latest Images

Trending Articles



Latest Images

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