# SDK .NET

El SDK .NET de Dinaup es la familia de paquetes que necesitas para construir aplicaciones .NET sobre la plataforma. Cada paquete cubre un aspecto distinto y se puede usar de forma independiente.

## Paquetes

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Cliente Dinaup</strong></td><td>Conexión, sesiones, informes, archivos, anotaciones y WriteOperations contra la API de Dinaup.</td><td><a href="/pages/kWybavOD4nw3BqU8wt3i">/pages/kWybavOD4nw3BqU8wt3i</a></td></tr><tr><td><strong>Dinaup.Logs</strong></td><td>Logging estructurado con Serilog, niveles canónicos, sanitización de PII y envío a Loki/Console/File.</td><td><a href="/pages/UizRXmQcZb2yul8ml7pP">/pages/UizRXmQcZb2yul8ml7pP</a></td></tr><tr><td><strong>Dinaup.Validations</strong></td><td>Helpers de validación: NIF/CIF, IBAN, emails, formatos fiscales españoles.</td><td><a href="/pages/RymCBTcfQYUHxrFWrXuo">/pages/RymCBTcfQYUHxrFWrXuo</a></td></tr><tr><td><strong>Dinaup.Database</strong></td><td>Acceso a PostgreSQL con `PGClient`: lecturas tipadas, upsert, batch reading.</td><td><a href="/pages/WyCjVDi8u0SSwDytRdx4">/pages/WyCjVDi8u0SSwDytRdx4</a></td></tr></tbody></table>

{% hint style="info" %}
**`Dinaup.Database`** dejó de distribuirse como paquete independiente y forma parte del paquete principal `Dinaup`. Si arrancas un proyecto nuevo, basta con `dotnet add package Dinaup`.
{% endhint %}

## Instalación rápida

```bash
dotnet add package Dinaup
dotnet add package Demoup.MyDinaup
```

Para los paquetes auxiliares:

```bash
dotnet add package Dinaup.Logs
dotnet add package Dinaup.Validations
```

Continúa con la guía del [Cliente Dinaup](/desarrollo/sdk/cliente.md) para conectarte y empezar a operar.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.dinaup.com/desarrollo/sdk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
