Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

SDK .NET

How to build and extend the.NET SDK in sdks/dotnet.

Free on GitHub

In detail

How to build and extend the .NET SDK in sdks/dotnet. Read this before changing the client, the socket, the agent, dispatch or the router, before regenerating the models, or before reaching for a NuGet package.

Safety check

  • Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: sdk-dotnet
description: How to build and extend the .NET SDK in sdks/dotnet. Read this before changing the client, the socket, the agent, dispatch or the router, before regenerating the models, or before reaching for a NuGet package.
---

# .NET SDK conventions

The per-language half of [sdk](../sdk/SKILL.md). It records the decisions
[`sdks/dotnet`](../../../sdks/dotnet) already follows, so a change lands consistently rather
than re-litigating them.

Assume .NET 10 (the LTS), C# 14, `net10.0`, nullable reference types on, warnings as errors,
central package management (`Directory.Packages.props`). Server side only.

## Toolchain: Docker, never the host

Nothing is installed on the host. Every command runs in `mcr.microsoft.com/dotnet/sdk:10.0`
with the repo mounted and the NuGet cache in the `va-nuget` volume:

```bash
D="docker run --rm -v /path/to/Vision-Agents:/repo -v va-nuget:/root/.nuget -w /repo/sdks/dotnet mcr.microsoft.com/dotnet/sdk:10.0"
$D dotnet build GetStream.VisionAgents.slnx
$D dotnet test --project tests/GetStream.VisionAgents.Tests
$D dotnet run --project tools/Generate              # regenerate the models
$D dotnet run --project tools/Generate -- --check   # what CI runs
docker run ... -e VISION_AGENTS_LIVE_URL=http://host.docker.internal:8091 ... \
  dotnet test --project tests/GetStream.VisionAgents.Tests -- --filter-class GetStream.VisionAgents.Tests.LiveTests
```

Build output (`bin/`, `obj/`, `TestResults/`) is ignored by `sdks/dotnet/.gitignore`, nowhere
else.

## Naming

Stream's .NET packages are `getstream-net` (the current generated server SDK, namespace
`GetStream`), `stream-chat-net` and `stream-feed-net`. The package id is the placeholder
**`getstream-calypso`**, like the JS `@stream-io/calypso`, until the public name is chosen; the
namespace stays **`GetStream.VisionAgents`**, with the generated DTOs under
`GetStream.VisionAgents.Models`.

...

From GetStream's repository, Apache-2.0 licence.

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added