---
title: "Gilles TOURREAU (@gillestourreau) | Hashnode"
description: "A .NET/Azure developer and architect since so many years... Read the latest articles by Gilles TOURREAU on Hashnode."
url: "https://hashnode.com/@gillestourreau"
---

@gillestourreau

# Gilles TOURREAU

@gillestourreau · Courbevoie, FR · Joined December 2023

A .NET/Azure developer and architect since so many years...

[Website](https://gilles.tourreau.fr/)

### [Discover PosInformatique.Foundations 1.0.0: A Comprehensive Overview](https://gilles.tourreau.fr/announcing-posinformatique-foundations-100-small-practical-net-building-blocks?utm_source=hashnode&utm_medium=feed)

A small and practical .NET building blocks

6 min read · [gilles.tourreau.fr](https://gilles.tourreau.fr/announcing-posinformatique-foundations-100-small-practical-net-building-blocks?utm_source=hashnode&utm_medium=feed)

[Nov 20, 2025](https://hashnode.com/posts/announcing-posinformatique-foundations-100-small-practical-net-building-blocks/691ef59a6282868dfa2bd299)

### [Simplifying Data Conversion: A Testable Approach for Entity Models and DTOs](https://gilles.tourreau.fr/simplifying-data-conversion-a-testable-approach-for-entity-models-and-dtos?utm_source=hashnode&utm_medium=feed)

In many applications, converting data from one format to another is a common task. For instance, you might need to convert a business entity object into JSON or vice versa. Many developers use extension methods like ToJson() or ToModel() for this con...

5 min read · [gilles.tourreau.fr](https://gilles.tourreau.fr/simplifying-data-conversion-a-testable-approach-for-entity-models-and-dtos?utm_source=hashnode&utm_medium=feed)

[Aug 20, 2024](https://hashnode.com/posts/simplifying-data-conversion-a-testable-approach-for-entity-models-and-dtos/66c489478e20812befd8c58d)

### [Change the ClaimsIdentity.AuthenticationType in ASP.NET Core with multiple Entra ID schemes.](https://gilles.tourreau.fr/change-the-claims-identity-authentication-type-in-aspnet-core-with-multiple-entra-id-schemes?utm_source=hashnode&utm_medium=feed)

Introduction When building modern web applications, security is always a top priority. In ASP.NET Core, authentication is a key part of ensuring that only authorized users can access specific parts of your application. You may often need to support m...

3 min read · [gilles.tourreau.fr](https://gilles.tourreau.fr/change-the-claims-identity-authentication-type-in-aspnet-core-with-multiple-entra-id-schemes?utm_source=hashnode&utm_medium=feed)

[Aug 16, 2024](https://hashnode.com/posts/change-the-claims-identity-authentication-type-in-aspnet-core-with-multiple-entra-id-schemes/66bf31c529ea4f25a98793fb)

### [Strengthening Moq based unit tests with PosInformatique.Moq.Analyzers](https://gilles.tourreau.fr/strengthening-moq-based-unit-tests-with-posinformatiquemoqanalyzers?utm_source=hashnode&utm_medium=feed)

As a passionate advocate for robust unit testing and code quality, I've invested heavily in leveraging the Moq library within my .NET projects. To ensure reliability and catch potential errors early, I developed a .NET analyzer tool specifically tail...

3 min read · [gilles.tourreau.fr](https://gilles.tourreau.fr/strengthening-moq-based-unit-tests-with-posinformatiquemoqanalyzers?utm_source=hashnode&utm_medium=feed)

[Dec 5, 2023](https://hashnode.com/posts/strengthening-moq-based-unit-tests-with-posinformatiquemoqanalyzers/656f88d89508143ec7d91064)

### [Detect ongoing .NET exceptions](https://gilles.tourreau.fr/detect-ongoing-net-exceptions?utm_source=hashnode&utm_medium=feed)

Sometimes it can be useful to detect if an exception is ongoing. For instance, in a Dispose() method, it's valuable to ascertain if an exception is already in progress to avoid throwing a new exception and losing the original one. Problem encountered...

3 min read · [gilles.tourreau.fr](https://gilles.tourreau.fr/detect-ongoing-net-exceptions?utm_source=hashnode&utm_medium=feed)

[Dec 4, 2023](https://hashnode.com/posts/detect-ongoing-net-exceptions/656de46c61b85466308cb215)
