[{"data":1,"prerenderedAt":236},["ShallowReactive",2],{"blog-setting-up-the-supabase-c-client-for-net-applications":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"tags":11,"cover":17,"body":18,"_type":230,"_id":231,"_source":232,"_file":233,"_stem":234,"_extension":235},"/blog/setting-up-the-supabase-c-client-for-net-applications","blog",false,"","Setting Up the Supabase C# Client for .NET Applications","A practical guide to using Supabase in ASP.NET Core, Console Apps, Desktop, Unity, and Mobile projects with C#","2026-10-22",[12,13,14,15,16],"dotnet","supabase","csharp","aspnetcore","unity",true,{"type":19,"children":20,"toc":224},"root",[21,30,36,42,72,78,207,213,218],{"type":22,"tag":23,"props":24,"children":26},"element","h2",{"id":25},"why-use-supabase-in-net-projects",[27],{"type":28,"value":29},"text","Why Use Supabase in .NET Projects?",{"type":22,"tag":31,"props":32,"children":33},"p",{},[34],{"type":28,"value":35},"Supabase offers a comprehensive backend solution with real-time databases, authentication, and storage. Its C# client allows seamless integration across various .NET platforms, enabling developers to manage backend services efficiently.",{"type":22,"tag":23,"props":37,"children":39},{"id":38},"supported-platforms",[40],{"type":28,"value":41},"Supported Platforms",{"type":22,"tag":43,"props":44,"children":45},"ul",{},[46,52,57,62,67],{"type":22,"tag":47,"props":48,"children":49},"li",{},[50],{"type":28,"value":51},"ASP.NET Core",{"type":22,"tag":47,"props":53,"children":54},{},[55],{"type":28,"value":56},"Console Applications",{"type":22,"tag":47,"props":58,"children":59},{},[60],{"type":28,"value":61},"Desktop Applications",{"type":22,"tag":47,"props":63,"children":64},{},[65],{"type":28,"value":66},"Unity Game Development",{"type":22,"tag":47,"props":68,"children":69},{},[70],{"type":28,"value":71},"Mobile Apps",{"type":22,"tag":23,"props":73,"children":75},{"id":74},"setting-up-the-supabase-c-client",[76],{"type":28,"value":77},"Setting Up the Supabase C# Client",{"type":22,"tag":79,"props":80,"children":81},"ol",{},[82,131,166,176],{"type":22,"tag":47,"props":83,"children":84},{},[85,91,93],{"type":22,"tag":86,"props":87,"children":88},"strong",{},[89],{"type":28,"value":90},"Install the Supabase Client",{"type":28,"value":92},"\nUse NuGet to add the Supabase client package to your project.",{"type":22,"tag":94,"props":95,"children":99},"pre",{"className":96,"code":97,"language":98,"meta":7,"style":7},"language-bash shiki shiki-themes github-dark","dotnet add package Supabase\n","bash",[100],{"type":22,"tag":101,"props":102,"children":103},"code",{"__ignoreMap":7},[104],{"type":22,"tag":105,"props":106,"children":109},"span",{"class":107,"line":108},"line",1,[110,115,121,126],{"type":22,"tag":105,"props":111,"children":113},{"style":112},"--shiki-default:#B392F0",[114],{"type":28,"value":12},{"type":22,"tag":105,"props":116,"children":118},{"style":117},"--shiki-default:#9ECBFF",[119],{"type":28,"value":120}," add",{"type":22,"tag":105,"props":122,"children":123},{"style":117},[124],{"type":28,"value":125}," package",{"type":22,"tag":105,"props":127,"children":128},{"style":117},[129],{"type":28,"value":130}," Supabase\n",{"type":22,"tag":47,"props":132,"children":133},{},[134,139,141],{"type":22,"tag":86,"props":135,"children":136},{},[137],{"type":28,"value":138},"Initialize the Client",{"type":28,"value":140},"\nInstantiate the Supabase client with your project's URL and API Key.",{"type":22,"tag":94,"props":142,"children":145},{"className":143,"code":144,"language":14,"meta":7,"style":7},"language-csharp shiki shiki-themes github-dark","var client = new Supabase.Client(\"https://your-project.supabase.co\", \"public-anon-key\");\nawait client.InitializeAsync();\n",[146],{"type":22,"tag":101,"props":147,"children":148},{"__ignoreMap":7},[149,157],{"type":22,"tag":105,"props":150,"children":151},{"class":107,"line":108},[152],{"type":22,"tag":105,"props":153,"children":154},{},[155],{"type":28,"value":156},"var client = new Supabase.Client(\"https://your-project.supabase.co\", \"public-anon-key\");\n",{"type":22,"tag":105,"props":158,"children":160},{"class":107,"line":159},2,[161],{"type":22,"tag":105,"props":162,"children":163},{},[164],{"type":28,"value":165},"await client.InitializeAsync();\n",{"type":22,"tag":47,"props":167,"children":168},{},[169,174],{"type":22,"tag":86,"props":170,"children":171},{},[172],{"type":28,"value":173},"Authentication and Database Usage",{"type":28,"value":175},"\nUtilize the client's authentication features and interact with your database through strong-typed queries.",{"type":22,"tag":47,"props":177,"children":178},{},[179,184],{"type":22,"tag":86,"props":180,"children":181},{},[182],{"type":28,"value":183},"Platform-Specific Notes",{"type":22,"tag":43,"props":185,"children":186},{},[187,197],{"type":22,"tag":47,"props":188,"children":189},{},[190,195],{"type":22,"tag":86,"props":191,"children":192},{},[193],{"type":28,"value":194},"Unity:",{"type":28,"value":196}," Ensure .NET Standard compatibility or use experimental support.",{"type":22,"tag":47,"props":198,"children":199},{},[200,205],{"type":22,"tag":86,"props":201,"children":202},{},[203],{"type":28,"value":204},"Mobile:",{"type":28,"value":206}," Integrate within Xamarin or MAUI projects with proper async patterns.",{"type":22,"tag":23,"props":208,"children":210},{"id":209},"conclusion",[211],{"type":28,"value":212},"Conclusion",{"type":22,"tag":31,"props":214,"children":215},{},[216],{"type":28,"value":217},"The Supabase C# client empowers .NET developers to build full-stack applications with minimal backend setup, across multiple platforms including web, desktop, mobile, and game development environments.",{"type":22,"tag":219,"props":220,"children":221},"style",{},[222],{"type":28,"value":223},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":7,"searchDepth":159,"depth":159,"links":225},[226,227,228,229],{"id":25,"depth":159,"text":29},{"id":38,"depth":159,"text":41},{"id":74,"depth":159,"text":77},{"id":209,"depth":159,"text":212},"markdown","content:blog:setting-up-the-supabase-c-client-for-net-applications.md","content","blog/setting-up-the-supabase-c-client-for-net-applications.md","blog/setting-up-the-supabase-c-client-for-net-applications","md",1792653525778]