Configuration ‐ Service Module ‐ Database - ChrisMavrommatis/Binacle.Net GitHub Wiki

The Service Module requires a storage solution to save user data.

📋 Supported Databases

  • Azure Storage (Azure Tables)

🛠️ Configuration

The database is configured via the ConnectionStrings.json file.

Default configuration:

{
  "ConnectionStrings": {
    "AzureStorage": ""
  }
}

[!Warning] Ensure only one database provider is configured at a time.

🔗 For more details on how to configure connection strings, refer to the Connection String Fallbacks section.


🏢 Azure Storage (Azure Tables)

To use Azure Storage, you must first create an Azure Storage account. The Service Module specifically interacts with Azure Tables and will automatically create a table named users.

[!Warning] If a table with this name already exists, ensure there are no conflicts, or consider using a different storage account.

[!Note] The Service Module only interacts with Azure Tables—it does not use other storage account features such as Blobs, Queues, or Files.

A typical Azure Storage connection string looks like this:

DefaultEndpointsProtocol=https;AccountName=your_account_name;AccountKey=your_account_key;TableEndpoint=https://your_account_name.table.core.windows.net/;