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....

August 25, 2019 · 14 min · Joao Grassi
Barbed wire on a green background

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

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. In the end, I wanted an implementation that encapsulated the need for developers to worry about getting access tokens prior to communicating with the API....

March 6, 2019 · 13 min · Joao Grassi

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....

August 17, 2018 · 6 min · Joao Grassi

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 ....

April 29, 2018 · 5 min · Joao Grassi
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....

February 19, 2018 · 4 min · Joao Grassi