i heard the term Content negotiation many times but do not what it is and what it does?
so some one please explain with example that what is Content negotiation and how it is used in MVC & WEB API. which version of MVC & Web API support it?
It’s supported in Web API, but not MVC. It allows you to specify the format in which data should be returned by setting a specific value in your Accept Header. there are hundreds of easy-to-understand articles on the topic just a Google away e.g.