From the course: Advanced ASP.NET Web API 2.2

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Why API versioning?

Why API versioning?

From the course: Advanced ASP.NET Web API 2.2

Start my 1-month free trial

Why API versioning?

- [Instructor] As your number of customer increases, you'll be able to get more feedback regarding your app. Some clients might think that some features are redundant, and some others might have other suggestions. In any case, what's important is that the requirements will change with time, which means that versioning of Web API will be necessarily required so that the requirement changes will not affect the existing clients. So we use Web API versioning to improve the API but without breaking the existing clients. Some cases when versioning is necessary are for example when you want to change the format of the response data, or when you want to change the response time. Another case will be when you want to remove any part of the API. There are different versioning methods like route versioning, query string versioning, version header, accept header versioning and media type versioning. But during this chapter we are…

Contents