Versioning Web API

Click for: original source

More and more organizations today face a dynamic and changing environment. This article reads about versioning in general and versioning Web API using multiple versioning strategies in detail. By Blog of Pi.

Handling changes in software systems is not an easy task and it is more challenging particularly in loosely coupled distributed systems, such as APIs or Microservices.

The article is split into:

  • Challenges – Evolving API
  • Routing methods
  • Versioning Strategies
    • Query string
    • URL Path
    • Custom Request Header
    • Accept Header
  • Deprecating a Version
  • API Explorer Options

This article tried to provide a summary of the very diverse and difficult problem of evolving a Web API. It discussed about the challenges, solution, versioning strategies and an implementation example with ASP.NET Web API. The full implementation of this post can be found in Github. Well done!

[Read More]

Tags apis programming web-development open-source