CaptainOath.DataStore 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package CaptainOath.DataStore --version 1.0.0
                    
NuGet\Install-Package CaptainOath.DataStore -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="CaptainOath.DataStore" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CaptainOath.DataStore" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="CaptainOath.DataStore" />
                    
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 CaptainOath.DataStore --version 1.0.0
                    
#r "nuget: CaptainOath.DataStore, 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 CaptainOath.DataStore@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=CaptainOath.DataStore&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=CaptainOath.DataStore&version=1.0.0
                    
Install as a Cake Tool

Captain.Shared Table Storage Repository

This nuget contains a .NET 8 class library repository application to connect to Azure Table Storage using managed identity.

Getting Started

This is a nuget for data access. It provides a streamlined approach for integrating Azure Table Storage operations into .NET applications. It leverages Azure's managed identity for secure and simplified access, and offers a generic repository pattern for CRUD operations on Table Storage tables.

Overview

- Create a table in the storage account
- Insert an entity into the table
- Insert or replace an entity into the table (Upsert)
- Get an entity from the table by partition key and row key
- Update an entity in the table
- Delete an entity from the table by partition key and row key
- Delete a table from the storage account
- Get entities from the table by query

Installation dotnet add package CaptainOath.DataStore

Register Service services.AddTableStorageClient("accountEndPointUrl");

Using the Interface `public class MyCosmosDbService { private readonly ITableStorageRepository<TableEntity> _repository;

    public MyTableStorageService(ITableStorageRepository<TableEntity> repository)
    {
        _repository = repository;
    }

    public async Task CreateMyEntityAsync(string tableName)
    {
         await _repository.CreateTableAsync(tableName);
    }

    public async Task InsertMyEntityAsync(string tableName, TableEntity entity)
    {
         await _repository.InsertTableEntityAsync(tableName, entity);
    }
 }
`
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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
2.0.6 226 5/16/2025
2.0.5 186 6/5/2024
2.0.4 140 6/3/2024
2.0.3 148 5/22/2024
2.0.2 151 5/22/2024
2.0.1 113 5/13/2024
2.0.0 135 5/8/2024
1.0.0 164 3/14/2024