Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Supabase 5 min read How-to mediumAdept

Getting started with the Supabase .NET SDK

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.

Related posts

  • supabase-js v2

    Supabase mediumAdept

    supabase-js v2 brings incremental quality-of-life changes over v1. Types are now generated from the database via the CLI and set once on the client. signIn() is split into signInWithPassword() and signInWithOtp(), server-side auth moves to auth.admin, and the auth library is now async to fix a multi-tab token refresh race condition that logged users out. insert/update/upsert no longer return data unless select() is appended, which avoids surprise failures under Row Level Security. Constructor config is scoped per sub-library, each sub-library gets typed errors, Edge Function invocations auto-detect content type, and a new channel() API replaces from().on() for realtime and Postgres change subscriptions. v1 gets security and maintenance patches for three months.

  • The Vibe Coder's Guide to Supabase Environments

    Supabase mediumAdept

    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. Changes flow one way: local → dev → prod. Every migration is proven with `supabase db reset`, and GitHub Actions runs `supabase db push` automatically on merges to develop and main. The guide also covers enabling Row Level Security on every table, keeping service role keys out of NEXT_PUBLIC_ variables, nightly backups plus Point in Time Recovery with monthly restore drills, and wiring Vercel preview and production environments to the matching database.

  • Supabase Flutter SDK 1.0 Developer Preview

    Supabase mediumAdept

    Supabase Flutter SDK 1.0 enters developer preview with a focus on developer experience. Auth state persistence and deep link handling now happen automatically on initialization, replacing the removed SupabaseAuthState and SupabaseAuthRequiredState classes. Errors are now thrown instead of returned, since Dart lacks destructuring, and `.execute()` is deprecated so queries resolve directly to data. Deep links now work on macOS and Windows through app_links, Multiplayer realtime support is planned for the stable release, and a new Supabase Auth UI package provides prebuilt email, magic link and social login widgets.

  • What's new in the ClickHouse .NET Driver: the road from 1.0 to 1.3

    ClickHouse mediumAdept

    ClickHouse's .NET driver versions 1.1 through 1.3 rework the insert, read and parameter paths. POCO registration replaces hand-built object[] rows for both inserts and typed QueryAsync<T> reads, with eager validation, precompiled accessors, attribute-based column mapping and JSON column support. Three optional extension points (IParameterTypeResolver, IParameterFormatter, IReadValueConverter) let callers control type inference, wire formatting and read-side conversion, and add no overhead when unused. The releases also add multidimensional arrays, ValueTuples and server-side Identifier parameters, plus a breaking fix that sends UTC/Local DateTime parameters as DateTime('UTC') so values are no longer shifted by the server's session time zone.

  • ClickHouse.Driver 1.0.0: The Official .NET Client Hits Stable

    ClickHouse mediumAdept

    ClickHouse.Driver 1.0.0 is the first stable release of the official .NET client for ClickHouse, committing to a semver-stable public API. It introduces a thread-safe, singleton-friendly ClickHouseClient that replaces most ADO.NET usage and the deprecated ClickHouseBulkCopy, and adds parameter type extraction from SQL, JWT/roles/custom headers, POCO serialization to JSON columns, mid-stream exception detection and QBit vector support. Breaking changes matter for upgrades: .NET Framework/Standard support is dropped, timezone-less DateTime columns now return Kind=Unspecified, and JSON writes default to string mode parsed server-side, which can change inferred types (e.g. Int32 to Int64).

The quest for software engineering knowledge.

Look:
Layout: