mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 07:29:16 +00:00
feat(www): add .NET client library to features page (#51919)
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? - Adds a `Client Library - .NET` entry to `apps/www/data/features.tsx`, next to the JavaScript, Flutter, Swift, and Python entries - Adds a `CsharpIcon` to `apps/www/components/svg-icons.tsx`, reusing the C# icon from the docs navigation ## What is the current behavior? The features page has no entry for the .NET SDK, and `/features/client-library-dotnet` returns 404. ## What is the new behavior? - `/features/client-library-dotnet` describes the officially supported .NET SDK: key benefits, when to use it, and how to get started - The entry is marked General Availability and available on self-hosted, and links to the C# reference docs ## Additional context N/A Co-authored-by: Ana <ana1337x@users.noreply.github.com>
This commit is contained in:
1 parent
fa9594b213
commit
a2e41ea71b
2 files changed
+51
-1
No files matched your search
@@ -86,3 +86,21 @@ export const PythonIcon = (props: any) => (
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
|
||||
export const CsharpIcon = (props: any) => (
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 16 16"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
{...props}
|
||||
>
|
||||
<path
|
||||
fillRule="evenodd"
|
||||
clipRule="evenodd"
|
||||
d="m2.242 11.3.004-.003a1.191 1.191 0 0 1-.134-.57V5.27c0-.442.185-.784.57-1.005.444-.259 1.393-.804 2.33-1.343 1.019-.587 2.024-1.165 2.35-1.356.42-.247.826-.254 1.25-.01l2.37 1.364 2.336 1.345c.189.109.33.247.425.414.098.167.145.366.145.587V10.73c-.001.216-.048.407-.138.573a1.089 1.089 0 0 1-.432.428l-1.786 1.028c-.973.56-1.947 1.12-2.92 1.682-.388.228-.767.236-1.155.042a1.65 1.65 0 0 1-.103-.056c-.382-.227-1.702-.986-2.881-1.664-.747-.429-1.437-.826-1.799-1.036a1.137 1.137 0 0 1-.432-.428Zm7.452-2.351a1.95 1.95 0 0 1-1.698.994 1.94 1.94 0 0 1-1.69-.983A1.946 1.946 0 0 1 9.68 7.02l1.7-.98a3.91 3.91 0 1 0-3.385 5.866 3.913 3.913 0 0 0 3.4-1.974l-1.701-.983Zm2.151-1.88h-.388v.316h-.312v.388h.312v.468h-.312v.388h.312v.316h.388v-.316h.472v.316h.388v-.316h.316v-.388h-.316v-.468h.316v-.388h-.316V7.07h-.388v.316h-.472V7.07Zm0 1.172v-.468h.472v.468h-.472Z"
|
||||
fill="currentColor"
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
@@ -1,4 +1,4 @@
|
||||
import { FlutterIcon, JsIcon, PythonIcon, SwiftIcon } from '~/components/svg-icons'
|
||||
import { CsharpIcon, FlutterIcon, JsIcon, PythonIcon, SwiftIcon } from '~/components/svg-icons'
|
||||
import {
|
||||
Activity,
|
||||
BarChart,
|
||||
@@ -3135,6 +3135,38 @@ This feature is especially beneficial for Python developers looking to build rob
|
||||
availableOnSelfHosted: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
title: 'Client Library - .NET',
|
||||
subtitle: 'Add Auth, Database, Storage, and Realtime to your .NET app.',
|
||||
description: `
|
||||
Use the Supabase .NET SDK from C#, F#, or any other .NET language to sign in users, query Postgres, store files, and listen for database changes.
|
||||
|
||||
## Key benefits
|
||||
1. Official support: Supabase maintains the SDK in \`supabase/supabase-csharp\`, so Supabase triages its issues and ships its fixes.
|
||||
2. One version for every package: All Supabase .NET packages ship under one version number, so you always know which ones go together.
|
||||
3. ASP.NET Core ready: \`Supabase.Extensions.DependencyInjection\` runs every client on pooled \`HttpClient\`s, so heavy traffic doesn't use up your connections.
|
||||
4. Retries with backoff: Set \`RetryOptions\` on a client so the request retries after a brief network error instead of failing.
|
||||
5. Publishable and secret keys: Ship the publishable key in client apps and keep the secret key on your server, so a leaked app key can't bypass RLS.
|
||||
6. Web, desktop, mobile, and game apps: Every package targets \`netstandard2.1\`, so the same packages run in ASP.NET Core, MAUI, and Unity.
|
||||
|
||||
## When to use the .NET SDK
|
||||
- You build a .NET app and want Supabase Auth, Database, Storage, Realtime, or Edge Functions in it
|
||||
- You build web apps with ASP.NET Core, desktop and mobile apps with MAUI, or games with Unity
|
||||
- Your team only uses SDKs the vendor maintains
|
||||
|
||||
## Get started
|
||||
In the dashboard, click **Connect**, pick **.NET**, and choose ASP.NET Core & Blazor, Console / desktop, or Unity to get setup code. Or run \`dotnet add package Supabase\`. Read the [C# reference](https://supabase.com/docs/reference/csharp/introduction).
|
||||
`,
|
||||
icon: CsharpIcon,
|
||||
products: [ADDITIONAL_PRODUCTS.PLATFORM],
|
||||
heroImage: '',
|
||||
docsUrl: 'https://supabase.com/docs/reference/csharp/introduction',
|
||||
slug: 'client-library-dotnet',
|
||||
status: {
|
||||
stage: PRODUCT_STAGES.GA,
|
||||
availableOnSelfHosted: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
title: 'Cron',
|
||||
subtitle: 'Schedule recurring Jobs in Postgres.',
|
||||
|
||||
Reference in new issue
Block a user