---
title: "Getting started with the Supabase .NET SDK"
description: "Supabase .NET SDK v8.0.0 moves serialization from Newtonsoft.Json to System.Text.Json, adds injectable HttpClient with opt-in retry and backoff, and targets .NET Standard 2.1, which drops .NET Framework."
url: "https://swe.quest/articles/getting-started-with-the-supabase-net-sdk-25b04ace678d31c8"
canonical: "https://supabase.com/blog/getting-started-with-the-supabase-dotnet-sdk"
source: "Supabase"
published: "2026-10-21"
difficulty: "medium"
kind: "How-to"
reading_minutes: 5
tags: ["dotnet","databases","identity-auth"]
---

# Getting started with the Supabase .NET SDK

A post on [Supabase](https://swe.quest/sources/supabase.md), published 2026-10-21, 5 min read, How-to. Original: [https://supabase.com/blog/getting-started-with-the-supabase-dotnet-sdk](https://supabase.com/blog/getting-started-with-the-supabase-dotnet-sdk)

## Summary

Supabase .NET SDK v8.0.0 moves serialization from Newtonsoft.Json to System.Text.Json, adds injectable HttpClient with opt-in retry and backoff, and targets .NET Standard 2.1, which drops .NET Framework. A new Supabase.Extensions.DependencyInjection package registers the client as a scoped service via IHttpClientFactory, avoiding the socket exhaustion caused by creating an HttpClient per resolution. Walkthrough covers mapping tables to BaseModel classes, querying, inserting, updating and deleting, email/password auth with auto token refresh so Row Level Security applies, Storage uploads, and keeping secret/service keys server-side. Unlike Entity Framework there is no change tracker: each Update or Delete call is its own HTTP request.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [.NET](https://swe.quest/tags/dotnet.md) (Languages)
- [Databases](https://swe.quest/tags/databases.md) (Data & databases)
- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)

## Prerequisites

- C# and .NET ([easy posts on .NET](https://swe.quest/tags/dotnet.md?difficulty=easy))
- ASP.NET Core dependency injection ([easy posts on Application security](https://swe.quest/tags/appsec.md?difficulty=easy))

## Keywords

Supabase, Supabase .NET SDK, ASP.NET Core, IHttpClientFactory, System.Text.Json, PostgREST, Row Level Security

## Related posts

- [supabase-js v2](https://swe.quest/articles/supabase-js-v2-f87cba2e3b41f9e9.md): Supabase · 2022-08-16 · Medium · 5 min read · JavaScript, TypeScript, API design, Identity & auth, PostgreSQL
  supabase-js v2 brings incremental quality-of-life changes over v1.
- [The Vibe Coder's Guide to Supabase Environments](https://swe.quest/articles/the-vibe-coder-s-guide-to-supabase-environments-2ce71129a08af138.md): Supabase · 2025-08-17 · Medium · 10 min read · Schema migrations, CI/CD, Deployment, PostgreSQL, Identity & auth
  Separate Supabase projects for development and production, with all schema changes captured as timestamped SQL migrations in a Git-tracked supabase/ directory, keep a fast workflow from breaking live data.
- [Supabase Flutter SDK 1.0 Developer Preview](https://swe.quest/articles/supabase-flutter-sdk-1-0-developer-preview-9e19816587705422.md): Supabase · 2022-08-02 · Medium · 5 min read · Mobile, Identity & auth, API design
  Supabase Flutter SDK 1.0 enters developer preview with a focus on developer experience.
- [What's new in the ClickHouse .NET Driver: the road from 1.0 to 1.3](https://swe.quest/articles/what-s-new-in-the-clickhouse-net-driver-the-road-from-1-0-to-1-3-1a08f28aa123b341.md): ClickHouse · 2026-08-26 · Medium · 14 min read · .NET, Analytics & OLAP, API design, Databases
  ClickHouse's .NET driver versions 1.1 through 1.3 rework the insert, read and parameter paths.
- [ClickHouse.Driver 1.0.0: The Official .NET Client Hits Stable](https://swe.quest/articles/clickhouse-driver-1-0-0-the-official-net-client-hits-stable-0f7ef38e134a4666.md): ClickHouse · 2026-03-02 · Medium · 5 min read · .NET, Analytics & OLAP, Developer tools
  ClickHouse.Driver 1.0.0 is the first stable release of the official .NET client for ClickHouse, committing to a semver-stable public API.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
