Text version of the video
Slides
All ASP .NET Web API Text Articles and Slides
All ASP .NET Web API Videos
All Dot Net and SQL Server Tutorials in English
All Dot Net and SQL Server Tutorials in Arabic
In this video we will discuss versioning a Web API Service using vendor specific media types.
Instead of using the standard media types like application/xml or application/json, we want to use our custom media types.
In the media type, we also have the version of the service we want. Custom media types have vnd prefix. vnd indicates that it is a vendor specific media type. So from our CustomControllerSelector class we want to read the version number from the custom media type we have specified.
For the code used in the demo please refer to the following article