---
title: "Discussion on \"Simplifying Data Conversion: A Testable Approach for Entity Models and DTOs\" | Hashnode"
description: "Discussion on \"Simplifying Data Conversion: A Testable Approach for Entity Models and DTOs\". 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..."
url: "https://hashnode.com/posts/simplifying-data-conversion-a-testable-approach-for-entity-models-and-dtos/66c489478e20812befd8c58d"
---

[Feed](https://hashnode.com/feed) /

Discussion

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

Aug 20, 2024 · 5 min read · gilles.tourreau.fr  
Read the article

-   [#dto](https://hashnode.com/tag/dto)
-   [#aspnet-core](https://hashnode.com/tag/aspnet-core)
-   [#net](https://hashnode.com/tag/net)
-   [#unit-testing](https://hashnode.com/tag/unit-testing)
-   [#moq](https://hashnode.com/tag/moq)

## Written by

[Gilles TOURREAU](https://hashnode.com/@gillestourreau)

@gillestourreau · Courbevoie, FR

  
[View profile](https://hashnode.com/@gillestourreau)

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

I'm a French seasoned architect and developer specializing in Microsoft technologies such as .NET and Azure. As a freelance professional, I've lent my expertise to diverse sectors including Energy, Banking, Insurance, Software Publishing, Transportation, and Industry. With over 25 years of dedicated experience in Microsoft technologies, I've established three software publishing companies, initially on-premises and later transitioning to SaaS models. My journey has been driven by a passion for innovation and a commitment to delivering top-notch solutions in the ever-evolving tech landscape. Humorously attributing my baldness to solving countless tech puzzles. Passionate about travel, having worked extensively abroad in Indonesia, Hong Kong, Singapore, and Australia. Philippines holds my heart, magnetized by its heavenly beaches. My English might not be top-notch, but it’s enough to bicker with my Filipina partner! 😁

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
