tooling

Manage multiple Node.js versions

pnpm env

If you are working on various projects, you have likely encountered situations where you need to have multiple versions of Node.js installed on your computer.

Read more...

Perform Dynamic Execution of an npm Package

pnpm dlx

Sometimes, all you want to do is grab an npm package and execute a command with it, without having to install it (whether globally or as a dependency).

Read more...

Week 46, 2022 - Tips I learned this week

Some tips about .NET, pnpm, and Azure DevOps.

This week, I installed .NET 7 on my laptop and I used Windows Package Manager for that:

Read more...

Discussion about API clients

What should you consider when choosing an API client?

This article is a discussion about API clients. Without being a comparison between the best API clients, this article talks about the pros and cons of some popular tools to send HTTP requests to an API. The goal is not to elect the best one, but rather to try to answer the following question: what we should consider when choosing an API client, and what are the challenges when using one?

Read more...

How did I automate the setup of my developer Windows laptop?

A git repository, 2 packages managers, a little bit of scripting, and here is my new environment ready

In this article, I talked about my latest project: how I built a script to automate the setup of my developer machine using Boxstarter, Chocolatey, Winget, and PowerShell... and how I learned a few things along the way.

Read more...

Keeping secrets secure when using API Clients

Playing with Azure CLI and Nushell to generate a secret environment file to send HTTP requests

When using some API Clients (like REST Client or the HTTP Client of JetBrains' IDEs), environment variables are stored in JSON files that can contain secrets. To share these files within a team, developers tend to send them by email or by messaging applications, which is not very convenient nor secure 🔐. I thought it would be a good idea to store these secrets directly in an Azure Key Vault and automate the generation of a JSON file containing the secrets using Azure CLI and Nushell.

Read more...

Week 20, 2022 - Tips I learned this week

The "this" in TypeScript, a must-have tool for Durable Functions, and a new git alias.

Once again, I found myself forgetting that this can lose context in JavaScript/TypeScript which results in exceptions because this is undefined. This is probably obvious for most developers but this is not a case I come across often so it's better to write it down so that I have something to refer to next time.

Read more...

Week 19, 2022 - Tips I learned this week

Git commands in vscode, a nice tool for Vue developers and a must-have Visual Studio extension.

If you have read my git cheat sheet, you know that I am a big fan of the GitLens vscode extension. I have been using it for a while now but just discovered recently that there is a Git Command Palette that gives access to most common Git commands.

Read more...

Week 5, 2022 - Tips I learned this week

Tooling around .NET, Azure DevOps and VS Code.

This week we talk about code analysis in .NET, cron expressions with crontab guru, diagrams in Azure DevOps wikis, and sending HTTP requests in VS Code.

Read more...

Week 3, 2022 - Tips I learned this week

Tooling around .NET, Azure DevOps, and VS Code.

.NET 6 introduced a new way to build a .NET application using the new WebApplication and WebApplicationBuilder classes. One thing I like about it is how configuration is handled. Instead of using the ConfigureAppConfiguration method to add a new configuration source, you can directly use the Configuration property on the WebApplicationBuilder instance. You can see an example of this change on this screenshot of the ASP.NET Core documentation:

Read more...