DEV Community

Discussion on: REST API versioning with ASP.NET Core

Collapse
 
delossantosam profile image
delossantosam

That is a great post, in your opinion, what are the best approaches for versioning a REST API?

Collapse
 
99darshan profile image
99darshan

I think it depends on the nature and complexity of the REST API. In the articles, I've laid out the few approaches. For simpler APIs I'd go with either using path param approach or using the request headers.

Collapse
 
delossantosam profile image
delossantosam

Thanks for the answer :)