NexaBase.SDK 1.0.0

dotnet add package NexaBase.SDK --version 1.0.0
                    
NuGet\Install-Package NexaBase.SDK -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NexaBase.SDK" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NexaBase.SDK" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="NexaBase.SDK" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NexaBase.SDK --version 1.0.0
                    
#r "nuget: NexaBase.SDK, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package NexaBase.SDK@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NexaBase.SDK&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=NexaBase.SDK&version=1.0.0
                    
Install as a Cake Tool

NexaBase .NET SDK

.NET NuGet License

Official .NET SDK for NexaBase - A powerful Backend as a Service platform.

✨ Features

  • 🔐 Authentication - API Key, Email/Password, OAuth
  • 📦 Collections & Documents - Full CRUD operations
  • 🔍 Query Builder - Fluent, chainable query syntax
  • ☁️ Cloud Functions - Invoke serverless functions
  • 📁 Storage - File management
  • 🪝 Webhooks - Manage webhooks programmatically
  • ⚡ Async/Await - Modern async patterns throughout
  • 🎯 Type-Safe - Full C# type safety
  • 📖 XML Documentation - IntelliSense support

📦 Installation

Install via NuGet Package Manager:

dotnet add package NexaBase.SDK

Or via Package Manager Console:

Install-Package NexaBase.SDK

🚀 Quick Start

Basic Setup

using NexaBase.SDK;

var config = new NexaBaseConfig("https://your-tenant.nexabase.app")
{
    ApiKey = "your-api-key"
};

using var nexabase = new NexaBaseClient(config);

Working with Documents

// Create a document
var user = new Dictionary<string, object>
{
    ["name"] = "John Doe",
    ["email"] = "john@example.com",
    ["role"] = "developer"
};

var created = await nexabase.Documents.CreateAsync("users", user);

// Read a document
var doc = await nexabase.Documents.GetAsync("users", created.Id);

// Update a document
var updates = new Dictionary<string, object> { ["role"] = "senior developer" };
var updated = await nexabase.Documents.UpdateAsync("users", created.Id, updates);

// Delete a document
await nexabase.Documents.DeleteAsync("users", created.Id);

Fluent Query Builder

var results = await nexabase
    .From("users")
    .Select("id", "name", "email")
    .Where("role", "==", "developer")
    .Limit(10)
    .GetAsync();

Authentication

// Sign in
var auth = await nexabase.Auth.SignInAsync("user@example.com", "password");
Console.WriteLine($"Token: {auth.AccessToken}");

// Get current user
var currentUser = await nexabase.Auth.GetCurrentUserAsync();

Cloud Functions

var result = await nexabase.Functions.InvokeAsync<Dictionary<string, object>>(
    "myFunction",
    new Dictionary<string, object>
    {
        ["param1"] = "value1"
    }
);

📖 Documentation

Full API documentation is available at https://fabricadealgoritmos.site

🔧 Building from Source

git clone https://github.com/fmirpe/nexabase-sdk.git
cd nexabase-sdk/dotnet
dotnet build

📦 Publishing to NuGet

dotnet pack -c Release
dotnet nuget push bin/Release/NexaBase.SDK.1.0.0.nupkg --api-key oy2loz7yqqjchiqrfc3aieqck6qdhd6ufmafhfmxznhs74 --source https://api.nuget.org/v3/index.json

🤝 Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

📄 License

MIT License - see LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 149 2/19/2026