Versioning in asp.net core web api

There has been lot of interesting and heated debate on how you should version your api's. In this article, we will mainly focus on query string based versioning, header based versioning and url based versioning.  Source code here After creating a asp.net core web api project, add Microsoft.AspNetCore.Mvc.Versioning from the nuget package Now, modify your …

Continue reading Versioning in asp.net core web api

Secret manager and Azure Key vault Part 1

Most of the Web app’s rely on secrets to perform security operation and those secrets includes api-keys, database connection string, encryption key etc. The disclosure of these secrets could lead to unauthorised access to the third party. For the above problem, Microsoft has come up with Azure Key Vault for the application on cloud. In …

Continue reading Secret manager and Azure Key vault Part 1

Azure App Service and Diagnostic logging using asp.net core

I have used the same example from the previous article to introduce diagnostic logging in Azure. I would recommend you to go through below article but not mandatory.  https://anuphosur.wordpress.com/2020/03/31/microservices-part-3/ Azure provides built-in support for diagnostic logs for the Azure App Service. We’ll also learn how to enable the diagnostic logs and to check using the …

Continue reading Azure App Service and Diagnostic logging using asp.net core