---
title: "Discussion on \"Modeling: contracts, DTOs, entities, value objects, and the best practices in .NET core\" | Hashnode"
description: "Discussion on \"Modeling: contracts, DTOs, entities, value objects, and the best practices in .NET core\". Modeling: contracts, DTOs, entities, value objects\nContracts (API surface)\n\nPurpose: What your API promises to clients (request/response models).\nShape: Prefer immutable record types with init-only pr"
url: "https://hashnode.com/posts/modeling-contracts-dtos-entities-value-objects-and-the-best-practices-in-net-core/6a3e62af47c159112a75beb6"
---

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

Discussion

# [Modeling: contracts, DTOs, entities, value objects, and the best practices in .NET core](https://nova-globen.hashnode.dev/modeling-contracts-dtos-entities-value-objects-and-the-best-practices-in-net-core?utm_source=hashnode&utm_medium=feed)

Modeling: contracts, DTOs, entities, value objects Contracts (API surface) Purpose: What your API promises to clients (request/response models). Shape: Prefer immutable record types with init-only pr

Jun 26 · 8 min read · nova-globen.hashnode.dev  
Read the article

-   [#modeling](https://hashnode.com/tag/modeling)
-   [#contracts](https://hashnode.com/tag/contracts)
-   [#dtos](https://hashnode.com/tag/dtos)
-   [#entities](https://hashnode.com/tag/entities)

## Written by

[Hossein Esmati](https://hashnode.com/@desmati)

@desmati · Stockholm, Sweden

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
