.NET

Having Fun With IT Event Calendars

Playing with AngleSharp

In this post, we will discuss how to write a small .NET program that retrieves events from an IT event calendar and submits them to another one using AngleSharp.

Read more...

Using dependency injection with Azure .NET SDK

Register your Azure clients the proper way

I love how the Azure SDKs have evolved over the years. In the past, there was no consistency between the various Azure SDKs. However, that's not longer the case (at least for most Azure libraries), as they now adhere to the same principles and follow a set of well-defined guidelines.

Read more...

Playing with the .NET 8 Web API template

Enhanced weather forecast API

In this article, we will explore the latest C# 12 and .NET 8 features by applying them to the basic dotnet Web API template.

Read more...

Deploying to Azure from Azure DevOps without secrets

Azure DevOps Workload identity federation (OIDC) with Pulumi

If you are deploying your application to Azure from Azure Pipelines, you might want to leverage the ability to do so without using secrets thanks to Workload identity federation. In this article, I will demonstrate how to automate the configuration of your Azure DevOps project, with everything pre-configured to securely deploy applications to Azure.

Read more...

When Pulumi met Nuke: a .NET love story

Pushing an ASP.NET Core API to Azure using .NET from provisioning to deployment

Today is a great time to be a developer:

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

How to provision an Azure SQL Database with Active Directory authentication

Using Pulumi and its command provider to grant database permissions

In this article, we will talk about how to provision an Azure SQL Database with authentication restricted to Active Directory users/groups/applications. We will use Pulumi to do that.

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

Week 2, 2022 - Tips I learned this week

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

This is my first article of the series Tips I learned this week for 2022 🚀! And today we are going to see some tips about .NET, Azure, GitHub, and VS Code.

Read more...