Using Azure Key Vault references with Azure Functions or App Service

TL;DR: If you are already familiar with Azure Key Vault, App Service/Functions and just want to know how to use the new Key Vault references feature in your app, you can just jump to this section: Create a system-assigned identity for our Function and follow from there. ASP.NET Core + Configuration By now, it’s not big news that ASP.NET Core is the future of web development with .NET. Of all the great additions that ASP....

Barbed wire on a green background

Encapsulating getting access tokens from IdentityServer with a typed HttpClient and MessageHandler

Update 18. Dec 2021: The repo on GitHub has been updated to .NET 6. I also “containerized” all the apps so it’s easier to run them. Make sure to check it out! httpclient-token-identityserver Recently, I had to interact with an external API which is protected by JWT Bearer Tokens. For this, I had to get an access_token first and then set it to each request. But, this can get quite tedious very soon even if you just do it a few times....

Syncing database data with PowerShell and SQL Data Compare

The database team at my current job had successfully integrated the databases into source control using Redgate SQL Source Control. Developers now have a local instance of the databases linked to Source Control and for them to add or change things it’s a breeze. The “adding databases into source control” statement is comprised of basically adding all the objects to source control. E.g. Tables, Views, Procedures and so on. Apart from adding database objects, there were also a couple of Tables identified as “Enum” tables....

Microsoft <3 Linux

Setting up Windows Subsystem for Linux with zsh + oh-my-zsh + ConEmu

The era of .NET developers being constrained on using only Windows as a platform is gone. (At least for ASP.NET). That might be very cool to some, but also scary for others. Fear of change is true. Nevertheless, it’s definitely time (if not yet) to get out of the comfort zone and get your feet wet. Being able to work with .NET on Linux/Mac is one of the points that makes me agree 100% with Nick Craver that ....

Post image featuring env-guard logo

Launching Env-Guard: No more mistakes in production!

It has been almost two months now since I uploaded my first Chrome extension to the Chrome Store. And now, I finally have a Blog where I can officially talk about it with the world! TL;DR I have built a Chrome Extension to help developers avoid making mistakes while dealing with “Production Like” instances of their apps. Click here to see the links The problem My friends and I work in a Web application that is mainly an internal administration tool....