Summary
With that, you have learned that API versioning is essential at the beginning of API development to make it flexible for any future changes.
You have learned how to use API versioning strategies, namely URI path versioning, header versioning, and query string versioning. And the URI path is the most common among all the schemes. Part of API versioning is deprecating an API and integrating it with OpenAPI, which helps developers to see the details of all APIs in Swagger UI.
You have also learned the importance of logging in an application and which library to use in ASP.NET Core. You also now know what structured logging is and how to save it in a database so that you can easily query what you want to investigate in an application.
In the next chapter, we will add security to our ASP.NET Core application using JWT, or JSON web tokens.